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

Generate swagger files from code #25

Open
4 tasks
Tracked by #44
upkarlidder opened this issue Sep 3, 2021 · 3 comments
Open
4 tasks
Tracked by #44

Generate swagger files from code #25

upkarlidder opened this issue Sep 3, 2021 · 3 comments

Comments

@upkarlidder
Copy link
Member

The current code is autogenerated from the swagger file. The team would like to switch this around so the swagger/OpenAPI spec is generated from the code. This is easier to manage for the team moving forward.

This guide examples how to generate openAPI spec from Java code in open liberty.

Next steps

  • create Java models and responses from the existing swagger file.
  • use the guide to add code to generate the swagger file from the Java code created in the step above.
  • compare the old swagger file with the new swagger file to ensure nothing was changed.
  • deploy the new project to the cloud.

FYI @joannhh @RickPoleshuck @sforsyth089

@yochanah this might affect the auth work you are doing. Have you already started that work? Do you want to wait till this is finished?

@yochanah
Copy link
Collaborator

yochanah commented Sep 6, 2021

I can investigate and keep my work ready. Once above changes are done, I will commit my changes.

@github-actions
Copy link

github-actions bot commented Oct 7, 2021

👋 Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

@sforsyth089
Copy link
Collaborator

Hi @yochanah are you still able to work on this item? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants