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
🤖 This issue was created by Repo Assist, an automated AI assistant. Please adjust or close if this is not a priority.
Background
SwaggerProvider currently depends on Microsoft.OpenApi ~> 2 (pinned in paket.dependencies). The latest released version is 3.5.1, which is a major version bump with breaking API changes.
Why this matters
The v2 series will eventually stop receiving updates
OpenAPI 3.1 support (required for schemas using JSON Schema keywords like unevaluatedProperties, prefixItems, etc.) may require v3 of the reader
OpenApiSchema API changes (property renames, type changes)
OpenApiDocument.Parse signature changes
IOpenApiSchema refactoring
Suggested approach
Create a feature branch eng/openapi-3x-migration
Bump microsoft.openapi constraint to ~> 3 in paket.dependencies
Fix compilation errors in DefinitionCompiler.fs and OperationCompiler.fs
Run the full test suite (unit + provider integration tests)
Update Provider.OpenApiClient.fs to use any new APIs that simplify the nullable/required handling
This is non-trivial work but would future-proof the library. A major version bump of SwaggerProvider would be appropriate to signal the upstream change.
Current state
Current: Microsoft.OpenApi 2.7.2
Latest: Microsoft.OpenApi 3.5.1
Risk: high — breaking API changes require careful migration
🤖 This issue was created by Repo Assist, an automated AI assistant. Please adjust or close if this is not a priority.
Background
SwaggerProvider currently depends on
Microsoft.OpenApi ~> 2(pinned inpaket.dependencies). The latest released version is 3.5.1, which is a major version bump with breaking API changes.Why this matters
unevaluatedProperties,prefixItems, etc.) may require v3 of the readerKnown breaking changes in Microsoft.OpenApi 3.x
From the OpenAPI.NET changelog:
OpenApiSchemaAPI changes (property renames, type changes)OpenApiDocument.Parsesignature changesIOpenApiSchemarefactoringSuggested approach
eng/openapi-3x-migrationmicrosoft.openapiconstraint to~> 3inpaket.dependenciesDefinitionCompiler.fsandOperationCompiler.fsProvider.OpenApiClient.fsto use any new APIs that simplify the nullable/required handlingThis is non-trivial work but would future-proof the library. A major version bump of SwaggerProvider would be appropriate to signal the upstream change.
Current state
Microsoft.OpenApi 2.7.2Microsoft.OpenApi 3.5.1