8000 add more Security options in swaggerparser · Issue #15605 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
add more Security options in swaggerparser #15605
Closed
@defelmnq

Description

@defelmnq

The CI currently runs a step which is validating swagger annotations - specifically the Security tag - https://github.com/coder/coder/blob/main/coderd/coderdtest/swaggerparser.go#L302

For now, the tag has to be set to CoderSessionToken without allowing any other option, excepted ignoring the whole endpoint.

Having some endpoints that are using PSK or ProvisionerKey - we need to be able to put these options too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0