Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created March 1, 2016 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/d57e8876b16cc0a7b669 to your computer and use it in GitHub Desktop.
Save justinyoo/d57e8876b16cc0a7b669 to your computer and use it in GitHub Desktop.
API Management Tips & Tricks
{
"swaggerVersion": "1.2",
"basePath": "https://localhost:44321/",
"resourcePath": "/",
"apis": [
{
"path": "/values",
"operations": [
{
"method": "GET",
"deprecated": false,
"nickname": "ValuesGet",
"parameters": [],
"responseMessages": [],
"$ref": "Responses.ValueResponseCollection"
}
]
},
{
"path": "/values/{id}",
"operations": [
{
"method": "GET",
"deprecated": false,
"nickname": "ValuesByIdGet",
"parameters": [
{
"name": "id",
"paramType": "path",
"required": true,
"allowMultiple": false,
"type": "integer",
"format": "int64"
}
],
"responseMessages": [],
"$ref": "Responses.ValueResponse"
}
]
}
],
"models": {
"Responses.ValueResponseCollection": {
"id": "Responses.ValueResponseCollection",
"required": [],
"properties": {
"results": {
"items": {
"$ref": "Responses.ValueResponse"
},
"type": "array"
}
},
"subTypes": []
},
"Responses.ValueResponse": {
"id": "Responses.ValueResponse",
"required": [],
"properties": {
"result": {
"type": "string"
}
},
"subTypes": []
}
},
"authorizations": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment