You carried me on your back to get my first job. God bless you!
@arjundevrana33763 жыл бұрын
P8i8+ki
@arjundevrana33763 жыл бұрын
Jiii
@nagavadlapudi4 жыл бұрын
2:33 - Customizing swagger with, "DOCKET" configuration. 7:23 - Adding application metadata to swagger. 10:42 - Adding more details to API.
@cloud4java4 жыл бұрын
Thanks :)
@pragmatic_career_junaed_bn4 жыл бұрын
Awesoem, thanks
@abidmohammad46885 жыл бұрын
Hello Koushik ! I would like to take this opportunity to appreciate the informative videos which you have been doing. Yes, The Viewers of your tutorial series will owe a lot a for ever. You are far way more than my words can describe. I will be looking forward to your next tutorial uploads.I gained good knowledge with your style of training... Thanks,Abid.
@nicoapinedo4 жыл бұрын
Thanks Kaushik for such informative tutorial, in case someone is using this to document an API and, after creating the Docket, finds out that the child endpoints for inner API calls are missing (i.e. api/contact/{id}) just change the ant match in the Docket object to /api/**. Good Luck!
@DavidSoles5 жыл бұрын
The final minute of this video is key because that’s the exact same reason why I don’t use swagger in my projects. After some detailed information added to each class and methods you end with a bunch of annotations that makes your code unreadable. At this moment I use Spring Rest Docs (Ascii Doc) for documenting the API. With the last approach you get a win win scenario where the documentation is the direct result of making test unit cases. Amazing.
@cloud4java4 жыл бұрын
I felt the same about detailed info added to each class. It´s terrible.
@abhishekgowlikar2 жыл бұрын
Followed and completed the POC on Spring boot + Swagger, awesome explanation.Hat's off
@vakpookagbare40552 жыл бұрын
One of my best KZfaq Tutor ever!...Kudos!!!!!!!
@babukumar98695 жыл бұрын
Waiting for Spring Rest Docs!
@mostafahashemi90733 жыл бұрын
Me too . Please 🙏.
@track01234567893 жыл бұрын
Waiting !! me too sir
@koseavase4 жыл бұрын
Kaushik - a gem of a tutor
@kingomugen5 жыл бұрын
Thank you Kaushik for the video. Last two were amazing, as always. I personally have been to that "Annotation Hell" :D . However, I didn't know about REST Docs, so what I did was to write a custom Swagger processor (which Swagger provides) for the custom annotations I have created. so let's say my @ApiParam was very long and duplicated over the code (like for example to describe the Id field ), I would create another annotation let's say called @Id and put everything to it, then do the processing elsewhere. It is more readable, and less verbose. However, it requires extra manual processing (which is not a big deal, tho)
@shaswatdasgupta37765 жыл бұрын
Hi Kaushik, Thanks for the video. It was really helpful. Request you to create videos for micrometer with spring boot or how do we expose custom metrics using micrometer to prometheus or grafana dashboard. Thanks agin
@aksifar75 жыл бұрын
Hi Koushik! Thanks for the video. It will be great to have a video on swagger code gen (Open Api) as a part of swagger series. Looking forward for more informative videos from you. Thanks again.
@julienfadel16095 жыл бұрын
i am struggling to find one right now, did you end up finding a tutorial on swagger code gen ? For me to be able to generate the API code from a yaml API contract. Thanks :)
@ososaad5 жыл бұрын
Hi Kaushik, really thanks for your videos, I am following you since 2014 and you rock man !! (y) .. keep it up :)
@DougieMuringani5 жыл бұрын
Hi Kaushik, Thanx for the tutorial. May you kindly do the YAML based configuration for swagger. I heard about it but I'm having a hard time finding a good tutorial/good documentation on it. but I'm sure it will address the annotation hell problem you mentioned towards the end of your video
@nareshvangari38155 жыл бұрын
+1
@markshibley70854 жыл бұрын
Excellent explanation. Very well done.
@rajs74544 жыл бұрын
Hello Koushik. Your videos gives a clear understanding of the concepts. Thank you very much for your help to the java engineers community. You are simply awesome.
@ITSecurityLabs4 жыл бұрын
Do you have a video on authorization?
@SohailKhan-rm4wv4 жыл бұрын
please release spring rest docs as soon as possible sir.... and thanks for your help .. u have been an inspiration with the way u teach the quality of video and explanations
@anirudhgoutam64012 жыл бұрын
Amazing Content Sir
@sundargunasekaran78225 жыл бұрын
Can you explain how api key authentication to be used in spring mvc
@indracharanpatil23672 жыл бұрын
Your videos helped me alot. Thank you
@prakashbtw6785 жыл бұрын
Thanks for your video, you are one of favourite, if possible one video about type script new features and usage.
@ashwinkumar09uvce3 жыл бұрын
Very Informative and great precise explanation of concepts. Thank you !!
@sivaviswabrahmana59935 жыл бұрын
You can create API using YAML and generate Spring boot application out of API and it fulfills API first strategy
@lamhepreeti505 жыл бұрын
Pls make java for intermediate developers
@justlearn30495 жыл бұрын
Please use light background with little big font size.
@adarshverma33722 жыл бұрын
Thank you so much for the video.
@NaveenKumar-bn5ov5 жыл бұрын
Thanks a lot Kaushik! It would be great if you could put your code in any repository so that anyone can refer/download it. Thanks again!
@Dan-rd8dr3 жыл бұрын
/rest/** if you have api urls of type /rest/some/thing, because /rest* (one asterisk) works only for /rest/some
@ikramrana40663 жыл бұрын
Realy very helpfull tutorials!! Thanks !!
@ABCD-js3gb5 жыл бұрын
Thanks. Frequently, service providers should design and present the api documentation to consumers in advance before starting development. Can you please tell a best way to address it with the approach of swagger in-code you demonstrated or REST docs?
@Java.Brains5 жыл бұрын
Swagger kinda assumes that you have at least some methods on your controller in order to annotate. My recommendation would be to create method stubs that represent your API as per design and annotate them with Swagger annotations. You can then do development in parallel
@JosephRios5 жыл бұрын
We use Swagger quite a bit, and we take an API-first approach, like you are describing. Using swagger-codegen, you can develop your API first in OpenAPI spec YAML. Then feed it to swagger-codegen to generate code based on your API. This has many benefits for us, one of which you highlight in your question: we can share the documentation prior to writing any code to vet the API. This means you will have to configure swagger-codegen to produce what you want as opposed to the Docket thing described in the video... the configuration is a flat file used by swagger-codegen to use the libraries you want, naming schemes you need, etc.
@Java.Brains5 жыл бұрын
This was very informative. Thanks for your comment!
@prateekbangre89935 жыл бұрын
Thanks for awesome. Can you make a video how to configure swagger in jax-rs maven application and generate swagger-ui.html file. Because as of now no one uploaded any video/tutorial on it
@cloud4java4 жыл бұрын
@@JosephRios Great to know that! Tks for sharing!
@RajuPatelAvudari3 жыл бұрын
Excellent video with excellent content!!
@nilniluzen70133 жыл бұрын
Where you got "/api/*" that declare on paths(PathSelector.ant())
@idouxda2 жыл бұрын
We added it to our Microservices how do I make it work in Kubernetes? Any suggestions?
@showsandsports4 жыл бұрын
when configured i am still getting extra head,options,patch fields which are not necessary. How to remove them from swagger?
@adityasamant4 жыл бұрын
If you have given a @RequestMapping annotation with no arguments, you will need to change to specify the method type, so Swagger can understand the type of the http method. e.g. @RequestMapping(method = RequestMethod.GET, value="/users/{userId}")
@Ayush-Pro-Max-Ultra2 жыл бұрын
thanks a lot Koushik!
@techneis4 жыл бұрын
Can't thank you enough, Kaushik!
@draganpajic35113 жыл бұрын
Excellent!
@atmn_pawel3 жыл бұрын
in ant pattern there should be "/api/**", not "/api/*", i have faced the problem where swagger didn't see any of my endpoints because of one missing *
@nthanki79783 жыл бұрын
you solved my issue. Thanks @ATA Man
@einanchassid4 жыл бұрын
you are great teacher !
@akashkotabagi5 жыл бұрын
Hi Koushik! Thanks for the video. Can you please make a video on how we can have a common swagger documentation page for multiple micro services. In real world we are having a lot of micro services and we do not wish to maintain swagger doc for each micro service since its tough to share different swagger URLs to the clients.
@sandaruwanwijethilaka91164 жыл бұрын
Thank you. simple and understandable.
@Ajithkumarsekar964 жыл бұрын
Thanks for this wonderfull tutorial Kaushik. I have one question, what is the annotation to change address-book-resource?
@historinhasdivertidas57122 жыл бұрын
In 11:08 what make lin 27? on swagger open api3.0???? "provide an id to look up specific....."
@SaurabhGangamwar3 жыл бұрын
Thank you so much for the video. Waiting for Spring REST DOCS video. can we use spring rest docs without writing test cases?
@suryadutt67134 жыл бұрын
Thank you Kaushik for all the awesome videos. May I know what are the tools used to make the whiteboarding part of your videos
@nikolaimanek66294 жыл бұрын
Thank you so much! Very useful!
@youcode58665 жыл бұрын
Please can you make a tutorial about creating documentation of a rest api created with spring data-rest? And good video!
@stephyjacob12565 жыл бұрын
Hey Kaushik, I have request .. Can you make a detail video tutorial on Authentication and Authorisation using Springboot mvc ? please request from old subscriber.
@kotisamudrala3 жыл бұрын
Nice tutorial. I need to configure swagger in my spark web . I didn't find any tutorials . Appreciate any help
Not able to open swahger ui...it is showing unable to infer base url...
@lewispil3529 Жыл бұрын
great video thanks
@abhishek2009fly3 жыл бұрын
How to Enable Swagger in the multimodule application. But it's not showing documentation when adding configuration in separate config file
@elyu_vibes3 жыл бұрын
Hi! How can I group the endpoints? Let's say I have "/management/**" and "/external/**" mappings from different controllers. Then from the SwaggerUI, I can select the group from the definition dropdown select.
@trdngy82304 жыл бұрын
Thanks for your work!
@varshinikaithapuram61893 жыл бұрын
Please make a video on Spring Rest Docs Sir!!
@masterkutai2 жыл бұрын
Annotation hell. God I don't like Hapi but damn I miss using Joi library. I do not miss ceremonies in Java.
@chandanpadalkar75164 жыл бұрын
Great explanation
@themrambusher4 жыл бұрын
why these videos on swagger are not on the playlist of javabytes??????
@KatariyaDeepak5 жыл бұрын
Good one...
@paradise_cracked3 жыл бұрын
You are AWESOME!
@thepocguy3 жыл бұрын
Hi Kaushik, can you please have the springboot IDE be having a white background instead of the darkmode. Its very difficult to view on small screens.
@arindamsengupta1878 Жыл бұрын
when i try open swagger-ui.html showing white label error page
@phanindraitika56095 жыл бұрын
Cool !! Thank you !! 👍
@bsaiuttej70682 жыл бұрын
Hello Koushik, can you also explain how to give headers in swagger? Like giving "Authentication" header. so that I can specify it once and it can be applied to all APIs.
@ankittiwary37124 жыл бұрын
Awesome by the way which theme you are using for intellij
@deepakjava35063 жыл бұрын
Thank you so much Sir.
@amargupta17285 жыл бұрын
Hi please change the IDE look n feel as its blackish color make the visibility very low
@karanthakare84503 жыл бұрын
followed ur steps but when i am adding .paths() and .apis() .... i am getting "No operations defined in spec!" on browser
@prithvisharma29002 жыл бұрын
this works with java 11 ?
@abhijeetkarhale76013 жыл бұрын
Nicely explained swagger. But have you created video on Spring REST Docs. Because i could not find it in your channel. At the end of this video still say coming soon. If you have created please provide link here. Thank you.
@MrCheck20124 жыл бұрын
I want to redirect the default url 'localhost:8080/swagger-ui.html/' into 'localhost:8080/swagger/swagger-ui.html/'.... how can I do this?
@ashutoshanadkarni45884 жыл бұрын
Can I request to use ide with white background for more clarity
@narendranarjun47044 жыл бұрын
Hi sir can u make a video regarding jwt token authentication with swagger so can i access the swagger ui. Html by providing the bearer token
@shefaligadia70944 жыл бұрын
Please provide tutorials on raml documentation n designing.
@thiru534 жыл бұрын
why request body listing under parameter in swagger
@diegoramos274 жыл бұрын
How does one get swagger ui make HTTPS calls instead to HTTP? Thank you ...
@VinayKumarcs1274 жыл бұрын
Thank you so much !
@TheGuroguro125 жыл бұрын
Thank you very much.
@indhu.v79382 жыл бұрын
Sir, do you take 1- 1 courses
@gaurangdatt99142 жыл бұрын
hey does anyone know how can I send custom header with my request in swagger-ui sprinboot if I have a path /{userId}/{productId} I need to send user id and productid with request
@syedhafeezdaimi65264 жыл бұрын
hi kaushik, Do you have already tutorial on Swagger code gen tool?
@kanchangupta60074 жыл бұрын
Hi Kaushik, Is there any way to get the API documentation in doc or pdf format?
@dhanashriuttarwar59494 жыл бұрын
How to disable Try it out button ?
@abhishek79692 жыл бұрын
how to pass Bearer token details in swagger
@unpaiddonkey4 жыл бұрын
Thanks a lot, sir for your informative video. Because of great programmers like you, we newies could learn something interesting and something new each day. Thanks a lot, sir.
@arvindynr4 жыл бұрын
how to change logo and word swagger with your own?
@arpanbanerjee85844 жыл бұрын
I am not able to see the "paths" onlytill base path is present and in swagger ui i am getting this "No operations defined in spec".. can someone tell me what might be the issue.. i didn t get much help from google
@ainigma1004 жыл бұрын
Maybe you did not put your package path correctly in the .apis(RequestHandlerSelectors.basePackage("PUT YOUR BASE PACKAGE PATH HERE")) In the current video, the basePackage path was "io.javabrains". But your base package most probably is different.
@shashankgadage32773 жыл бұрын
getting 404 error when hit localhost:8080/swagger-ui.html
@FrancescoMannoni Жыл бұрын
Grazie.
@s36494 жыл бұрын
Thnx sir
@dharmaraogera33334 жыл бұрын
how to hide the Model information from swagger API
@rahulsehdev15194 жыл бұрын
add defaultModelsExpandDepth: -1
@priyadarshiniswain99024 жыл бұрын
Could you please give ur mail id . So that I can connect you when I have doubts . thanks for this video for swagger .its a great learning tutorial.
@benjaminfrank9166 Жыл бұрын
By default swagger UI using http protocol, My application only allows https requests. If i click execute on try out, i am getting 401 (unauthourized request). Can you/anyone please tell me how to have this swagger UI to use https protocol.