Skip to content

OpenApiClientProvider can't be found #490

Description

@exascape

Just installed the SwaggerProvider and I keep getting an error
about the OpenApiClientProvider type not being found.

I have tried 4.1.0 and 4.0.0 to no avail; it seems like the type
has been elided from the package for reasons unknown. The package
does seem to be installed; importing it does not raise any errors,
and dotnet package list includes SwaggerProvider.

I installed and used the package with .NET version 10.0.400 in F#.

Example

open SwaggerProvider

let [<Literal>] Schema = "https://random-url.com/openapi.json"
type GotifyApi = OpenApiClientProvider<Schema>

Bit of a newbie to .NET so I assumed it was an issue on my side
until I discovered #248 -- it seems directly related to that.

Happy to help in any other way I can.

Activity

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions