@voxgig/create-sdkgen 0.30.0 → 0.30.1
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 +1 -1
- package/package.json +1 -1
- package/project/standard/.sdk/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ generated output and is overwritten on each regenerate.
|
|
|
33
33
|
| Flag | Meaning |
|
|
34
34
|
| --- | --- |
|
|
35
35
|
| `<name>` | SDK name (kebab-case), the package base name |
|
|
36
|
-
| `-d, --def <spec>` | OpenAPI 3 spec file (`.yaml`/`.json`)
|
|
36
|
+
| `-d, --def <spec>` | OpenAPI 3 spec file (`.yaml`/`.json`). Its `servers` entry names the base URL of the API. A spec without one still builds: the SDK then takes the URL as its `base` server variable, or `.sdk/build/apidef.js` fixes one with the `server` option |
|
|
37
37
|
| `-o, --folder <dir>` | output directory (default `<name>-sdk`) |
|
|
38
38
|
| `-t, --target <langs>` | targets to add during scaffold (e.g. `ts,py,go`) |
|
|
39
39
|
| `-f, --feature <feats>` | features to add (e.g. `test`) |
|
package/package.json
CHANGED