| Package | Description |
|---|---|
| com.grpc.gateway.protoc_gen_openapiv2.options |
| Modifier and Type | Method and Description |
|---|---|
JSONSchema.Builder |
JSONSchema.Builder.addAllArray(Iterable<String> values)
Items in 'array' must be unique.
|
JSONSchema.Builder |
JSONSchema.Builder.addAllEnum(Iterable<String> values)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
JSONSchema.Builder |
JSONSchema.Builder.addAllRequired(Iterable<String> values)
repeated string required = 26 [json_name = "required"]; |
JSONSchema.Builder |
JSONSchema.Builder.addAllType(Iterable<? extends JSONSchema.JSONSchemaSimpleTypes> values)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.addAllTypeValue(Iterable<Integer> values)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.addArray(String value)
Items in 'array' must be unique.
|
JSONSchema.Builder |
JSONSchema.Builder.addArrayBytes(com.google.protobuf.ByteString value)
Items in 'array' must be unique.
|
JSONSchema.Builder |
JSONSchema.Builder.addEnum(String value)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
JSONSchema.Builder |
JSONSchema.Builder.addEnumBytes(com.google.protobuf.ByteString value)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
JSONSchema.Builder |
JSONSchema.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JSONSchema.Builder |
JSONSchema.Builder.addRequired(String value)
repeated string required = 26 [json_name = "required"]; |
JSONSchema.Builder |
JSONSchema.Builder.addRequiredBytes(com.google.protobuf.ByteString value)
repeated string required = 26 [json_name = "required"]; |
JSONSchema.Builder |
JSONSchema.Builder.addType(JSONSchema.JSONSchemaSimpleTypes value)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.addTypeValue(int value)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.clear() |
JSONSchema.Builder |
JSONSchema.Builder.clearArray()
Items in 'array' must be unique.
|
JSONSchema.Builder |
JSONSchema.Builder.clearDefault()
string default = 7 [json_name = "default"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearDescription()
A short description of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.clearEnum()
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
JSONSchema.Builder |
JSONSchema.Builder.clearExample()
A free-form property to include a JSON example of this field.
|
JSONSchema.Builder |
JSONSchema.Builder.clearExclusiveMaximum()
bool exclusive_maximum = 12 [json_name = "exclusiveMaximum"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearExclusiveMinimum()
bool exclusive_minimum = 14 [json_name = "exclusiveMinimum"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearExtensions() |
JSONSchema.Builder |
JSONSchema.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
JSONSchema.Builder |
JSONSchema.Builder.clearFieldConfiguration()
Additional field level properties used when generating the OpenAPI v2 file.
|
JSONSchema.Builder |
JSONSchema.Builder.clearFormat()
`Format`
|
JSONSchema.Builder |
JSONSchema.Builder.clearMaximum()
Maximum represents an inclusive upper limit for a numeric instance.
|
JSONSchema.Builder |
JSONSchema.Builder.clearMaxItems()
uint64 max_items = 20 [json_name = "maxItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMaxLength()
uint64 max_length = 15 [json_name = "maxLength"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMaxProperties()
uint64 max_properties = 24 [json_name = "maxProperties"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMinimum()
minimum represents an inclusive lower limit for a numeric instance.
|
JSONSchema.Builder |
JSONSchema.Builder.clearMinItems()
uint64 min_items = 21 [json_name = "minItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMinLength()
uint64 min_length = 16 [json_name = "minLength"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMinProperties()
uint64 min_properties = 25 [json_name = "minProperties"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearMultipleOf()
double multiple_of = 10 [json_name = "multipleOf"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JSONSchema.Builder |
JSONSchema.Builder.clearPattern()
string pattern = 17 [json_name = "pattern"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearReadOnly()
bool read_only = 8 [json_name = "readOnly"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearRef()
Ref is used to define an external reference to include in the message.
|
JSONSchema.Builder |
JSONSchema.Builder.clearRequired()
repeated string required = 26 [json_name = "required"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearTitle()
The title of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.clearType()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.clearUniqueItems()
bool unique_items = 22 [json_name = "uniqueItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.clone() |
JSONSchema.Builder |
Schema.Builder.getJsonSchemaBuilder()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
JSONSchema.Builder |
JSONSchema.Builder.mergeFieldConfiguration(JSONSchema.FieldConfiguration value)
Additional field level properties used when generating the OpenAPI v2 file.
|
JSONSchema.Builder |
JSONSchema.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JSONSchema.Builder |
JSONSchema.Builder.mergeFrom(JSONSchema other) |
JSONSchema.Builder |
JSONSchema.Builder.mergeFrom(com.google.protobuf.Message other) |
JSONSchema.Builder |
JSONSchema.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static JSONSchema.Builder |
JSONSchema.newBuilder() |
static JSONSchema.Builder |
JSONSchema.newBuilder(JSONSchema prototype) |
JSONSchema.Builder |
JSONSchema.newBuilderForType() |
protected JSONSchema.Builder |
JSONSchema.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
JSONSchema.Builder |
JSONSchema.Builder.putAllExtensions(Map<String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
JSONSchema.Builder |
JSONSchema.Builder.putExtensions(String key,
com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
JSONSchema.Builder |
JSONSchema.Builder.removeExtensions(String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
JSONSchema.Builder |
JSONSchema.Builder.setArray(int index,
String value)
Items in 'array' must be unique.
|
JSONSchema.Builder |
JSONSchema.Builder.setDefault(String value)
string default = 7 [json_name = "default"]; |
JSONSchema.Builder |
JSONSchema.Builder.setDefaultBytes(com.google.protobuf.ByteString value)
string default = 7 [json_name = "default"]; |
JSONSchema.Builder |
JSONSchema.Builder.setDescription(String value)
A short description of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.setDescriptionBytes(com.google.protobuf.ByteString value)
A short description of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.setEnum(int index,
String value)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
JSONSchema.Builder |
JSONSchema.Builder.setExample(String value)
A free-form property to include a JSON example of this field.
|
JSONSchema.Builder |
JSONSchema.Builder.setExampleBytes(com.google.protobuf.ByteString value)
A free-form property to include a JSON example of this field.
|
JSONSchema.Builder |
JSONSchema.Builder.setExclusiveMaximum(boolean value)
bool exclusive_maximum = 12 [json_name = "exclusiveMaximum"]; |
JSONSchema.Builder |
JSONSchema.Builder.setExclusiveMinimum(boolean value)
bool exclusive_minimum = 14 [json_name = "exclusiveMinimum"]; |
JSONSchema.Builder |
JSONSchema.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JSONSchema.Builder |
JSONSchema.Builder.setFieldConfiguration(JSONSchema.FieldConfiguration.Builder builderForValue)
Additional field level properties used when generating the OpenAPI v2 file.
|
JSONSchema.Builder |
JSONSchema.Builder.setFieldConfiguration(JSONSchema.FieldConfiguration value)
Additional field level properties used when generating the OpenAPI v2 file.
|
JSONSchema.Builder |
JSONSchema.Builder.setFormat(String value)
`Format`
|
JSONSchema.Builder |
JSONSchema.Builder.setFormatBytes(com.google.protobuf.ByteString value)
`Format`
|
JSONSchema.Builder |
JSONSchema.Builder.setMaximum(double value)
Maximum represents an inclusive upper limit for a numeric instance.
|
JSONSchema.Builder |
JSONSchema.Builder.setMaxItems(long value)
uint64 max_items = 20 [json_name = "maxItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMaxLength(long value)
uint64 max_length = 15 [json_name = "maxLength"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMaxProperties(long value)
uint64 max_properties = 24 [json_name = "maxProperties"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMinimum(double value)
minimum represents an inclusive lower limit for a numeric instance.
|
JSONSchema.Builder |
JSONSchema.Builder.setMinItems(long value)
uint64 min_items = 21 [json_name = "minItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMinLength(long value)
uint64 min_length = 16 [json_name = "minLength"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMinProperties(long value)
uint64 min_properties = 25 [json_name = "minProperties"]; |
JSONSchema.Builder |
JSONSchema.Builder.setMultipleOf(double value)
double multiple_of = 10 [json_name = "multipleOf"]; |
JSONSchema.Builder |
JSONSchema.Builder.setPattern(String value)
string pattern = 17 [json_name = "pattern"]; |
JSONSchema.Builder |
JSONSchema.Builder.setPatternBytes(com.google.protobuf.ByteString value)
string pattern = 17 [json_name = "pattern"]; |
JSONSchema.Builder |
JSONSchema.Builder.setReadOnly(boolean value)
bool read_only = 8 [json_name = "readOnly"]; |
JSONSchema.Builder |
JSONSchema.Builder.setRef(String value)
Ref is used to define an external reference to include in the message.
|
JSONSchema.Builder |
JSONSchema.Builder.setRefBytes(com.google.protobuf.ByteString value)
Ref is used to define an external reference to include in the message.
|
JSONSchema.Builder |
JSONSchema.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
JSONSchema.Builder |
JSONSchema.Builder.setRequired(int index,
String value)
repeated string required = 26 [json_name = "required"]; |
JSONSchema.Builder |
JSONSchema.Builder.setTitle(String value)
The title of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.setTitleBytes(com.google.protobuf.ByteString value)
The title of the schema.
|
JSONSchema.Builder |
JSONSchema.Builder.setType(int index,
JSONSchema.JSONSchemaSimpleTypes value)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.setTypeValue(int index,
int value)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35 [json_name = "type"]; |
JSONSchema.Builder |
JSONSchema.Builder.setUniqueItems(boolean value)
bool unique_items = 22 [json_name = "uniqueItems"]; |
JSONSchema.Builder |
JSONSchema.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
JSONSchema.Builder |
JSONSchema.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Schema.Builder |
Schema.Builder.setJsonSchema(JSONSchema.Builder builderForValue)
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
Copyright © 2023. All rights reserved.