Swagger-ui - Not able to figure out how some features are functioning for Petstore -
i have downloaded , browsed swagger-ui dist/index.html file , has loaded sample petstore apis. however, not able figure out how features functioning , hence not able bring own definition.
- the sample petstore shows "valid {...}" button @ bottom right hand side. don't see when navigate own api definitions. how enable it?
- when petstore api specifications being rendered swagger-ui
http://petstore.swagger.io/v2/swagger.json
i not able figure out how plugging in section below swagger petstore description.
contact developer
mailto link email address , subject line
find out more swagger http://swagger.io
doesn't show either in petstore json definition or 1 using.
where sample picking from?
- when use swagger editor, interprets specification in different way - showcasing
terms of use
,license
information appropriately. swagger-ui not support properties? need enable in swagger-ui make them appear?
you need using latest version of swagger, swagger core 1.5 @ least, have these neat features in own swagger project.
- the ui @ version > 2.0 comes schema validation (the valid button on bottom of page) built-in.
2+3. the info object contains information needed rendering contact developer
, license , "more info" links ui.
Comments
Post a Comment