...

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

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

     1  /*
     2   * Unannotated Echo
     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: 1.0
     7   * Contact: none@example.com
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  
    11  package unannotatedecho
    12  // ExamplepbNumericEnum : NumericEnum is one or zero.   - ZERO: ZERO means 0  - ONE: ONE means 1
    13  type ExamplepbNumericEnum string
    14  
    15  // List of examplepbNumericEnum
    16  const (
    17  	ZERO_ExamplepbNumericEnum ExamplepbNumericEnum = "ZERO"
    18  	ONE_ExamplepbNumericEnum ExamplepbNumericEnum = "ONE"
    19  )
    20  

View as plain text