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

Remove deprecated node packages #699

Merged
merged 3 commits into from
Jan 17, 2024
Merged
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
2 changes: 1 addition & 1 deletion demo/docs/customization/languagetabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The Docusaurus OpenAPI docs plugin comes with support for 8 languages which you
| `curl` | bash | `curl`\* |
| `python` | python | `requests`\*, `http.client` |
| `go` | go | `native`\* |
| `nodejs` | javascript | `axios`\*, `native`, `requests`, `unirest` |
| `nodejs` | javascript | `axios`\*, `native` |
| `ruby` | ruby | `net::http`\* |
| `csharp` | csharp | `restsharp`\*, `httpclient` |
| `php` | php | `curl`\*, `guzzle`, `pecl_http`, `http_request2` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const languageSet: Language[] = [
trimRequestBody: true,
},
variant: "axios",
variants: ["axios", "native", "request", "unirest"],
variants: ["axios", "native"],
},
{
highlight: "ruby",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,102 +635,6 @@
"description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
}
]
},
{
"key": "Request",
"options": [
{
"name": "Set indentation count",
"id": "indentCount",
"type": "positiveInteger",
"default": 2,
"description": "Set the number of indentation characters to add per code level"
},
{
"name": "Set indentation type",
"id": "indentType",
"type": "enum",
"availableOptions": ["Tab", "Space"],
"default": "Space",
"description": "Select the character used to indent lines of code"
},
{
"name": "Set request timeout",
"id": "requestTimeout",
"type": "positiveInteger",
"default": 0,
"description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
},
{
"name": "Follow redirects",
"id": "followRedirect",
"type": "boolean",
"default": true,
"description": "Automatically follow HTTP redirects"
},
{
"name": "Trim request body fields",
"id": "trimRequestBody",
"type": "boolean",
"default": false,
"description": "Remove white space and additional lines that may affect the server's response"
},
{
"name": "Enable ES6 features",
"id": "ES6_enabled",
"type": "boolean",
"default": false,
"description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
}
]
},
{
"key": "Unirest",
"options": [
{
"name": "Set indentation count",
"id": "indentCount",
"type": "positiveInteger",
"default": 2,
"description": "Set the number of indentation characters to add per code level"
},
{
"name": "Set indentation type",
"id": "indentType",
"type": "enum",
"availableOptions": ["Tab", "Space"],
"default": "Space",
"description": "Select the character used to indent lines of code"
},
{
"name": "Set request timeout",
"id": "requestTimeout",
"type": "positiveInteger",
"default": 0,
"description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
},
{
"name": "Follow redirects",
"id": "followRedirect",
"type": "boolean",
"default": true,
"description": "Automatically follow HTTP redirects"
},
{
"name": "Trim request body fields",
"id": "trimRequestBody",
"type": "boolean",
"default": false,
"description": "Remove white space and additional lines that may affect the server's response"
},
{
"name": "Enable ES6 features",
"id": "ES6_enabled",
"type": "boolean",
"default": false,
"description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
}
]
}
]
},
Expand Down
Loading