Skip to content

OpenApiProvider fails on allowEmptyValue #193

@jkone27

Description

@jkone27

Description

parameters:
        - in: query
          name: metadata
          schema:
            type: boolean
          allowEmptyValue: true  # <----- validation of this field fails

https://swagger.io/docs/specification/describing-parameters/

but validation gives errors

allowEmptyValue is not a valid property @ ...

Repro steps

try a schema with allowEmptyValue

Expected behavior

should not give any errors

Actual behavior

Fails parsing/validation

Known workarounds

remove the field from openapi spec

Affected Type Providers

  • [X ] OpenApiClientProvider

Related information

  • MacOS
  • master
  • .NET6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions