...

Source file src/github.com/grpc-ecosystem/grpc-gateway/examples/internal/clients/unannotatedecho/model_runtime_error.go

Documentation: github.com/grpc-ecosystem/grpc-gateway/examples/internal/clients/unannotatedecho

     1  /*
     2   * examples/internal/proto/examplepb/unannotated_echo_service.proto
     3   *
     4   * Unannotated Echo Service Similar to echo_service.proto but without annotations. See unannotated_echo_service.yaml for the equivalent of the annotations in gRPC API configuration format.  Echo Service API consists of a single service which returns a message.
     5   *
     6   * API version: version not set
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package unannotatedecho
    11  
    12  type RuntimeError struct {
    13  	Error_ string `json:"error,omitempty"`
    14  	Code int32 `json:"code,omitempty"`
    15  	Message string `json:"message,omitempty"`
    16  	Details []ProtobufAny `json:"details,omitempty"`
    17  }
    18  

View as plain text