You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just testing on official pestore version 2 and 3 of openapi seems not able to parse?
#r "nuget:Testcontainers"
#r "nuget:SwaggerProvider"openDotNet.Testcontainers.BuildersopenDotNet.Testcontainers.ContainersopenSwaggerProvideropenSystemtypePetStoreTypes= OpenApiClientProvider<"https://petstore.swagger.io/v2/swagger.json">letcontainer=new ContainerBuilder()|>fun x -> x.WithImage("openapitools/openapi-petstore")|>fun x -> x.WithPortBinding(8080,true)|>fun x -> x.WithWaitStrategy(
Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(fun r -> r.ForPort(8080)))|>fun x -> x.Build()let_= container.StartAsync().ConfigureAwait(false).GetAwaiter().GetResult()
The text was updated successfully, but these errors were encountered:
maybe having an integration test run always against latest open API specs could help to avoid regressions...
I did it in the past and it is annoying, when you try to merge PR, update dependencies or fix a bug, but CI is broken because of some issue in the external schema.
just testing on official pestore version 2 and 3 of openapi seems not able to parse?
The text was updated successfully, but these errors were encountered: