Skip to content

FS3033: Payload is not supported #181

@jkone27

Description

@jkone27

Description

[<Literal>]
let openApi= __SOURCE_DIRECTORY__ + "/SWopenapi.yaml"

//OpenApi type provider
type MyApi = OpenApiClientProvider<openApi>

Repro steps

the Openapi spec is valid :
https://apitools.dev/swagger-parser/online/

but the type provider give an unknown error (also hard to fix , try to patch in the openapi yaml eventually)

SWopenapi.txt

attached yaml file (change extension)

Expected behavior

The type provider works

Actual behavior

error FS3033: The type provider 'SwaggerProvider.OpenApiClientTypeProvider' reported an error: Payload 'quantityIdentityId' is not supported

Please provide a description of the actual behavior you observe.

Known workarounds

None i could find, not clear what's wrong in the openapi definition as that's valid according to online parsers

Related information

  • Windows 10
  • latest nuget package
  • NET5
  • Both vs2019 and vscode give errors

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