Skip to content

Parameter referencing in PathItemObject.parameters. #105

@mopaul

Description

@mopaul

My swagger definition defines a bunch of query parameters in the root.parameters which I then reference from the pathItem.parameters section. When I try to access the operation parameters using app.op.parameters, it looks like only the 1st parameter referenced in pathItem.parameters is associated with the path's Operation object.

If I understand the swagger definition, pathItems.parameters are applicable to all the operations in the path.

Am I missing something?

Referencing a parameter from operation.parameters works as expected.

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