-
-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Description
Hi! When I am trying to parse a swagger schema file m giving me this error
value of openapi must be a non empty string
this is a small snippet of my code
ctx := context.Background()
loader := &openapi3.Loader{Context: ctx, IsExternalRefsAllowed: true}
doc, err := loader.LoadFromFile(filePath)
if err != nil {
return nil, fmt.Errorf("failed to Load OpenAPISchema file: %w", err)
}
err = doc.Validate(ctx)
Metadata
Metadata
Assignees
Labels
No labels