File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ func handleWorkspaceInit(ctx context.Context, cmd *cli.Command) error {
107107 huh .NewInput ().
108108 Title ("openapi_spec (optional)" ).
109109 Description ("Relative path to your OpenAPI spec file" ).
110- Placeholder ("openapi.yml" ).
110+ Placeholder ("./ openapi.yml" ).
111111 Value (& openAPISpec ),
112112 huh .NewInput ().
113113 Title ("stainless_config (optional)" ).
114114 Description ("Relative path to your Stainless config file" ).
115- Placeholder ("openapi.stainless.yml" ).
115+ Placeholder ("./ openapi.stainless.yml" ).
116116 Value (& stainlessConfig ),
117117 ),
118118 ).WithTheme (GetFormTheme (0 )).WithKeyMap (GetFormKeyMap ())
@@ -261,7 +261,7 @@ func findOpenAPISpec() string {
261261
262262 for _ , filename := range commonOpenAPIFiles {
263263 if _ , err := os .Stat (filename ); err == nil {
264- return filename
264+ return "./" + filename
265265 }
266266 }
267267 return ""
@@ -278,7 +278,7 @@ func findStainlessConfig() string {
278278
279279 for _ , filename := range commonStainlessFiles {
280280 if _ , err := os .Stat (filename ); err == nil {
281- return filename
281+ return "./" + filename
282282 }
283283 }
284284 return ""
You can’t perform that action at this time.
0 commit comments