@automatons/typescript-client-axios 1.0.14 → 1.0.18

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
+ [![CI/CD](https://github.com/openapi-automatons/typescript-client-axios/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/openapi-automatons/typescript-client-axios/actions/workflows/ci-cd.yml)
3
+ [![codecov](https://codecov.io/gh/openapi-automatons/typescript-client-axios/branch/main/graph/badge.svg)](https://codecov.io/gh/openapi-automatons/typescript-client-axios)
4
+ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
5
+ [![npm downloads](https://img.shields.io/npm/dw/@automatons/typescript-client-axios)](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.14",
3
+ "version": "1.0.18",
4
4
  "repository": "git@github.com:openapi-automatons/typescript-client-axios.git",
5
5
  "author": "tanmen <yt.prog@gmail.com>",
6
6
  "license": "MIT",
@@ -48,11 +48,11 @@
48
48
  "@types/handlebars-helpers": "^0.5.2",
49
49
  "@types/jest": "^27.4.0",
50
50
  "@types/js-yaml": "^4.0.5",
51
- "@types/node": "^17.0.14",
51
+ "@types/node": "^17.0.16",
52
52
  "@types/prettier": "^2.0.0",
53
53
  "@types/semantic-release": "^17.2.3",
54
- "@typescript-eslint/eslint-plugin": "^5.10.2",
55
- "@typescript-eslint/parser": "^5.10.2",
54
+ "@typescript-eslint/eslint-plugin": "^5.11.0",
55
+ "@typescript-eslint/parser": "^5.11.0",
56
56
  "axios-mock-adapter": "^1.20.0",
57
57
  "depcheck": "^1.4.3",
58
58
  "eslint": "^8.7.0",
@@ -64,7 +64,7 @@
64
64
  "object-to-formdata": "^4.4.1",
65
65
  "semantic-release": "^19.0.2",
66
66
  "ts-jest": "^26.0.0",
67
- "ts-node": "^10.4.0",
67
+ "ts-node": "^10.5.0",
68
68
  "typescript": "^4.5.5",
69
69
  "typesync": "^0.8.0",
70
70
  "yarn-deduplicate": "^3.1.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}} }{{/lengthEqual}},
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}} }{{/lengthEqual}},
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}}