| Package | Description |
|---|---|
| com.grpc.gateway.protoc_gen_openapiv2.options |
| Modifier and Type | Method and Description |
|---|---|
Schema.Builder |
Schema.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Schema.Builder |
Schema.Builder.clear() |
Schema.Builder |
Schema.Builder.clearDiscriminator()
Adds support for polymorphism.
|
Schema.Builder |
Schema.Builder.clearExample()
A free-form property to include an example of an instance for this schema in JSON.
|
Schema.Builder |
Schema.Builder.clearExternalDocs()
Additional external documentation for this schema.
|
Schema.Builder |
Schema.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Schema.Builder |
Schema.Builder.clearJsonSchema()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
Schema.Builder |
Schema.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Schema.Builder |
Schema.Builder.clearReadOnly()
Relevant only for Schema "properties" definitions.
|
Schema.Builder |
Schema.Builder.clone() |
Schema.Builder |
Response.Builder.getSchemaBuilder()
`Schema` optionally defines the structure of the response.
|
Schema.Builder |
Schema.Builder.mergeExternalDocs(ExternalDocumentation value)
Additional external documentation for this schema.
|
Schema.Builder |
Schema.Builder.mergeJsonSchema(JSONSchema value)
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
Schema.Builder |
Schema.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Schema.Builder |
Schema.newBuilder() |
static Schema.Builder |
Schema.newBuilder(Schema prototype) |
Schema.Builder |
Schema.newBuilderForType() |
protected Schema.Builder |
Schema.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Schema.Builder |
Schema.Builder.setDiscriminator(String value)
Adds support for polymorphism.
|
Schema.Builder |
Schema.Builder.setDiscriminatorBytes(com.google.protobuf.ByteString value)
Adds support for polymorphism.
|
Schema.Builder |
Schema.Builder.setExample(String value)
A free-form property to include an example of an instance for this schema in JSON.
|
Schema.Builder |
Schema.Builder.setExampleBytes(com.google.protobuf.ByteString value)
A free-form property to include an example of an instance for this schema in JSON.
|
Schema.Builder |
Schema.Builder.setExternalDocs(ExternalDocumentation.Builder builderForValue)
Additional external documentation for this schema.
|
Schema.Builder |
Schema.Builder.setExternalDocs(ExternalDocumentation value)
Additional external documentation for this schema.
|
Schema.Builder |
Schema.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Schema.Builder |
Schema.Builder.setJsonSchema(JSONSchema.Builder builderForValue)
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
Schema.Builder |
Schema.Builder.setJsonSchema(JSONSchema value)
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
Schema.Builder |
Schema.Builder.setReadOnly(boolean value)
Relevant only for Schema "properties" definitions.
|
Schema.Builder |
Schema.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Schema.Builder |
Schema.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Schema.Builder |
Schema.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Response.Builder |
Response.Builder.setSchema(Schema.Builder builderForValue)
`Schema` optionally defines the structure of the response.
|
Copyright © 2024. All rights reserved.