feat(config): add DefaultModelsExpandDepth set the default expansion depth for models#107
Merged
ubogdan merged 4 commits intoswaggo:masterfrom Aug 23, 2023
Merged
Conversation
Contributor
Author
|
hi @ubogdan can you check my PR? 🙏🏻 |
ubogdan
approved these changes
Aug 23, 2023
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #107 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 88 92 +4
=========================================
+ Hits 88 92 +4
☔ View full report in Codecov by Sentry. |
Contributor
Author
|
thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the PR
This PR aims to enhance the Swagger UI configuration by providing the ability to hide the model information. Currently, the Swagger UI displays model details, which might not be desirable in certain scenarios.
Relation issue
#106
Additional context
Introduce a new configuration option for Swagger UI to control the visibility of models.
Implement the necessary changes in the API or parameters to enable hiding the model information.
Update documentation to include details about the new configuration option and its usage.
Improved user experience by reducing clutter and focusing on relevant API details.
Increased flexibility in customizing the Swagger UI according to specific project requirements.
Please review the changes and provide any feedback or suggestions. This enhancement will contribute to a more user-friendly and streamlined Swagger UI experience.