Skip to main content

Interface: IEnumSchema

Properties of an EnumSchema.

Extends​

Properties​

default?​

optional default?: string | null

EnumSchema default

Inherited from​

$Properties.default


description?​

optional description?: string | null

A short description of the schema.

Inherited from​

$Properties.description


example?​

optional example?: string | null

EnumSchema example

Inherited from​

$Properties.example


extensions?​

optional extensions?: {[k: string]: $Properties; } | null

Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/

Inherited from​

$Properties.extensions


externalDocs?​

optional externalDocs?: $Properties | null

Additional external documentation for this schema.

Inherited from​

$Properties.externalDocs


readOnly?​

optional readOnly?: boolean | null

EnumSchema readOnly

Inherited from​

$Properties.readOnly


ref?​

optional ref?: string | null

Ref is used to define an external reference to include in the message. This could be a fully qualified proto message reference, and that type must be imported into the protofile. If no message is identified, the Ref will be used verbatim in the output. For example: ref: ".google.protobuf.Timestamp".

Inherited from​

$Properties.ref


required?​

optional required?: boolean | null

EnumSchema required

Inherited from​

$Properties.required


title?​

optional title?: string | null

The title of the schema.

Inherited from​

$Properties.title