Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad interpretation of enum schemas #81

Open
yoyos opened this issue Jun 14, 2023 · 0 comments
Open

bad interpretation of enum schemas #81

yoyos opened this issue Jun 14, 2023 · 0 comments

Comments

@yoyos
Copy link

yoyos commented Jun 14, 2023

An openapi using this schema

schemas:
    CaptureMode:
      type: string
      enum:
        - idle
        - snapshot
        - freerun
        - calibration

is not interpreted correctly by the oatpp-swagger ui and it makes a bad API call without additional double quotes :

image

The same openapi spec renders doubles quotes correctly on https://editor.swagger.io:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant