Header parameter with the name 'Content-Type' is ignored
You have used a restricted value as the name of a header parameter. The values
Authorization are restricted values and should not be used as the header name. A header with any of these values as the header name is ignored.
For more details, see the OpenAPI Specification.
The following is an example of how this issue could look in your API definition:
1name: Content-Type 2in: header 3description: Supported content types 4required: true 5schema: 6 type: string 7 pattern: ^application/json$|^application/xml$ 8
Make sure that you do not use the restricted values as header parameter names.
Copyright 42Crunch 2021