Here is the Article for the Video - www.thecodejournal.tech/2021/02/generating-code-using-maven-swagger-to-java/
@harshakeloth4606Ай бұрын
Thanks for explaining in detail
@mathewroy7713 жыл бұрын
Great article ! Was able to get this working in the first attempt. Thanks a lot
@CodeJournal3 жыл бұрын
Thank you
@bastooopanooo23113 жыл бұрын
Exactly what I needed.
@AxeTvCommunity2 жыл бұрын
thank you 🙏 for the complete playlist love it, please keep making playlists
@CodeJournal2 жыл бұрын
I will try my best
@akaristravels3966 Жыл бұрын
We've been trying to reach out for more than a month now without receiving any response. We have an OpenAPI document from an API, and we are interested in generating a REST API from it.
@tushargarg41233 жыл бұрын
Just loved you content...short and crisp.......can I know how can we keep a repository or collection of multiple such microservices.(similar to petstore) is there a way to keep them all recorded in one place.......any suggestions or idea for the same.....Thanks in advance
@CodeJournal3 жыл бұрын
Thank you. Regarding your question, the approach to collect and host all APIs for multiple microservices totally depends on how robust you want to built them and how your current infrastructure setup is. Without any context, you can have a simple API Management Application where you can manage APIs by providing the URLs for them. And then this application would go to the URL and fetch the specifications and show the UI. If you are in an organization where the deployments are centrally managed, you can deploy a small process on the base docker image, that looks for APIs on generic endpoints and if it finds it, then collects it centrally.
@tushargarg41233 жыл бұрын
@@CodeJournal Thank you so much.....more power to you and your channel
@amitkumar75663 жыл бұрын
I have few questions. 1. How can we generate model classes with lombok annotations? 2. My Api resources have security (jwt) mentioned in swagger yaml file. But i dont want auth folder. I want only model classes. How to achieve that?
@DayanandBirajdar3 жыл бұрын
How to do it for server stubs ?
@CodeJournal3 жыл бұрын
Can you elaborate your use case?
@venkaiah87983 жыл бұрын
thanks..can you please tell me how can i generate JSON from open api specification using maven plugin?
@CodeJournal3 жыл бұрын
You mean Open API specification in Yaml to Open API specification in JSON?
@venkaiah87983 жыл бұрын
@@CodeJournal no, what i mean using codegen is it possible to generate json scheme for only for components from yml file?
@harishpavant3 жыл бұрын
how to convert java code to yaml specification using swagger core?
@CodeJournal3 жыл бұрын
Here is detailed article that uses SpringFox library to generate the Swagger API for Spring Controllers - www.baeldung.com/swagger-2-documentation-for-spring-rest-api
@harishpavant3 жыл бұрын
@@CodeJournal Thank you very much. Appreciate it!
@ricardorqr2 жыл бұрын
Are you able to run locally the generated Swagger UI? localhost:8080/swagger-ui/index.html