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

[OAS 3.1.0] Operation no longer requires responses #585

Closed
Azquelt opened this issue Jan 19, 2024 · 2 comments · Fixed by #617
Closed

[OAS 3.1.0] Operation no longer requires responses #585

Azquelt opened this issue Jan 19, 2024 · 2 comments · Fixed by #617
Assignees
Labels
OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support

Comments

@Azquelt
Copy link
Member

Azquelt commented Jan 19, 2024

It's now valid for an Operation not to have a responses property.

This is primarily to allow people authoring OpenAPI documents to lay out the operations they need before specifying the responses to them, but we may want to:

  • check we don't say it's required in our Javadoc
  • add a test which creates a document which has an Operation without responses
@Azquelt Azquelt added the OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support label Jan 19, 2024
@Azquelt Azquelt added this to the MP OpenAPI 4.0 milestone Jan 19, 2024
@Azquelt
Copy link
Member Author

Azquelt commented May 13, 2024

I don't see anywhere that we document that responses is required, so I think we just need a new test. Could test via static file and OASModelReader.

@benjamin-confino
Copy link
Contributor

Please assign this one to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants