Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add operationsSorter and tagsSorter support to docker image #8343

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docker/configurator/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ const standardVariables = {
type: "number",
name: "maxDisplayedTags"
},
OPERATIONS_SORTER: {
type: "string",
name: "operationsSorter"
},
SHOW_EXTENSIONS: {
type: "boolean",
name: "showExtensions"
Expand All @@ -75,6 +79,10 @@ const standardVariables = {
type: "boolean",
name: "showCommonExtensions"
},
TAGS_SORTER: {
type: "string",
name: "tagsSorter"
},
USE_UNSAFE_MARKDOWN: {
type: "boolean",
name: "useUnsafeMarkdown"
Expand Down
4 changes: 2 additions & 2 deletions docs/usage/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Parameter name | Docker variable | Description
<td>
<a name="user-content-operationssorter"></a><code>operationsSorter</code>
</td>
<td><em>Unavailable</em></td>
<td>OPERATIONS_SORTER</td>
<td><code>Function=(a =&gt; a)</code>. Apply a sort to the operation
list of each API. It can be 'alpha' (sort by paths
alphanumerically), 'method' (sort by HTTP method) or a function (see
Expand Down Expand Up @@ -169,7 +169,7 @@ Parameter name | Docker variable | Description
</tr>
<tr>
<td><a name="user-content-tagsorter"></a><code>tagsSorter</code></td>
<td><em>Unavailable</em></td>
<td>TAGS_SORTER</td>
<td><code>Function=(a =&gt; a)</code>. Apply a sort to the tag list of
each API. It can be 'alpha' (sort by paths alphanumerically) or a
function (see <a
Expand Down