Skip to content

V2 Reader is not thread safe #416

Closed

Description

@wpbrown

OpenApiV2Deserializer ParameterDeserializer partial uses static state (_isBodyOrFormData) that produces incorrect documents when completely separate OpenApi*Reader instances are used in different threads.

There may be other cases of misuse of global static state that I haven't found yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions