Files
nimbus/tests/Stubs/OpenApi/valid_openapi.json
Mazen Touati c015e62533 feat(routes): add support for processing OpenAPI specs (#50)
* feat: add support for processing OpenAPI specs

* refactor: apply rector
2026-01-29 01:56:57 +01:00

38 lines
1.2 KiB
JSON

{
"openapi": "3.0.0",
"info": {
"title": "Test API",
"version": "1.0.0"
},
"paths": {
"/api/users": {
"get": {
"summary": "List users",
"operationId": "listUsers",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}