How to generate Documentation of our Rest API using swagger GitHub : github.com/Java-Techie-jt/spr... Facebook Group: / 91946. . Social Web: srimanjavagroup.com/
Жүктеу.....
Пікірлер: 56
@mitulvaghela9063 жыл бұрын
You made this look so effortless!
@jogeshwarghosh57223 жыл бұрын
Thanks a lot for posting these videos. These are really very helpful.
@mohantalachutla68343 жыл бұрын
Great tutorial. Keep up the good work. 👍 . . Real swagger code starts from 17:00
@rainyroad875 жыл бұрын
Thank you so much for the good and simple guide. Please make another guide as chapter 2 which contains following: 1.Use your BookService API to integrate towards another API or a back-end service. 2. Generate a data model (Client for the service you integrate towards) from a WSDL or JSON file. 3. Create mapper classes to map you Request/Response with the generated data model. 4. When you try a get request, your api will also send the request to another system to fetch data and present the response which you get from the back-end system. Thank you again Best regards
@Javatechie
5 жыл бұрын
This you are telling to prepare video on webservice provider and consumer right ?
@saurabhsuman49605 жыл бұрын
Thanks for the video. Please note that sound is very low. With full bass of my speaker.. I am able to hear with 90% clarity.
@Javatechie
5 жыл бұрын
Yes boss these are initial video when I started my KZread ,going forward other videos have bit clarity than old one .
@swatipandey3942
Жыл бұрын
yes volume is too low.
@ranjandas78914 жыл бұрын
My brother super keep it up⬆
@himalbajgain2280 Жыл бұрын
Outstanding tutorial.
@akashtawade92642 жыл бұрын
Excellent sir 🔥
@Broadway19825 жыл бұрын
awesome bro!!
@mahender20295 жыл бұрын
Nice exaplanation bro
@neha60006 жыл бұрын
thanks concept clear
@santoshkamat61323 жыл бұрын
fantastic :)
@narendrakumariitb3 жыл бұрын
Thank you so much.
@sushilrajbhar96384 жыл бұрын
How can i configure swagger with spring rest (without springboot)?
@travel_with_sourav2 жыл бұрын
My requestmodel class extenda some other baseclass and that is why in swagger ui request the whole request parameters of both classed are shown....Hi basant, how can I handle this? I want only the parent class request params to be shown
@pranoydas9654 Жыл бұрын
How to make mandatory field? And if you have multiple controller package then how will we configure?
@rajrathod137146 жыл бұрын
thanks basant sir
@devil32644 жыл бұрын
Sir, how we configure Swagger to Authorize JWT token
@mayanksen74763 жыл бұрын
thank you sir
@santhoshprabhunandikolmath83256 жыл бұрын
Really nice...make proper list of videos in playlist....
@Javatechie
6 жыл бұрын
Hi Santosh yes will do soon
@harishpavant Жыл бұрын
does the same process works for the jersey implementation as well. Thanks!
@Javatechie
Жыл бұрын
Yes but some configuration changes required
@Crinjaandi Жыл бұрын
Bro by using swagger can we perform more custom opertaions other than CRUD(create,read,update,delete). Please help me anyone i have an important assesment for my placement this week . I think by using swagger we can only perform create delete update read
@Javatechie
Жыл бұрын
Yes you can do any operation
@eshwarchandrabiswal22996 жыл бұрын
thank u
@ameerm78943 жыл бұрын
Good
@sahanas1868 Жыл бұрын
What is the use of termsOfServiceUrl, license and licenseUrl, and is it mandatory to be used in the code?
@Javatechie
Жыл бұрын
No optional
@pratikbondarkar5128 Жыл бұрын
🙏🙏🙏
@akankshashivhare45732 жыл бұрын
Why do we have interface for dao in service layer?
@Javatechie
2 жыл бұрын
It's good practice to follow , you can have multiple dao implementation class
@TheGreenArrow4 жыл бұрын
public String saveBook(Book book) { repository.save(book); return "book save dwith id " + book.getBookId(); } book.getBookId--error (Showing create method in Book.java
@Javatechie
4 жыл бұрын
Please configure lombok in your IDE (eclipse/intellij) if not write getter setter manually
@girishchaudhari46682 жыл бұрын
Thanks for this video, but just to say voice is very low please increse it.
@Javatechie
2 жыл бұрын
Yes I agreed because This is too old videos buddy
@-BShantharaj2 жыл бұрын
In @Api(value = "Book Service", description= "something") Value specifies wt
@-BShantharaj
2 жыл бұрын
In documentation, description attribute is reflected. But where the value attribute is ? And wt does it mean?
@zabiralam60206 жыл бұрын
Please upload code in group. because same code is not working in my System
@Javatechie
6 жыл бұрын
Hi Zabir , can you please tell me your issue so that i can help you out , in this video description you can find git link please check on that if still issue then let me know
@zabiralam6020
6 жыл бұрын
Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/Users/alam/.m2/repository/io/springfox/springfox-swagger-ui/2.7.0/springfox-swagger-ui-2.7.0.jar at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible(ChangeableUrls.ja
@Javatechie
6 жыл бұрын
As you are running on debug mode so you are getting this , just ignore it and try else remove devtools dependency from pom.xml
@zabiralam6020
6 жыл бұрын
now running after delete dependency from .m2 folder and again install maven then it is working. Thank you
@vasanthasetty40024 жыл бұрын
Sound is very very low
@Javatechie
4 жыл бұрын
Yes setty this is my initial video please check my open API tutorial that will help you to get better knowledge on documentation
@anitahcu Жыл бұрын
good explanion,but please speak loudly ,difficult to hear
@Javatechie
Жыл бұрын
Agree buddy but this is old one
@viswanathreddy4790 Жыл бұрын
Voice is tooo low... Please post again with better voice
@Javatechie
Жыл бұрын
This too old video buddy please check my open api specifications video
@kajaraja1003 ай бұрын
Sound Quality is not good
@Javatechie
3 ай бұрын
Agree this is too old video please check the open api video
@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.
Пікірлер: 56
You made this look so effortless!
Thanks a lot for posting these videos. These are really very helpful.
Great tutorial. Keep up the good work. 👍 . . Real swagger code starts from 17:00
Thank you so much for the good and simple guide. Please make another guide as chapter 2 which contains following: 1.Use your BookService API to integrate towards another API or a back-end service. 2. Generate a data model (Client for the service you integrate towards) from a WSDL or JSON file. 3. Create mapper classes to map you Request/Response with the generated data model. 4. When you try a get request, your api will also send the request to another system to fetch data and present the response which you get from the back-end system. Thank you again Best regards
@Javatechie
5 жыл бұрын
This you are telling to prepare video on webservice provider and consumer right ?
Thanks for the video. Please note that sound is very low. With full bass of my speaker.. I am able to hear with 90% clarity.
@Javatechie
5 жыл бұрын
Yes boss these are initial video when I started my KZread ,going forward other videos have bit clarity than old one .
@swatipandey3942
Жыл бұрын
yes volume is too low.
My brother super keep it up⬆
Outstanding tutorial.
Excellent sir 🔥
awesome bro!!
Nice exaplanation bro
thanks concept clear
fantastic :)
Thank you so much.
How can i configure swagger with spring rest (without springboot)?
My requestmodel class extenda some other baseclass and that is why in swagger ui request the whole request parameters of both classed are shown....Hi basant, how can I handle this? I want only the parent class request params to be shown
How to make mandatory field? And if you have multiple controller package then how will we configure?
thanks basant sir
Sir, how we configure Swagger to Authorize JWT token
thank you sir
Really nice...make proper list of videos in playlist....
@Javatechie
6 жыл бұрын
Hi Santosh yes will do soon
does the same process works for the jersey implementation as well. Thanks!
@Javatechie
Жыл бұрын
Yes but some configuration changes required
Bro by using swagger can we perform more custom opertaions other than CRUD(create,read,update,delete). Please help me anyone i have an important assesment for my placement this week . I think by using swagger we can only perform create delete update read
@Javatechie
Жыл бұрын
Yes you can do any operation
thank u
Good
What is the use of termsOfServiceUrl, license and licenseUrl, and is it mandatory to be used in the code?
@Javatechie
Жыл бұрын
No optional
🙏🙏🙏
Why do we have interface for dao in service layer?
@Javatechie
2 жыл бұрын
It's good practice to follow , you can have multiple dao implementation class
public String saveBook(Book book) { repository.save(book); return "book save dwith id " + book.getBookId(); } book.getBookId--error (Showing create method in Book.java
@Javatechie
4 жыл бұрын
Please configure lombok in your IDE (eclipse/intellij) if not write getter setter manually
Thanks for this video, but just to say voice is very low please increse it.
@Javatechie
2 жыл бұрын
Yes I agreed because This is too old videos buddy
In @Api(value = "Book Service", description= "something") Value specifies wt
@-BShantharaj
2 жыл бұрын
In documentation, description attribute is reflected. But where the value attribute is ? And wt does it mean?
Please upload code in group. because same code is not working in my System
@Javatechie
6 жыл бұрын
Hi Zabir , can you please tell me your issue so that i can help you out , in this video description you can find git link please check on that if still issue then let me know
@zabiralam6020
6 жыл бұрын
Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/Users/alam/.m2/repository/io/springfox/springfox-swagger-ui/2.7.0/springfox-swagger-ui-2.7.0.jar at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible(ChangeableUrls.ja
@Javatechie
6 жыл бұрын
As you are running on debug mode so you are getting this , just ignore it and try else remove devtools dependency from pom.xml
@zabiralam6020
6 жыл бұрын
now running after delete dependency from .m2 folder and again install maven then it is working. Thank you
Sound is very very low
@Javatechie
4 жыл бұрын
Yes setty this is my initial video please check my open API tutorial that will help you to get better knowledge on documentation
good explanion,but please speak loudly ,difficult to hear
@Javatechie
Жыл бұрын
Agree buddy but this is old one
Voice is tooo low... Please post again with better voice
@Javatechie
Жыл бұрын
This too old video buddy please check my open api specifications video
Sound Quality is not good
@Javatechie
3 ай бұрын
Agree this is too old video please check the open api video
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.