@7nohe/openapi-react-query-codegen 0.3.3 → 0.3.4

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
@@ -28,6 +28,7 @@ Options:
28
28
  -i, --input <value> OpenAPI specification, can be a path, url or string content (required)
29
29
  -o, --output <value> Output directory (default: "openapi")
30
30
  -c, --client <value> HTTP client to generate [fetch, xhr, node, axios, angular] (default: "fetch")
31
+ --useUnionTypes Use union types (default: false)
31
32
  --exportSchemas <value> Write schemas to disk (default: false)
32
33
  --indent <value> Indentation options [4, 2, tabs] (default: "4")
33
34
  --postfix <value> Service name postfix (default: "Service")
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7nohe/openapi-react-query-codegen",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "OpenAPI React Query Codegen",
5
5
  "bin": {
6
6
  "openapi-rq": "dist/src/cli.js"
package/dist/src/cli.js CHANGED
@@ -15,6 +15,7 @@ program
15
15
  .requiredOption("-i, --input <value>", "OpenAPI specification, can be a path, url or string content (required)")
16
16
  .option("-o, --output <value>", "Output directory", "openapi")
17
17
  .option("-c, --client <value>", "HTTP client to generate [fetch, xhr, node, axios, angular]", "fetch")
18
+ .option("--useUnionTypes", "Use union types", false)
18
19
  .option("--exportSchemas <value>", "Write schemas to disk", false)
19
20
  .option("--indent <value>", "Indentation options [4, 2, tabs]", "4")
20
21
  .option("--postfix <value>", "Service name postfix", "Service")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7nohe/openapi-react-query-codegen",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "OpenAPI React Query Codegen",
5
5
  "bin": {
6
6
  "openapi-rq": "dist/src/cli.js"