Files
swagger-ui/test/e2e-selenium/static/test-specs/features/allow-empty-value.openapi.yaml

65 lines
1.2 KiB
YAML

openapi: "3.0.4"
paths:
/regularParams:
get:
parameters:
- name: int
in: query
schema:
type: integer
- name: str
in: query
schema:
type: string
- name: num
in: query
schema:
type: number
- name: bool
in: query
schema:
type: boolean
- name: arr
in: query
schema:
type: array
items:
type: string
responses:
200:
description: ok
/emptyValueParams:
get:
parameters:
- name: int
in: query
schema:
type: integer
allowEmptyValue: true
- name: str
in: query
schema:
type: string
allowEmptyValue: true
- name: num
in: query
schema:
type: number
allowEmptyValue: true
- name: bool
in: query
schema:
type: boolean
allowEmptyValue: true
- name: arr
in: query
schema:
type: array
items:
type: string
allowEmptyValue: true
responses:
200:
description: ok