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

Tolerate schema properties named AdditionalProperties #1648

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Nov 21, 2023

Came across a schema having field additionalProperties which clashes with the generated [JsonExtensionData] AdditionalProperties. Added simple increment for the property name as more than two feels rare enough.

Edit: this might actually be that NSwag does invalid YAML -> JSONSchema conversion. Investigating...

@lahma lahma force-pushed the tolerate-additional-properties branch from c6e01d7 to b808644 Compare November 21, 2023 13:56
@lahma lahma marked this pull request as draft November 21, 2023 14:34
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.

1 participant