Packages

p

kalix

json_schema

package json_schema

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class JsonSchema(jsonBodyInputField: String = "", input: String = "", output: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[JsonSchema] with Product with Serializable

    Additional metadata for views accepting JSON events in, as query request parameters and as responses from queries

    Additional metadata for views accepting JSON events in, as query request parameters and as responses from queries

    jsonBodyInputField

    Indicates the field in a incoming message that is expected to contain the json payload The field should be of type google.protobuf.Any and messages must have type_url 'json.kalix.io' and the value encoded accordingly (WIRETYPE_LENGTH_DELIMITED + UTF8 bytes)

    input

    Indicates the proto message describing the schema of the json_body_input_field payload, incoming message JSON will be parsed using this schema, only by queries to allow mixing parameters in a generated input type with fields from a JSON payload (updates are always expected to have Any as their input parameter and does not use this)

    output

    Indicates a proto message type describing the schema of the output json payload, used for view update methods to specify the schema used extract index values from the stored view entries and also the schema for the returned type from a query (either the same as the view message type or a custom projected message type)

    Annotations
    @SerialVersionUID()

Ungrouped