Skip to content

oneOf or anyOf for the header schema #94

Open
@triptesh1212

Description

@triptesh1212

Hi community, can we define an open api 3.0 specification where the schema of a header contains oneOf or anyOf ?

{
   "name": "apiKey",
   "in": "header",
   "required": true,
   "schema": {
        "anyOf": [
             {
                  "type": "boolean"
              },
             {
                  "type": "integer"
             }
         ]
     }
}

Thanks,
Triptesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions