Skip to content

Commit 5975445

Browse files
docs(api): update FilePath parameter description in secret
1 parent 9c429be commit 5975445

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 172
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f63ed183567d574cc063cf415990670e949f058ebc27c8f5b58a66c88a47f1b9.yml
3-
openapi_spec_hash: 7ef9fdbaf346bf292cd40344c35915e5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-95f4b5f46092288bbcb7239f4645a5c4a8bab207af478d684bda7b1824302249.yml
3+
openapi_spec_hash: 71d0bd114741dc44f319186f1bb29388
44
config_hash: ad1db65b32248aecda41b64586aac9ce

secret.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,10 @@ type SecretNewParams struct {
572572
// secret
573573
EnvironmentVariable param.Field[bool] `json:"environmentVariable"`
574574
// absolute path to the file where the secret is mounted value must be an absolute
575-
// path (start with a /):
575+
// path (e.g. /path/to/file):
576576
//
577577
// ```
578-
// this.matches('^/(?:[^/]*/)*.*$')
578+
// this.matches('^/[^/].*$')
579579
// ```
580580
FilePath param.Field[string] `json:"filePath"`
581581
Name param.Field[string] `json:"name"`

0 commit comments

Comments
 (0)