forked from line/armeria
-
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.
Allow setting example paths and queries for DocService (line#2546)
Motivation: Currently, a user cannot set example paths and queries. line#2195 The endpoint path or queries are only set automatically when opening a URL that contains `endpoint_path` or `queries` as params. Modifications: - Add `examplePaths` to `DocService` and `DocServiceBuilder` - Add `exampleQueries` to `DocService` and `DocServiceBuilder` - Show `examplePath` if the `endpoint_path` is null and the `examplePath` is not null - Show `exampleQuery` if the `queries` is null and the `exampleQuery` is not null - Make `ENDPOINT PATH` input visible with read-only if a path is exact type Result: You can now set an example path and queries for `DocService` Fixes line#2195
- Loading branch information
Showing
13 changed files
with
408 additions
and
95 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
Oops, something went wrong.