Skip to content

Instantly share code, notes, and snippets.

View mihinduranasinghe's full-sized avatar
🎯
Focusing

Mihindu Ranasinghe mihinduranasinghe

🎯
Focusing
View GitHub Profile
@mihinduranasinghe
mihinduranasinghe / api.yaml
Last active January 24, 2021 07:47
Sample API definition for a APIManager Cloud API
id:
providerName: admin
apiName: SampleStore
version: 1.0.0
description: This is a sample server online store
type: HTTP
context: /SampleStore/1.0.0
contextTemplate: /SampleStore/{version}
availableTiers:
- name: Unlimited
@mihinduranasinghe
mihinduranasinghe / sample_store.postman_collection.json
Created November 24, 2020 06:05
Postman collection check for petstore API
{
"info": {
"_postman_id": "ea77bd33-13bb-4a5a-b185-7ddb65a623c2",
"name": "Sample Store",
"description": "This is a sample server online store",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "products",
@mihinduranasinghe
mihinduranasinghe / swagger.json
Last active January 23, 2021 06:11
API Manager Cloud swagger - petstore.json
openapi: 3.0.1
info:
title: Sample Store
description: 'This is a sample server online store'
version: 1.0.0
servers:
- url: http://www.mocky.io/v2/5e905118330000218b27d69f
paths:
/products:
get: