-
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.
feat(controller function): map to controller function now can fallback
It can fallback to path + method (path in lower and method in PascalCase) as function name if no operationId is specified. This changes the default behavior! The current behavior can be achieved by an opt-out. BREAKING CHANGE: If no operationId is specified in an operation the mapped controller function name falls back to path + method (path in lower and method in PascalCase). You can opt this out with fallbackControllerFunctionToPath on AddFromSpecificationOpts. Closes #18
- Loading branch information
1 parent
6a5377f
commit 3761d5b
Showing
3 changed files
with
87 additions
and
29 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