diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2024-11-01/daniel.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2024-11-01/daniel.json new file mode 100644 index 000000000000..0c5e08b77432 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2024-11-01/daniel.json @@ -0,0 +1,94 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-04-01", + "title": "DanielTrivialAPI", + "description": "A trivial example API for testing purposes with /daniel path." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/daniel/hello": { + "get": { + "tags": [ + "Daniel" + ], + "operationId": "Daniel_Hello_Get", + "description": "Returns a friendly greeting message.", + "parameters": [ + { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription ID" + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "2024-01-01" + ] + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DanielHelloResponse" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ] + } + } + }, + "definitions": { + "DanielHelloResponse": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + "ErrorResponse": { + "type": "object", + "properties": { + "error": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ] + } + }, + "required": [ + "error" + ] + } + } +} \ No newline at end of file