Skip to content

openapi3filter.RegisterBodyDecoder() / openapi3filter.UnregisterBodyDecoder() based on singleton #339

@wtask

Description

@wtask

The subject is ugly mostly for tests. If one test needs custom decoder, but another expects to use original one this case is sucks.

As a protection, you can offer a function to obtain a registered decoder so that it can be restored ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions