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/validate@v0.24.0/fixtures/validation/ |
{
"swagger": "2.0",
"info": {
"title": "Test",
"description": "Tests issue with examples and nested objects with items properties",
"version": "1.0"
},
"host": "FooBar",
"basePath": "/latest",
"schemes": [
"https"
],
"produces": [
"application/json"
],
"paths": {
"/foo/": {
"get": {
"description": "Tests issue with nested items object properties and examples",
"summary": "Tests issue with nested items object properties and examples",
"responses": {
"200": {
"description": "Example should match spec",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 255,
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
}
}
}
}
}
}
}
}
}
}
}
}
}