flamingo.me/flamingo-commerce/v3@v3.11.0/docs/swagger.go (about) 1 package docs 2 3 import ( 4 // embed openapi/swagger.json 5 _ "embed" 6 ) 7 8 //go:embed openapi/swagger.json 9 var swaggerJSON []byte 10 11 // Asset returns Flamingo Commerce swagger json definition 12 func Asset(_ string) ([]byte, error) { 13 return swaggerJSON, nil 14 }