Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Mark Optional Query Parameters As Optional In Swagger #47

@LamboCreeper

Description

@LamboCreeper

What Functionality Are You Suggesting?

Currently we are not marking any optional query parameters as optional within Swagger, therefore causing them to be labelled as required when they are not. This currently only affects this route.

This can be achieved by using the @ApiQuery() parameter decorator.

Why Will This Benefit The Community?

This means the documentation will correctly reflect the implementation, avoiding any confusion which may be caused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThe issue is accepted and PRs are welcomedocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions