Skip to content

[openapi] Avoid unused imports for generated security schemas  #161

@DMokhnatkin

Description

@DMokhnatkin

Now it is impossible to check if each import is required inside generated security schemas, because muschtache doesn't provide this functionality. That's why lines with " var _ = ... " are generated. It allows to avoid unused import errors. This should be fixed: if openapi schema doesn't contain definition for some security schema, it should't be generated and import should not be added to this file.

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