It’s a known issue - https://github.com/swagger-api/swagger-editor/issues/1343.
From: <swagger-swaggersocket@googlegroups.com> on behalf of ALEKSEI MOKEEV <aleksei.mokee...@gmail.com> Reply-To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Date: Thursday, 29 June 2017 at 8:43 To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Subject: Re: Use of "security" attribute in POST payloads Yes, exactly. Screenshot: On 29. Jun 2017, at 17:38, Ron Ratovsky <r...@swagger.io> wrote: Are you talking about swagger-editor? From: <swagger-swaggersocket@googlegroups.com> on behalf of Alexei <aleksei.mokee...@gmail.com> Reply-To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Date: Thursday, 29 June 2017 at 2:13 To: Swagger <swagger-swaggersocket@googlegroups.com> Subject: Use of "security" attribute in POST payloads I have a simple API, that accepts JSON payload, and among attributes of the payload I have one with name "security". A sample for the POST payload schema: definitions: someSchema: description: My schema description type: object properties: propertyOne: type: string propertyTwo: type: string security: type: object properties: propertyOne: type: string When the API is described by Swagger 2.0, it doesn't pass the validation, as it somehow interprets an attribute from my payload as an API's properties attribute. What's wrong with having a payload attribute, named security? -- 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 a topic in the Google Groups "Swagger" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/iwbjam3AV1Y/unsubscribe. To unsubscribe from this group and all its topics, 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. -- 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.