Skip to content

Instantly share code, notes, and snippets.

@tomkerkhove
Last active September 5, 2023 13:29
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 tomkerkhove/9205200a9749a072250f966545510e78 to your computer and use it in GitHub Desktop.
Save tomkerkhove/9205200a9749a072250f966545510e78 to your computer and use it in GitHub Desktop.
{
"openapi": "3.0.1",
"info": {
"title": "Performance Testing API",
"version": "1.0"
},
"servers": [
{
"url": "http://apim-sandbox-cloud-native.azure-api.net/echo"
},
{
"url": "https://apim-sandbox-cloud-native.azure-api.net/echo"
}
],
"paths": {
"/plaintext": {
"get": {
"summary": "Get plain text response",
"description": "Get plain text response",
"operationId": "plaintext",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases."
}
}
}
},
"/json": {
"get": {
"summary": "Get JSON payload response",
"description": "Get JSON payload response",
"operationId": "json",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases."
}
}
}
},
"/echo": {
"get": {
"summary": "Echo response",
"description": "Echo response",
"operationId": "echo",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases."
}
}
}
},
"/jsonfile": {
"get": {
"summary": "Get JSON file",
"description": "Get JSON file",
"operationId": "jsonfile",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases."
}
}
}
}
},
"components": {
"securitySchemes": {
"apiKeyHeader": {
"type": "apiKey",
"name": "Ocp-Apim-Subscription-Key",
"in": "header"
},
"apiKeyQuery": {
"type": "apiKey",
"name": "subscription-key",
"in": "query"
}
}
},
"security": [
{
"apiKeyHeader": []
},
{
"apiKeyQuery": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment