Can you provide the full spec please?

 

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of BD 
<bruce.do...@gmail.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Thursday, 20 April 2017 at 13:04
To: Swagger <swagger-swaggersocket@googlegroups.com>
Subject: New Swagger editor reporting errors for nested definitions

 

Definitions below now generating these errors today. No errors generated for 
the same code yesterday?

 

Schema error at definitions.autoCfg_t.properties.rate

additionalProperty "schema" exists in when not allowed

Semantic error at definitions.autoCfg_t.properties.rate.schema

Sibling values are not allowed alongside a $ref.

 

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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to