We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ee821 commit 0a77f0dCopy full SHA for 0a77f0d
pkg/cmd/build.go
@@ -777,15 +777,9 @@ func getAPICommandContextWithWorkspaceDefaults(cmd *cli.Command) (*apiCommandCon
777
// Get the directory containing the workspace config file
778
configDir := filepath.Dir(config.ConfigPath)
779
780
- println("WTF " + strings.Join(names, ","))
781
if slices.Contains(names, "openapi-spec") && !cmd.IsSet("openapi-spec") && config.OpenAPISpec != "" {
782
// Set OpenAPI spec path relative to workspace config directory
783
openAPIPath := filepath.Join(configDir, config.OpenAPISpec)
784
- println()
785
- println(openAPIPath)
786
787
788
789
cmd.Set("openapi-spec", openAPIPath)
790
}
791
0 commit comments