Smart Docs return internal error for very basic swagger

Developer portal returning internal error in while implementing smart doc even for very basic swagger file.

7827-errc.png

Swagger file :--Below is auto generated file in http://apistudio.io

swagger: "2.0" info: version: "0.0.1" title: Swagger API host: apistudio.io basePath: /try/f5e0766d-f318-4c35-a262-c0a09379fd3d schemes: - http - https consumes: - application/json produces: - application/json paths: /hello: x-swagger-router-controller: hello_world get: description: Returns greetings to the caller operationId: hello responses: "200": description: Success schema: $ref: "#/definitions/HelloWorldResponse" default: description: Error schema: $ref: "#/definitions/ErrorResponse" definitions: HelloWorldResponse: required: - message properties: message: type: string age: type: number ErrorResponse: required: - message properties: message: type: string

0 2 92
2 REPLIES 2

@UMA MAKINENI , Make sure portal is connected to smartdocs proxy in smartdocs settings.

This error most probably due to connection problem trying to reach the proxy url, u could investigate more by debugging the request using ur browser developer tool. If u r using chrome, Right click on the page then select Inspect Item then select Network tab, then start recording and Check the url request upon clicking on "Send This Request"