Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Add filterWithReference method to ParameterContainer #121

Description

@JonathanMontane

Currently, if there are references in a ParameterContainer, one must first resolve all the References, then filter out the Parameters, and then if one wants to keep the concept of shared parameters in the context, one has to iterate over the resolved and filtered ParameterContainer to get the Ids of the corresponding Parameters in the original ParameterContainer and filter it with this set of keys, which is painful.

Adding the following method:

container.filterWithReference(store, constraints)

would simplify this process greatly.

Note: There are currently no formats that we support where this is needed, but with the addition of swagger v3, it could potentially appear.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions