Skip to content

Are tag.{name} parameters valid in OpenAPI? #131

@alanb-sony

Description

@alanb-sony

Is the usage of tag.{name} in a OpenAPI parameter name valid OpenAPI? I can't see an explicit reference to it in the OpenAPI specification.

The express-openapi-validator expects a parameter literally named "tag.{name}" and rejects any other name e.g. tag.foo is rejected as an invalid parameter.

The stoplight API docs also don't allow you to set the tag name in the query: https://bbc.github.io/tams/main/index.html#/operations/GET_sources

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