We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15bc547 + 07252f3 commit 01f8ed3Copy full SHA for 01f8ed3
main.go
@@ -24,7 +24,7 @@ func main() {
24
// check if the input file exists
25
if _, err := os.Stat(*input); os.IsNotExist(err) {
26
fmt.Printf("Input file not found: %s\n", *input)
27
- return
+ panic(err)
28
}
29
30
// read the swagger file
@@ -37,7 +37,7 @@ func main() {
37
swagger, err := openapi3.NewLoader().LoadFromData(swaggerData)
38
if err != nil {
39
fmt.Printf("Error parsing Swagger file: %v\n", err)
40
41
42
43
// generate markdown
0 commit comments