-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor enum implemenation by keeping things DRY. This PR adds better foundation over furhter development of features concerning enums. Aslo remove the limitation of not allowing `schema` attribute to be used on `oneOf` complex enum type. This allows defining of `default` and `example` attribute over complex enum via `schema` attribute of `ToSchema` derive macro. The enum refactoring is not complete but this PR will be first one in the serie of coming improvements and new features. relates to #285
- Loading branch information
Showing
11 changed files
with
624 additions
and
334 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
Oops, something went wrong.