Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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