forked from 0b01001001/spectree
-
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.
Refactor the get_model_key util function (0b01001001#302)
🔀 refactor(types.py): add line breaks to import statements The import statements in the _types.py file were too long and difficult to read. Line breaks were added to improve readability. 🔀 refactor(response.py): add naming_strategy parameter to generate_spec method The generate_spec method in the Response class now accepts a naming_strategy parameter. This allows the user to specify a custom naming strategy for the model names in the response spec. 🔀 refactor(spec.py): add naming_strategy parameter to __init__ and parse_model methods The __init__ and parse_model methods in the SpecTree class now accept a naming_strategy parameter. This allows the user to specify a custom naming strategy for the model names in the OpenAPI spec. 🔀 refactor(utils.py): add naming_strategy parameter to get_model_schema and parse_resp functions The get_model_schema and parse_resp functions in the utils.py file now accept a naming_strategy parameter. This allows the user to specify a
- Loading branch information
1 parent
78edc00
commit d41dea0
Showing
4 changed files
with
44 additions
and
26 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