Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 125
2 REPLIES 2