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

Allow usage-site customisation of referenced schemas #3228

Merged
merged 9 commits into from
Oct 9, 2023

Conversation

adamw
Copy link
Member

@adamw adamw commented Oct 6, 2023

Closes #1203

Also: https://softwaremill.community/t/tapir-redoc-annotations-not-working-as-expected/289

To implement this change, it was necessary to change the way schemas are referenced: this is no longer done using the Reference object and an Either[Reference, Schema]. Instead, schemas can include a reference as part of the schema, as well as other properties. This is in-line with the changes done to JSON schema, and also referenced in the OpenAPI docs.

@adamw adamw marked this pull request as draft October 6, 2023 14:49
@adamw adamw marked this pull request as ready for review October 9, 2023 17:10
@adamw adamw merged commit 79717e1 into master Oct 9, 2023
@mergify mergify bot deleted the multi-customise-schemas branch October 9, 2023 20:32
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.

@description behavior is counterintuitive
1 participant