responseJsonSchema property

Object? responseJsonSchema
getter/setter pair

Describes the output from this function in JSON Schema format.

The value specified by the schema is the response value of the function. This field is mutually exclusive with response.

Optional.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.Object? responseJsonSchema;