forked from endpoints4s/endpoints4s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support referential transparency for records
In a nutshell: - adds a new `DocumentedRecord` subclass for representing overrides of examples, descriptions, etc. on named schemas - renders that subclass using `allOf` with the base schema Note: this is a prototype - it doesn't solve referential transparency for names anywhere else (and it is likely that doing so would lead to more subclasses for the other documented JSON schema types). See endpoints4s#888
- Loading branch information
1 parent
32180e1
commit ef9aaa7
Showing
4 changed files
with
80 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters