Skip to content
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

Fix casing of OpenAPI type "String" for RefPatchOperationHandler and RefPostOperationHandler #78

Merged
merged 3 commits into from Dec 1, 2020

Conversation

edevoogd
Copy link
Contributor

@edevoogd edevoogd commented Aug 6, 2020

Fixes #77

This PR fixes the casing of the type in code and test resources.

@ghost
Copy link

ghost commented Aug 6, 2020

CLA assistant check
All CLA requirements met.

@xuzhg
Copy link
Contributor

xuzhg commented Aug 6, 2020

Oh, @edevoogd , thanks for your try and share your contribution. The fix looks good to me. Do you want an official package with this changes?

@edevoogd
Copy link
Contributor Author

edevoogd commented Aug 6, 2020

Hi @xuzhg, I don't need an official package now.

@darrelmiller
Copy link
Member

We also created a fix for this here microsoftgraph#4 I don't think that the schema should be a string. The payload for a $ref is an object with a @OData.Id annotation. Also, you should PUT not PATCH a $ref and we don't think there is a delete for a $ref on a collection.

@xuzhg xuzhg merged commit f6f26df into microsoft:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect casing of type "String" in RefPatchOperationHandler and RefPostOperationHandler
3 participants