Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
slahirucd7 committed Dec 11, 2023
1 parent e860b9e commit ebbae0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/internal/oasparser/model/swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (swagger *MgwSwagger) SetInfoSwagger(swagger2 spec.Swagger) error {
swagger.security = swagger2.Security
parsedResources, resourceParsingError := setResourcesSwagger(swagger2)
if resourceParsingError != nil {
return errors.New("one of the resource paths exceeds maximum allowed content length")
return errors.New("one of the resource paths in the swagger definition exceeds maximum allowed content length")
}
swagger.resources = parsedResources
swagger.apiType = HTTP
Expand Down

0 comments on commit ebbae0f

Please sign in to comment.