How to generate Documentation of our Rest API using swagger GitHub : github.com/Java-Techie-jt/spr... Facebook Group: / 91946. . Social Web: srimanjavagroup.com/
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
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
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
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
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
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.
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
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.
Yes boss these are initial video when I started my CZcams ,going forward other videos have bit clarity than old one .
yes volume is too low.
My brother super keep it up⬆
awesome bro!!
Outstanding tutorial.
Excellent sir 🔥
thanks concept clear
Thank you so much.
fantastic :)
Nice exaplanation bro
thanks basant sir
thank you sir
Really nice...make proper list of videos in playlist....
Hi Santosh yes will do soon
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
thank u
Good
How can i configure swagger with spring rest (without springboot)?
does the same process works for the jersey implementation as well. Thanks!
Yes but some configuration changes required
How to make mandatory field? And if you have multiple controller package then how will we configure?
Sir, how we configure Swagger to Authorize JWT token
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
Yes you can do any operation
🙏🙏🙏
What is the use of termsOfServiceUrl, license and licenseUrl, and is it mandatory to be used in the code?
No optional
Why do we have interface for dao in service layer?
It's good practice to follow , you can have multiple dao implementation class
Thanks for this video, but just to say voice is very low please increse it.
Yes I agreed because This is too old videos buddy
good explanion,but please speak loudly ,difficult to hear
Agree buddy but this is old one
public String saveBook(Book book) {
repository.save(book);
return "book save dwith id " + book.getBookId();
}
book.getBookId--error (Showing create method in Book.java
Please configure lombok in your IDE (eclipse/intellij) if not write getter setter manually
Sound is very very low
Yes setty this is my initial video please check my open API tutorial that will help you to get better knowledge on documentation
In @Api(value = "Book Service", description= "something")
Value specifies wt
In documentation, description attribute is reflected. But where the value attribute is ? And wt does it mean?
Voice is tooo low... Please post again with better voice
This too old video buddy please check my open api specifications video
Please upload code in group. because same code is not working in my System
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
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
As you are running on debug mode so you are getting this , just ignore it and try else remove devtools dependency from pom.xml
now running after delete dependency from .m2 folder and again install maven then it is working. Thank you
Sound Quality is not good
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.