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/validation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/go/pkg/mod/github.com/go-openapi/validate@v0.24.0/fixtures/validation/fixture-581-good.yaml
---
swagger: '2.0'
info:
  title: 'fixture for issue #581'
  version: '1.0'
  description: |
    This one just to set a minimum/maximum valid case for non regression.
    It exersises, for integers:
      - inline parameters
      - schema parameters
      - schema parameters through $ref
      - schema for response
      - schema object for response, with object and array
      - schema for response through $ref


produces:
  - application/json
paths:
  /fixture:
    get:
      operationId: op1
      parameters:
        - name: myid
          in: body
          schema:
            $ref: '#/definitions/myId'
      responses:
        200:
          description: 'response exercising integer boundaries'
          schema:
            $ref: '#/definitions/someIds'
        201:
          description: 'response exercising integer boundaries'
          schema:
            type: integer
            minimum: 0
            maximum: 100
            default: 0
        401:
          description: 'response exercising integer boundaries'
          schema:
            type: object
            properties:
              shortInt:
                type: integer
                minimum: 0
                maximum: 100
                default: 0
              shortIntList:
                type: array
                items:
                  type: integer
                  minimum: 0
                  maximum: 100
                  default: 0

definitions:
  myId:
    type: object
    properties:
      smallId:
        type: integer
        minimum: 0
        maximum: 12
        default: 10
        format: uint64
  someIds:
    type: object
    properties:
      smallId:
        type: integer
        minimum: 0
        maximum: 12
        default: 10
        format: uint64
      smallIdList:
        type: array
        items:
          type: integer
          minimum: 0
          maximum: 100
          default: 0

Al-HUWAITI Shell