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.

  1. the sample petstore shows "valid {...}" button @ bottom right hand side. don't see when navigate own api definitions. how enable it?
  2. when petstore api specifications being rendered swagger-ui http://petstore.swagger.io/v2/swagger.jsoni 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?

  1. 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.

  1. 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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -