Open
Description
Description
The autocompletion hangs and stops working when using OpenApiClientProvider with Stripe's open API. No visible error happens anywhere.
Repro steps
- Try to use OpenApiClientProvider with the stripe API
open SwaggerProvider
let [<Literal>] Schema = "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.sdk.json"
// __SOURCE_DIRECTORY__ + "/openapi/stripe.spec3.json"
type Stripe = OpenApiClientProvider<Schema>
let main argv =
let stripe = Stripe.Client()
// the autocompletion dies or stops working at this point
That JSON file is about 3MB
Expected behaviour
I would expect to work as with any other open API or to get a visible error somewhere
Actual behavior
The autocompletion dies or stops working and doesn't seem to recover. To wait a large amount of time does not help.
Known workarounds
None:
- All F# IDEs behave in the same way.
- Serving the schema from the localhost doesn't make any difference.
Related information
- Mac OS (I tried all known F# IDEs)
- Master
- I used the stripe API which is quite popular: https://github.com/stripe/openapi/tree/master/openapi
Metadata
Metadata
Assignees
Labels
No labels