Forum Discussion

stevewatanabe's avatar
stevewatanabe
Occasional Contributor
6 years ago

API response not getting generated

I successfully run my API (see "Inspector" file for screenshot).  I then generate the API but it doesn't have a response (see "GeneratedAPI file for screenshot).  What are the circumstances when this would occur?

    • stevewatanabe's avatar
      stevewatanabe
      Occasional Contributor

      I'm inside Swagger Inspector where I specify the "GET" request and I do receive a response.  BUT when I use "Create API Definition" it doesn't use the response I received to generate the response definition.  I suspect that there's something in the response from the server that Swagger Inspector's "Create API Definition" doesn't like...but I see no indication of what that might be.

      • Nastya_Khovrina's avatar
        Nastya_Khovrina
        SmartBear Alumni (Retired)

        Can you share a link to a specification that was generated?