-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replaces instances of anyOf
to oneOf
#264
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing this, a couple of remarks
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
…rator.cs Co-authored-by: Vincent Biret <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I missed the affectation
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json
Outdated
Show resolved
Hide resolved
test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs
Outdated
Show resolved
Hide resolved
I think some unit tests still need to be updated and we should be good to go after that. |
This is because `Explode = false` for the OData query parameters.
Fixes #245
This PR:
anyOf
tooneOf
for geometric points.anyOf
tooneOf
forDecimal
,Double
,Single
andInt64
EdmPrimitiveTypeKind
.