Hi, I am trying to add some request headers, that I think I need for CORS, but I am having trouble following this page:
https://apihandyman.io/writing-openapi-swagger-specification-tutorial-part-5-advanced-input-and-output-modeling/ When I try to add this: userAgent: name: User-Agent type: string in: header required: true to my YAML, I get an error, "Additional properties not allowed", regardless of where I add that (that example shows it at the very end of the YAML, which I have also tried). Can someone explain where in the YAML those should be placed to add headers? Thanks, Jim -- 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.
