@automatons/typescript-client-axios 1.0.11 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @automatons/typescript-client-axios
|
|
2
|
+
[](https://github.com/openapi-automatons/typescript-client-axios/actions/workflows/ci-cd.yml)
|
|
3
|
+
[](https://codecov.io/gh/openapi-automatons/typescript-client-axios)
|
|
4
|
+
[](https://github.com/semantic-release/semantic-release)
|
|
5
|
+
[](https://www.npmjs.com/package/@automatons/typescript-client-axios)
|
|
2
6
|
|
|
3
|
-
## What @automatons/typescript-client-axios
|
|
7
|
+
## What is @automatons/typescript-client-axios
|
|
4
8
|
This is generator.
|
|
5
9
|
Only use openapi-automatons.
|
|
10
|
+
|
|
11
|
+
## How can I use @automatons/typescript-client-axios?
|
|
12
|
+
This library is designed to be used by [openapi-automatons](https://github.com/openapi-automatons/openapi-automatons).
|
|
13
|
+
Please read the [readme](https://github.com/openapi-automatons/openapi-automatons/blob/main/README.md) of [openapi-automatons](https://github.com/openapi-automatons/openapi-automatons) for how to use it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatons/typescript-client-axios",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"repository": "git@github.com:openapi-automatons/typescript-client-axios.git",
|
|
5
5
|
"author": "tanmen <yt.prog@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"postversion": "cp package.json ../package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@automatons/parser": "^0.0.
|
|
25
|
-
"@automatons/tools": "^1.0.
|
|
24
|
+
"@automatons/parser": "^0.0.69",
|
|
25
|
+
"@automatons/tools": "^1.0.67",
|
|
26
26
|
"eslint": "^8.7.0",
|
|
27
27
|
"fs-extra": "^9.0.0",
|
|
28
28
|
"glob": "^7.2.0",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{{#if this~}}
|
|
2
|
-
server: {{#each this}}{{name}}Server{{#unless @last}} | {{/unless}}{{/each}}{{#lengthEqual this 1}} = { name: '{{this/0/name}}'{{#if this/0/values}}, values: { {{#each this/0/values}}{{name}}: '{{defaultValue}}',{{/each}} } {{/if}} }{{/
|
|
2
|
+
server: {{#each this}}{{name}}Server{{#unless @last}} | {{/unless}}{{/each}}{{#and (lengthEqual this 1) (isEmpty this/0/values)}} = { name: '{{this/0/name}}'{{#if this/0/values}}, values: { {{#each this/0/values}}{{name}}: '{{defaultValue}}',{{/each}} } {{/if}} }{{/and}},
|
|
3
3
|
{{~/if}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{{#if this~}}
|
|
2
|
-
server: {{#each this}}{{name}}Server{{#unless @last}} | {{/unless}}{{/each}}{{#lengthEqual this 1}} = { name: '{{this/0/name}}'{{#if this/0/values}}, values: { {{#each this/0/values}}{{name}}: '{{defaultValue}}',{{/each}} } {{/if}} }{{/
|
|
2
|
+
server: {{#each this}}{{name}}Server{{#unless @last}} | {{/unless}}{{/each}}{{#and (lengthEqual this 1) (isEmpty this/0/values)}} = { name: '{{this/0/name}}'{{#if this/0/values}}, values: { {{#each this/0/values}}{{name}}: '{{defaultValue}}',{{/each}} } {{/if}} }{{/and}},
|
|
3
3
|
{{~/if}}
|