Skip to content

Commit 0a1a8f3

Browse files
authored
Update file path part 2 (#6)
## Changes Updating the path to reference a locally stored file as opposed to reference the copy on my local computer (this is a hack I did to get off the ground) This is a follow up PR because: - Some of the paths are not correct - I want the api spec file to have the same naming convention as the java repo ## Motivation This will enable us to publish the SDKs https://vanta-team-j1bu05uk.atlassian.net/browse/PEX-4217
1 parent 3792d70 commit 0a1a8f3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.devcontainer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 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 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
```

.devcontainer/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ EOL
2727
echo "$TS_CONFIG_CONTENT" > samples/tsconfig.json
2828

2929
# Generate starter usage sample with speakeasy
30-
speakeasy generate usage -s api-spec.yaml -l typescript -o samples/root.ts
30+
speakeasy generate usage -s api_spec.yaml -l typescript -o samples/root.ts

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ configVersion: 2.0.0
22
generation:
33
devContainers:
44
enabled: true
5-
schemaPath: api-spec.yaml
5+
schemaPath: api_spec.yaml
66
sdkClassName: Vanta
77
maintainOpenAPIOrder: true
88
usageSnippets:
File renamed without changes.

0 commit comments

Comments
 (0)