Тесты: часть 1

This commit is contained in:
2025-10-28 09:58:44 +03:00
parent 21c7ddfd54
commit 6bffe6a9e1
21 changed files with 2843 additions and 3 deletions

67
tests/fixtures/edge-cases.json vendored Normal file
View File

@@ -0,0 +1,67 @@
{
"openapi": "3.0.0",
"info": {
"title": "Edge Cases API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.example.com"
}
],
"paths": {
"/test-unicode-метод": {
"get": {
"operationId": "TestController_unicodeМетод",
"summary": "Тест с Unicode символами",
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/test/special-chars/@{id}": {
"get": {
"operationId": "TestController_specialChars",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/test/very-long-endpoint-name-that-exceeds-normal-length-and-tests-edge-case": {
"get": {
"operationId": "TestController_veryLongEndpointNameThatExceedsNormalLengthAndTestsEdgeCase",
"responses": {
"200": {
"description": "OK"
}
}
}
}
},
"components": {
"schemas": {
"ВажныйТип": {
"type": "object",
"properties": {
"название": {
"type": "string"
}
}
}
}
}
}