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

Spec v2 missing properties #366

Closed
10 of 11 tasks
danielvladco opened this issue Jun 9, 2021 · 2 comments · Fixed by #519
Closed
10 of 11 tasks

Spec v2 missing properties #366

danielvladco opened this issue Jun 9, 2021 · 2 comments · Fixed by #519

Comments

@danielvladco
Copy link

danielvladco commented Jun 9, 2021

Hi, thanks for the great library.

I noticed that some types are missing properties for swagger v2 spec. This are the missing properties that I observed:

openapi2.T

  • produces

openapi2.Operation

  • schemes

openapi2.Header (probably should take all the openapi2.Parameter properties similarly to openapi3)

  • format
  • maxLength
  • minLength
  • maxItems
  • minItems
  • minimum
  • maximum
  • pattern
  • items
@ilteoood
Copy link
Contributor

Produces has been inserted here:
#460

@fenollp
Copy link
Collaborator

fenollp commented Mar 30, 2022

Header part addressed in #483

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

Successfully merging a pull request may close this issue.

3 participants