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/1341/ |
swagger: '2.0'
info:
title: Title
description: some description
contact:
name: John Doe
url: https://www.acme.com/support
email: support@acme.com
version: "1.0.0"
paths:
/:
get:
responses:
200:
description: Example path
schema:
# $ref: '#/definitions/ExecuteValues'
type: string
default:
description: generic error
schema:
type: string
definitions:
ExecuteValues:
type: object
properties:
Value:
$ref: "#/definitions/ExecuteValue"
Array:
type: array
items:
$ref: "#/definitions/ExecuteValues"
example:
Array:
- Array:
- Value:
Value: value
ValueType: ExecuteValueString
- Value:
Value: true
ValueType: ExecuteValueBoolean
ExecuteValue:
type: object
discriminator: ValueType
required:
- ValueType
- Test
properties:
ValueType:
type: string
Test:
type: string