Are you talking about swagger-editor?
From: <[email protected]> on behalf of Alexei <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, 29 June 2017 at 2:13 To: Swagger <[email protected]> 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 [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
