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
NuGet decided to install 1.2.0 in a project of mine which caused System.MissingMethodException: Method not found: 'Void Microsoft.OpenApi.Any.OpenApiString..ctor(System.String)'.
System.MissingMethodException: Method not found: 'Void Microsoft.OpenApi.Any.OpenApiString..ctor(System.String)'.
at Swashbuckle.AspNetCore.Filters.ExamplesConverter.SerializeExampleXml(Object exampleValue)
at Swashbuckle.AspNetCore.Filters.RequestExample.<>c__DisplayClass6_0.<SetSingleRequestExampleForOperation>b__1()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Swashbuckle.AspNetCore.Filters.RequestExample.SetSingleRequestExampleForOperation(OpenApiOperation operation, Object example, ExamplesConverter examplesConverter)
at Swashbuckle.AspNetCore.Filters.RequestExample.SetRequestExampleForOperation(OpenApiOperation operation, SchemaRepository schemaRepository, Type requestType, Object example, IContractResolver contractResolver, JsonConverter jsonConverter)
at Swashbuckle.AspNetCore.Filters.ExamplesOperationFilter.SetRequestExamples(OpenApiOperation operation, OperationFilterContext context)
at Swashbuckle.AspNetCore.Filters.ExamplesOperationFilter.Apply(OpenApiOperation operation, OperationFilterContext context)
We need to upgrade to 1.2.0 to fix this, I'll make a PR later today
The text was updated successfully, but these errors were encountered:
microsoft/OpenAPI.NET#487
NuGet decided to install 1.2.0 in a project of mine which caused
System.MissingMethodException: Method not found: 'Void Microsoft.OpenApi.Any.OpenApiString..ctor(System.String)'.
We need to upgrade to 1.2.0 to fix this, I'll make a PR later today
The text was updated successfully, but these errors were encountered: