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/more_circulars/ |
{
"swagger": "2.0",
"info": {
"title": "Item API",
"description": "Item API",
"version": "1.0.0"
},
"host": "item.api.local",
"basePath": "/v1",
"securityDefinitions": {
"key": {
"type": "apiKey",
"name": "x-item-token",
"in": "header"
}
},
"security": [
{
"key": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"responses": {
"itemResponse": {
"description": "Item",
"schema": {
"$ref": "item2.json#/item"
}
}
},
"paths": {
"/item": {
"get": {
"operationId": "GetItem",
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "item2.json#/item"
}
},
"default": {
"$ref": "#/responses/itemResponse"
}
}
}
}
}
}