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

Additional style field in generated OpenAPI Yaml that fails validation #992

Open
ben-iron opened this issue Feb 24, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ben-iron
Copy link

After updating to the current version, the generated OpenAPI yaml includes a style: null field like so:

      - name: id
        schema:
          type: string
          format: uuid
        in: path
        description: the description
        required: true
        deprecated: false
        explode: true
        style: null

(see style: null in the last line)
This is not OpenAPI conform, where it has to be one of form, simple, spaceDelimited, etc. I can't figure out how to disable this.

@ben-iron ben-iron added the bug Something isn't working label Feb 24, 2025
@DDtKey
Copy link
Contributor

DDtKey commented Feb 26, 2025

This seems to be introduced by #940

I also observe linting failures after update:

error oas3-schema "style" property must be string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants