You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example :
- name: periodUnit
in: query
description: The requested rate period unit
required: true
type: string
enum:
- Y
- M
- D
- W
Swagger editor converts Y to 'Y' after saving the file :
- name: periodUnit
in: query
description: The requested rate period unit
required: true
type: string
enum:
- 'Y'
- M
- D
- W
The text was updated successfully, but these errors were encountered:
Some YAML parsers treat the strings y Y n N yes no on off (and some others) as boolean values. Adding quotes around Y enforces the string type and will help avoid parsing issues in other OpenAPI-related tools.
An example :
- name: periodUnit
in: query
description: The requested rate period unit
required: true
type: string
enum:
- Y
- M
- D
- W
Swagger editor converts Y to 'Y' after saving the file :
- name: periodUnit
in: query
description: The requested rate period unit
required: true
type: string
enum:
- 'Y'
- M
- D
- W
The text was updated successfully, but these errors were encountered: