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:
2020- To generate a sample for a specific operation by providing an operation ID, use:
2121
2222```
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
2424```
2525
2626- To generate samples for an entire namespace (like a tag or group name), use:
2727
2828```
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
3030```
Original file line number Diff line number Diff line change 2727echo " $TS_CONFIG_CONTENT " > samples/tsconfig.json
2828
2929# 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
22generation :
33 devContainers :
44 enabled : true
5- schemaPath : /Users/christopherdang/Desktop/obsidian/apps/api-external/assets/__generated__/auditor-api/v1/ api-spec.yaml
5+ schemaPath : api-spec.yaml
66 sdkClassName : Vanta
77 maintainOpenAPIOrder : true
88 usageSnippets :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ workflow:
2121 sources:
2222 Conduct an audit:
2323 inputs:
24- - location: ../obsidian/apps/api-external/assets/__generated__/auditor-api/v1/api-spec .yaml
24+ - location: api_spec .yaml
2525 overlays:
2626 - location: .speakeasy/speakeasy-modifications-overlay.yaml
2727 registry:
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ speakeasyVersion: latest
33sources :
44 Conduct an audit :
55 inputs :
6- - location : ../obsidian/apps/api-external/assets/__generated__/auditor-api/v1/api-spec .yaml
6+ - location : api_spec .yaml
77 overlays :
88 - location : .speakeasy/speakeasy-modifications-overlay.yaml
99 registry :
You can’t perform that action at this time.
0 commit comments