Hi,
Change the definition of autoCfg_t to: autoCfg_t: type: object properties: done: type: boolean rate: $ref: '#/definitions/autoRate' The extra `schema` key word doesn’t belong there. From: <[email protected]> on behalf of BD <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, 20 April 2017 at 13:30 To: Swagger <[email protected]> Subject: Re: New Swagger editor reporting errors for nested definitions swagger: '2.0' info: version: 0.0.0 WIP title: Chronos Service host: 'localhost:8080' basePath: /chronos/v1 produces: - application/json paths: /getAutoCfg: get: operationId: getAutoCfgUsingGET responses: '200': description: Success schema: $ref: '#/definitions/autoCfg_t' definitions: autoRate: type: object properties: autoRate_enum: type: string enum: - onege - tenge autoCfg_t: type: object properties: done: type: boolean rate: schema: $ref: '#/definitions/autoRate' -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
