Skip to content

OpenAPIv3: description bugs #3645

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

Conversation

isaacseymour
Copy link
Contributor

  1. Include description when hashing an attribute.

This means that if you have two types in your design which are structurally identical but with different descriptions on some attributes they will no longer be deduped. This is useful if descriptions are used in generated documentation or clients.

  1. Include descriptions on reference attributes in the generated schema

Previously any attribute which was defined as a ref to another schema in the output would not have the description included. This is now included!

This means that if you have two types in your design which are
structurally identical but with different descriptions on some
attributes they will no longer be deduped. This is useful if
descriptions are used in generated documentation or clients.
@isaacseymour isaacseymour force-pushed the openapi-v3-dont-dedupe-on-description branch from 6b82bb3 to 2e67f99 Compare February 7, 2025 16:48
@isaacseymour isaacseymour deleted the openapi-v3-dont-dedupe-on-description branch February 10, 2025 17:53
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