swagger tutorial in tamil | swagger ui | swagger editor | swagger documentation

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in the video lab swagger abdi nine and pacman spring bootleg um first of all swagger um not even there uh little bit on the either swagger updating the okay so in the city okay it was channel in the temperature of the input on the city name you know city name input could think you know output in our so temperature foreign lineup and upon the first two and the springboot app based springboard upgrade monitor or rest endpoint create monopoly or get call or post column swagger documentation in the rest in the rest end point running on the create monopoly swagger document um so when i say create the swagger document we are not manually creating the lab number on the metadata configurations use many configurable let's start creating the app spring b we can just focus on the swagger inside it rest controller request mapping and allowing the now previous videos like explain when it came into so slash apa slash say let's call it as movies [Music] object now create one class create mono but for the key on the get movies so either just to get call get uh rest api get mapping updating annotations the b so private string name a name of the movie approving the actor and the movie or actor name so actor so they could generate uh get et cetera so just right click on it source generate getter setters and let me select when you select all and probably our last member after last member generate so get resetters generate money actually they just have been on the java been nothing special so in given thing on the list so control space java utilised so get movies to just end point or get called say movie movies okay so now we're a new array list on a great money grab so it's nothing but an in-memory or a database memory locker movie list now and the server is stopping either on the delete arrow so server start paneer you can just keep adding to the in the list you know you know we can just get call use many other treatment mapping control space good thing now so add movies so usually enough databases so in the list just add movies so banana uh either when it's a working application now if now they i can just uh run from it sorry server stop work okay so the start one ram start when you type our get call phone and now you know when the empty list so by default to the on the server on the 8080 let's start erica uh so if i think about 8080 so localhost uh the project list scenario will appear to add a new request um request to and line up under now and they cannot are they get calling in r so for example the http call http local host 8088 slash apa slash movies empty list okay so a [Music] foreign if um aminoparticles randall step for great money actually third step in and now in the add spring fox spring boot starter project so third step so spring fox i io dot spring fox springfox boot starter so the patina is in the spring boot starter one of the spring boot starter project so version on the in the version on the library or version so in the dependencies even i'm at founder there are now in this spring uh spring fox having another reference mother starter projects so spring okay spring fox have been putting now so spring fox swagger too so swagger ui sorry spring fox uh spring swagger application so either on the spring boot application or a starting point so in the application okay you know just at enable swagger so b line the url v2 epa docs netching in hollow and the swagger two dot over the documentation either so in the json formatted on this it's not formatted well uh json formatter okay um under the spring on the in the springboard application either spring good application lay on the default urls so in the error controller error handling default error handling url so documentation generate pandora so other learning given the customizable say for example they learn that public say docket so so the docket on there being a pretty generic one putting it on the dock it may be important okay but i think the docket when it comes from uh spring fox library so return on the so if i return new docket to encode 13 now i think on the you have to at least have like a documentation type okay so in your documentation type on the we are going to give swagger2 so in our trigger to the path swagger2 path selector of the path selectors dot um so ant expression is it um you know wild card character use panic running it slash apa slash star funny to dot and you can say just build okay so build a good thing you know and then the docket object on the bill panel so docket object will finish return funny thing you know that is all you need to do okay now in the configuration class so on the docket swagger documentation so still you can do all that like try out and everything movies api have been declared so in the either language and the terms and services apaches are allowing the number number custom terms and conditions are the more change peniculum so pretty simple in german uh thing uh okay so it has like a lot of things name description version terms of services in the details so then i just to copy what's required so it's just a time saver okay so so for things like uh movie movie api movie management api so coder um it's undefined so v3 created i think under the very import so documentation is along the generic messages i know the customized message so movies apa movie management description so uh open source variables so [Music] customization you can create a lot of rest apis and there and the rest api is great when you're swaggering is also very very important is going to be very difficult okay um i think that's all in the video okay so thank thanks for watching the like and subscribe um see you in the next video thanks
Info
Channel: Coder Ulagam
Views: 12,683
Rating: undefined out of 5
Keywords: spring boot, swagger in tamil, rest api, swagger in rest api, spring boot tutorials
Id: IxKL0N7juMQ
Channel Id: undefined
Length: 37min 27sec (2247 seconds)
Published: Sun Sep 20 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.