Forum Discussion

chrisM9's avatar
New Contributor
5 years ago

Auto generated using Swagger Inspector now showing examples payload


New to swagger and want to generate OAS doc for existing APIs. I call APIs in swagger inspector, create API definition, this takes me over to swaggerhub where I can see OAS file. But examples per below is empty. The response examples output comes in json format.


- chrisM9



description: Auto generated using Swagger Inspector
application/json; charset=UTF-8:
type: string
examples: {}


2 Replies

    • brightchimp's avatar
      New Member

      I'm seeing the same but only against our API, if I use like the example I see the response schema populated.


      We're using Bearer tokens (without OAuth) but I select OAuth as the authentication method and enter my token there. Inspector successfully calls the API but trying to create the documentation contains nothing about the response.