Skip to content

Commit

Permalink
fix: sample spec needs no download (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRooney authored Nov 25, 2024
1 parent cdc8050 commit 54e552a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompts/sources.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func sourceBaseForm(ctx context.Context, quickstart *Quickstart) (*QuickstartSta
}

var summary *openapi.Summary
if authHeader == "" {
if authHeader == "" && len(fileLocation) > 0 {
_, contents, _ := openapi.GetSchemaContents(ctx, fileLocation, "", "")
summary, _ = openapi.GetOASSummary(contents, fileLocation)
}
Expand Down

0 comments on commit 54e552a

Please sign in to comment.