Forum Discussion

dheeraj1000's avatar
Regular Visitor
4 years ago

Swagger Response


When I generate swagger spec for , the

spec generated has response section stating , response is a json string.  But in response section (200)of spec ,I was expecting the list of response tags(fields) as response has current weather data in json format.


When I tested a sample deployed in my local system(server), I am getting spec , in which response section (200) has actual response fields.


I want to understand how the local server, different from a remote server.

My requirement is to generate a proper spec/documentation provided for remote api services.
Please clarify on the above point, how can I generate a proper spec for remote server(is anything I need to configure?) 


thank you...

No RepliesBe the first to reply