Skip to content

Make generated OpenAPI request bodies required #732

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

Merged

Conversation

atextor
Copy link
Contributor

@atextor atextor commented Mar 27, 2025


Description

Request bodies in generated OpenAPI specs should be marked required, since
OpenAPI defaults to optional.

Fixes #707

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • [-] I have commented my code, particularly in hard-to-understand areas
  • [-] I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@atextor atextor merged commit f02b92d into eclipse-esmf:main Mar 27, 2025
4 checks passed
@atextor atextor deleted the 707-openapi-request-body-marked-optional branch March 27, 2025 11:27
Copy link

github-actions bot commented Apr 2, 2025

Release v2.10.2 addresses this.

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 this pull request may close these issues.

[BUG] Generated request body for PUT operations in OpenAPI are wrongly marked as optional
2 participants