Al-HUWAITI Shell
Al-huwaiti


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/go/pkg/mod/github.com/go-openapi/validate@v0.24.0/fixtures/bugs/43/fixture-43-variants.yaml
swagger: '2.0'
info:
  title: Object
  version: 0.1.0

paths:
  /:
    get:
      parameters:
        - name: itemsparam
          in: body
          schema:
            type: array
            items:
              type: object
              required: [ items ]
              properties:
                items:
                  type: number
            example:
              - items: 123
              - items: 456
      responses:
        '200':
          description: Ok
          schema:
            type: object
            properties:
              a:
                type: string
              items:
                type: string
                default: "xyz"
                example: "123"
          examples:
            application/json:
              a: abc
              items: xyz
  # we verify that it is legal to name a property "type" or "properties"
  /type:
    get:
      parameters:
        - name: typeparam
          in: body
          schema:
            type: object
            properties:
              type:
                type: string
                example: z
              properties:
                type: number
                example: 1
            default: { "type": "abc", "properties": 123 }
            example: { "type": "abc", "properties": 123 }
      responses:
        '200':
          description: Ok
          schema:
            type: object
            properties:
              type:
                type: string
              properties:
                type: number
                default: 123
                example: 123
          examples:
            application/json:
              type: abc
              properties: 123

Al-HUWAITI Shell