protoc-gen-swagger: return error when encoding swagger file
protoc-gen-swagger: return error when encoding swagger file

Previously, the error was being ignored
gengo/grpc-gateway,improbable-io/grpc-gateway,improbable-io/grpc-gateway,gengo/grpc-gateway,grpc-ecosystem/grpc-gateway