Server : LiteSpeed System : Linux in-mum-web1949.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : u595547767 ( 595547767) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/go/pkg/mod/github.com/go-openapi/spec@v0.21.0/fixtures/bugs/102/ |
{
"swagger": "2.0",
"info": {
"description": "My API",
"version": "1.0.0",
"title": "my api",
"contact": {
"email": "me@myorg.com"
},
"license": {
"name": "my org"
}
},
"host": "127.0.0.1",
"basePath": "/",
"tags": [],
"schemes": [
"https"
],
"paths": {
"/api/v1/endpoint": {
"post": {
"summary": "my endpoint",
"description": "Accessible to . ",
"operationId": "ep1",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
],
"responses": {
"200": {
"description": "Operation successful",
"schema": {
"$ref": "#/definitions/Error"
}
}
},
"security": []
}
}
},
"definitions": {
"Error": {
"type": "object",
"properties": {
"errorCode": {
"type": "string",
"format": "string"
},
"errorMessage": {
"type": "string",
"format": "string"
},
"warning": {
"type": "string"
},
"child-errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
}
}
}
}
}