File tree Expand file tree Collapse file tree 6 files changed +3612
-6
lines changed Expand file tree Collapse file tree 6 files changed +3612
-6
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ The speakeasy CLI allows you to generate more usage snippets. Here's how:
20
20
- To generate a sample for a specific operation by providing an operation ID, use:
21
21
22
22
```
23
- speakeasy generate usage -s /Users/christopherdang/Desktop/obsidian/apps/api-external/assets/__generated__/auditor-api/v1/ api-spec.yaml -l typescript -i {INPUT_OPERATION_ID} -o ./samples
23
+ speakeasy generate usage -s api-spec.yaml -l typescript -i {INPUT_OPERATION_ID} -o ./samples
24
24
```
25
25
26
26
- To generate samples for an entire namespace (like a tag or group name), use:
27
27
28
28
```
29
- speakeasy generate usage -s /Users/christopherdang/Desktop/obsidian/apps/api-external/assets/__generated__/auditor-api/v1/ api-spec.yaml -l typescript -n {INPUT_TAG_NAME} -o ./samples
29
+ speakeasy generate usage -s api-spec.yaml -l typescript -n {INPUT_TAG_NAME} -o ./samples
30
30
```
Original file line number Diff line number Diff line change 27
27
echo " $TS_CONFIG_CONTENT " > samples/tsconfig.json
28
28
29
29
# Generate starter usage sample with speakeasy
30
- speakeasy generate usage -s /Users/christopherdang/Desktop/obsidian/apps/api-external/assets/__generated__/auditor-api/v1/ api-spec.yaml -l typescript -o samples/root.ts
30
+ speakeasy generate usage -s api-spec.yaml -l typescript -o samples/root.ts
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ configVersion: 2.0.0
2
2
generation :
3
3
devContainers :
4
4
enabled : true
5
- schemaPath : /Users/christopherdang/Desktop/obsidian/apps/api-external/assets/__generated__/auditor-api/v1/ api-spec.yaml
5
+ schemaPath : api-spec.yaml
6
6
sdkClassName : Vanta
7
7
maintainOpenAPIOrder : true
8
8
usageSnippets :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ workflow:
21
21
sources:
22
22
Conduct an audit:
23
23
inputs:
24
- - location: ../obsidian/apps/api-external/assets/__generated__/auditor-api/v1/api-spec .yaml
24
+ - location: api_spec .yaml
25
25
overlays:
26
26
- location: .speakeasy/speakeasy-modifications-overlay.yaml
27
27
registry:
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ speakeasyVersion: latest
3
3
sources :
4
4
Conduct an audit :
5
5
inputs :
6
- - location : ../obsidian/apps/api-external/assets/__generated__/auditor-api/v1/api-spec .yaml
6
+ - location : api_spec .yaml
7
7
overlays :
8
8
- location : .speakeasy/speakeasy-modifications-overlay.yaml
9
9
registry :
You can’t perform that action at this time.
0 commit comments