mirror of
https://github.com/datarhei/core.git
synced 2025-10-08 01:10:20 +08:00
Create publisher for remote srt stream
This commit is contained in:
2
vendor/github.com/swaggo/swag/operation.go
generated
vendored
2
vendor/github.com/swaggo/swag/operation.go
generated
vendored
@@ -1130,7 +1130,7 @@ func (operation *Operation) ParseEmptyResponseOnly(commentLine string) error {
|
||||
return fmt.Errorf("can not parse response comment \"%s\"", commentLine)
|
||||
}
|
||||
|
||||
operation.AddResponse(code, spec.NewResponse())
|
||||
operation.AddResponse(code, spec.NewResponse().WithDescription(http.StatusText(code)))
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user