cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger Inspector - Wrong response structure in generated OAS

Highlighted
Regular Visitor

Swagger Inspector - Wrong response structure in generated OAS

Hello,

 

I tried to generate an OpenAPI specification using Swagger Inspector with a test API. However, it turned out the response body is missing. Instead of an actual object, it just says there is a string as a response body, which is not correct. Am I doing something wrong ?

 

You can see the request below, the answer I got, and what is generated in the spec:

request and response.PNG

spec.PNG

Thanks a lot in advance for your answer !

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors