Skip to content

Instantly share code, notes, and snippets.

@tomkerkhove
Last active July 15, 2025 11:21
Show Gist options
  • Select an option

  • Save tomkerkhove/9205200a9749a072250f966545510e78 to your computer and use it in GitHub Desktop.

Select an option

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://godzilla.performance.test.int-azure-api.net/"
},
{
"url": "https://godzilla.performance.test.int-azure-api.net/"
}
],
"paths": {
"/plaintext": {
"get": {
"summary": "Get plain text response",
"description": "Get plain text response",
"operationId": "plaintext-default",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases.",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/plaintext/{size}": {
"get": {
"summary": "Get plain text response for given size",
"description": "Get plain text response for given size",
"operationId": "plaintext-custom",
"parameters": [
{
"name": "size",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"enum": [
512,
131072,
1048576
]
}
}
],
"responses": {
"200": {
"description": "Returned in all cases.",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/json": {
"get": {
"summary": "Get JSON payload response",
"description": "Get JSON payload response",
"operationId": "json",
"parameters": [],
"responses": {
"200": {
"description": "Returned in all cases.",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/aoai/chat-completion": {
"post": {
"summary": "Simulate chat completion for Azure OpenAI",
"description": "Get simulated chat completion response from Azure OpenAI",
"operationId": "aoai-chat-completion",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"responses": {
"200": {
"description": "Returned in all cases.",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
}
},
"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