Class Annotations

java.lang.Object
grpc.gateway.protoc_gen_openapiv2.options.Annotations

public final class Annotations extends Object
  • Field Details

    • OPENAPIV2_SWAGGER_FIELD_NUMBER

      public static final int OPENAPIV2_SWAGGER_FIELD_NUMBER
      See Also:
    • openapiv2Swagger

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,Openapiv2.Swagger> openapiv2Swagger
       ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
       All IDs are the same, as assigned. It is okay that they are the same, as they extend
       different descriptor messages.
       
      extend .google.protobuf.FileOptions { ... }
    • OPENAPIV2_OPERATION_FIELD_NUMBER

      public static final int OPENAPIV2_OPERATION_FIELD_NUMBER
      See Also:
    • openapiv2Operation

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,Openapiv2.Operation> openapiv2Operation
       ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
       All IDs are the same, as assigned. It is okay that they are the same, as they extend
       different descriptor messages.
       
      extend .google.protobuf.MethodOptions { ... }
    • OPENAPIV2_SCHEMA_FIELD_NUMBER

      public static final int OPENAPIV2_SCHEMA_FIELD_NUMBER
      See Also:
    • openapiv2Schema

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,Openapiv2.Schema> openapiv2Schema
       ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
       All IDs are the same, as assigned. It is okay that they are the same, as they extend
       different descriptor messages.
       
      extend .google.protobuf.MessageOptions { ... }
    • OPENAPIV2_TAG_FIELD_NUMBER

      public static final int OPENAPIV2_TAG_FIELD_NUMBER
      See Also:
    • openapiv2Tag

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.ServiceOptions,Openapiv2.Tag> openapiv2Tag
       ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
       All IDs are the same, as assigned. It is okay that they are the same, as they extend
       different descriptor messages.
       
      extend .google.protobuf.ServiceOptions { ... }
    • OPENAPIV2_FIELD_FIELD_NUMBER

      public static final int OPENAPIV2_FIELD_FIELD_NUMBER
      See Also:
    • openapiv2Field

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,Openapiv2.JSONSchema> openapiv2Field
       ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
       All IDs are the same, as assigned. It is okay that they are the same, as they extend
       different descriptor messages.
       
      extend .google.protobuf.FieldOptions { ... }
  • Method Details

    • registerAllExtensions

      public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
    • registerAllExtensions

      public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
    • getDescriptor

      public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()