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/bugs/43/ |
swagger: '2.0'
info:
title: fixture
description: reproduce fixture go-swagger/go-swagger#1456
version: "1.0.0"
paths:
/v1/collection:
post:
summary: Collection
tags:
- Collection
parameters:
- name: collection
in: body
required: true
schema:
$ref: '#/definitions/collection'
responses:
200:
description: success
schema:
type: string
definitions:
collection:
type: object
required:
- id
- title
- items
properties:
id:
type: string
description: The unique ID
title:
type: string
description: Title
minLength: 1
maxLength: 50
items:
type: array
description: Items
items:
type: string
example:
id: item1
title: Home
items:
- item2
- item3