Forum Discussion

PavanaKowshik's avatar
PavanaKowshik
New Contributor
3 years ago

Not able to generate schema object in OPEN API specs

Hai.. I am trying to generate openAPI specification for WeatherAPI(its a open source API), through swagger inspector but not able to retrieve Schema object properly based on the response. Do I need to do any configurations ?Can anybody please help me out with this.

 

i hv attached the response and openAPI specification  below.

Your help is much appreciated.

 

thank you..

 

 

 

 

2 Replies

  • Hi PavanaKowshik,

     

    Could you describe what you were expecting to see? What do you mean by "not able to retrieve Schema object properly"?

     

    Alex

    • PavanaKowshik's avatar
      PavanaKowshik
      New Contributor

      Hi abonstrom 

             In the response section of generated Open API specs the schema type is showing String, Why its not showing the other fields which i got in the actual response. And also Its not showing the example in the response section .