-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate content type strings in validateDoc (#471)
### Motivation - Fixes #342. ### Modifications - Create extracting and validation functions for content type strings. ### Result - This will help catch invalid content types before code generation. ### Test Plan - Test it on an openapi document to make sure the errors are thrown as intended and wrote additional unit tests. --------- Co-authored-by: Honza Dvorsky <[email protected]>
- Loading branch information
Showing
2 changed files
with
324 additions
and
0 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