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

Create PUT/PATCH/POST methods for OpenApi #573

Conversation

Yauhenikapl
Copy link
Contributor

Changes:

  • update OpenAPI generator;
  • add new flag for OpenAPI generation to commands;
  • update tests.

Changes:
- update OpenAPI generator;
- add new flag for OpenAPI generation to commands;
- update tests.
@Yauhenikapl Yauhenikapl requested a review from atextor May 10, 2024 12:17
@Yauhenikapl Yauhenikapl marked this pull request as ready for review May 14, 2024 15:05
Copy link
Contributor

@atextor atextor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the following changes are necessary in this PR:

  • PUT/POST/PATCH should be selectable separately. Sometimes it might make sense to have only a combination or subset of them.
  • There should be corresponding test(s) for SammCli also, to check if the command line switch works as expected
  • The test in the Maven Plugin should also have useful assertions, currently only the test case pom (generate-openapi-spec-json-pom-valid-aspect-model.xml) is adjusted, but not the test method(s)

@Yauhenikapl Yauhenikapl force-pushed the 451-create-put-patch-post-in-openaPI-generatio branch from 748db9c to 96137fb Compare May 21, 2024 11:00
@Yauhenikapl Yauhenikapl requested a review from atextor May 21, 2024 11:32
Copy link
Contributor

@atextor atextor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Yauhenikapl Yauhenikapl merged commit aba058d into eclipse-esmf:main May 21, 2024
3 checks passed
@Yauhenikapl Yauhenikapl deleted the 451-create-put-patch-post-in-openaPI-generatio branch May 21, 2024 12:40
Copy link

Release v2.8.0 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.

3 participants