16-Generating Code - Swagger API to Java using CodeGen Plugin | Maven for Beginners | Code Journal

  Рет қаралды 20,983

Code Journal

Code Journal

Күн бұрын

Пікірлер
@CodeJournal
@CodeJournal 3 жыл бұрын
Here is the Article for the Video - www.thecodejournal.tech/2021/02/generating-code-using-maven-swagger-to-java/
@harshakeloth4606
@harshakeloth4606 Ай бұрын
Thanks for explaining in detail
@mathewroy771
@mathewroy771 3 жыл бұрын
Great article ! Was able to get this working in the first attempt. Thanks a lot
@CodeJournal
@CodeJournal 3 жыл бұрын
Thank you
@bastooopanooo2311
@bastooopanooo2311 3 жыл бұрын
Exactly what I needed.
@AxeTvCommunity
@AxeTvCommunity 2 жыл бұрын
thank you 🙏 for the complete playlist love it, please keep making playlists
@CodeJournal
@CodeJournal 2 жыл бұрын
I will try my best
@akaristravels3966
@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.
@tushargarg4123
@tushargarg4123 3 жыл бұрын
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
@CodeJournal
@CodeJournal 3 жыл бұрын
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.
@tushargarg4123
@tushargarg4123 3 жыл бұрын
@@CodeJournal Thank you so much.....more power to you and your channel
@amitkumar7566
@amitkumar7566 3 жыл бұрын
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?
@DayanandBirajdar
@DayanandBirajdar 3 жыл бұрын
How to do it for server stubs ?
@CodeJournal
@CodeJournal 3 жыл бұрын
Can you elaborate your use case?
@venkaiah8798
@venkaiah8798 3 жыл бұрын
thanks..can you please tell me how can i generate JSON from open api specification using maven plugin?
@CodeJournal
@CodeJournal 3 жыл бұрын
You mean Open API specification in Yaml to Open API specification in JSON?
@venkaiah8798
@venkaiah8798 3 жыл бұрын
@@CodeJournal no, what i mean using codegen is it possible to generate json scheme for only for components from yml file?
@harishpavant
@harishpavant 3 жыл бұрын
how to convert java code to yaml specification using swagger core?
@CodeJournal
@CodeJournal 3 жыл бұрын
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
@harishpavant
@harishpavant 3 жыл бұрын
@@CodeJournal Thank you very much. Appreciate it!
@ricardorqr
@ricardorqr 2 жыл бұрын
Are you able to run locally the generated Swagger UI? localhost:8080/swagger-ui/index.html
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Кратко про OpenAPI и Swagger
26:43
IT как Конструктор
Рет қаралды 61 М.
Api-First driven development - Using swagger code gen, OpenApi & Spring Boot
17:35
Mike Teaches Programming
Рет қаралды 37 М.
OpenAPI Specification ( Swagger ) Crash Course in Spring Boot
54:29
One O One Code
Рет қаралды 38 М.
How to add Swagger to Spring Boot - Brain Bytes
21:09
Java Brains
Рет қаралды 460 М.
Maven Tutorial - Crash Course
26:08
Marco Codes
Рет қаралды 192 М.
Spring boot 3 - OpenApi Documentation | Swagger UI
35:09
Bouali Ali
Рет қаралды 72 М.
REST API and OpenAPI: It’s Not an Either/Or Question
9:17
IBM Technology
Рет қаралды 223 М.
Customizing OpenAPI Generator Templates
23:34
Cloud-Native Development
Рет қаралды 16 М.
Why You NEED To Learn FastAPI | Hands On Project
21:15
Travis Media
Рет қаралды 172 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН