Skip to content

Header and Parameter in header ambiguity #3006

Closed

Description

@pmerson

The Components object has:

  • parameters - collection of Parameter objects
  • headers - collection of Header objects

However, a Parameter can be a header (when in == "header").
This inherent ambiguity creates confusion when one tries to create a global/group customization.

Can the ambiguity be removed (maybe deprecating the Header object or the "header" location of Parameter)?
If not, when should I declare a header as a Parameter and when should I declare it as a Header? The answer to this last question is direly needed in the documentation.

Activity

  1. locked and limited conversation to collaborators on Aug 23, 2022
  2. converted this issue into a discussion #3007 on Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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