You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -113,12 +114,14 @@ manage api specification versions
113
114
114
115
create a new version of an api with an openapi spec
115
116
116
-
**Usage:**`sideko api version create [OPTIONS] --name <NAME> --version <VERSION> --spec <SPEC>`
117
+
**Usage:**`sideko api version create [OPTIONS] --name <NAME> --spec <SPEC>`
117
118
118
119
###### **Options:**
119
120
120
121
*`--name <NAME>` — api name or id e.g. my-api
121
-
*`--version <VERSION>` — semantic version (e.g. `2.1.5`) or version bump (`patch`, `minor`, `major`, `rc`)
122
+
*`--version <VERSION>` — semantic version (e.g. `2.1.5`) or version bump (`auto`, `patch`, `minor`, `major`, `rc-patch`, `rc-minor`, `rc-major`, `release`)
123
+
124
+
Default value: `auto`
122
125
*`--spec <SPEC>` — path to openapi specification (YAML or JSON format)
123
126
*`--allow-lint-errors` — Allow linting errors to be present in the provided spec [default: false]
124
127
@@ -156,12 +159,14 @@ list api versions
156
159
157
160
updates an existing api version
158
161
159
-
**Usage:**`sideko api version update [OPTIONS] --name <NAME> --version <VERSION>`
162
+
**Usage:**`sideko api version update [OPTIONS] --name <NAME>`
160
163
161
164
###### **Options:**
162
165
163
166
*`--name <NAME>` — api name or id e.g. my-api
164
167
*`--version <VERSION>` — version to update (e.g. `2.1.5` or `latest`)
168
+
169
+
Default value: `latest`
165
170
*`--new-version <NEW_VERSION>` — version to update with (e.g. `2.1.5`)
166
171
*`--spec <SPEC>` — path to openapi spec (yaml or json format) to update with
167
172
*`--allow-lint-errors` — Allow linting errors to be present in the provided spec [default: false]
@@ -184,12 +189,14 @@ updates an existing api version
184
189
185
190
downloads the openapi specification of an api version
186
191
187
-
**Usage:**`sideko api version download [OPTIONS] --name <NAME> --version <VERSION>`
192
+
**Usage:**`sideko api version download [OPTIONS] --name <NAME>`
188
193
189
194
###### **Options:**
190
195
191
196
*`--name <NAME>` — api name or id e.g. my-api
192
197
*`--version <VERSION>` — version to update (e.g. `2.1.5` or `latest`)
198
+
199
+
Default value: `latest`
193
200
*`--output <OUTPUT>` — custom output path of sdk config (must be .yaml or .yml or .json) the command may alter the extension according to the format of the downloaded OpenAPI file
194
201
195
202
@@ -198,12 +205,14 @@ downloads the openapi specification of an api version
198
205
199
206
create a new api
200
207
201
-
**Usage:**`sideko api create [OPTIONS] --name <NAME> --version <VERSION> --spec <SPEC>`
208
+
**Usage:**`sideko api create [OPTIONS] --name <NAME> --spec <SPEC>`
202
209
203
210
###### **Options:**
204
211
205
212
*`--name <NAME>` — name of api (only alphanumeric characters and dashes, e.g. `my-api`)
206
213
*`--version <VERSION>` — semantic version of initial version (e.g. `0.1.0`)
214
+
215
+
Default value: `0.1.0`
207
216
*`--spec <SPEC>` — path to openapi spec of initial version (yaml or json format)
208
217
*`--allow-lint-errors` — Allow linting errors to be present in the provided spec [default: false]
209
218
@@ -312,6 +321,7 @@ generate, customize, and sync sdks
312
321
*`config` — manage sdk configs
313
322
*`create` — create an sdk using an existing sdk config
314
323
*`update` — update sdk to implement changes to apis
324
+
*`released` — mark an sdk as released
315
325
316
326
317
327
@@ -406,20 +416,37 @@ create an sdk using an existing sdk config
0 commit comments