Skip to content

Adds support for reading custom attributes #214

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

Merged
merged 17 commits into from
May 9, 2022

Conversation

irvinesunday
Copy link
Contributor

Fixes #192

This PR:

  • Provides a means of reading custom attribute values from the CSDL through the setting CustomXMLAttributesMapping, which a client can use to provide a dictionary mapping of custom attribute names and extension names. The values of these custom attribute names will be extracted from the Edm model from an element if it contains the custom attribute. The values will then be mapped to the custom extension values provided in the dictionary and added to the relevant extensions object in the OpenAPI document.
  • Tests have been added (and integration files updated) to validate the above.

@irvinesunday irvinesunday requested a review from baywet April 25, 2022 20:59
@irvinesunday irvinesunday self-assigned this Apr 25, 2022
@baywet baywet added this to the 1.0.10-release milestone May 9, 2022
@irvinesunday irvinesunday merged commit d7855be into master May 9, 2022
@irvinesunday irvinesunday deleted the is/support-for-AGS-extensions branch May 9, 2022 21:12
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.

Add support for Graph AGS extensions
2 participants