SchemaInterface interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface for Schema class.
Signature:
export interface SchemaInterface extends SchemaShared<SchemaInterface>
Extends: SchemaShared<SchemaInterface>
Properties
Property |
Type |
Description |
type |
SchemaType |
The type of the property. this can only be undefined when using anyof schemas, which do not have an explicit type in the OpenAPI Specification. |
SchemaInterface.type
The type of the property. this can only be undefined when using anyof
schemas, which do not have an explicit type in the OpenAPI Specification.
Signature:
type?: SchemaType;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["Interface for [Schema](./ai.schema.md#schema_class) class.\n\n**Signature:** \n\n export interface SchemaInterface extends SchemaShared\u003cSchemaInterface\u003e \n\n**Extends:** [SchemaShared](./ai.schemashared.md#schemashared_interface)\\\u003c[SchemaInterface](./ai.schemainterface.md#schemainterface_interface)\\\u003e\n\nProperties\n\n| Property | Type | Description |\n|-----------------------------------------------------|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [type](./ai.schemainterface.md#schemainterfacetype) | [SchemaType](./ai.md#schematype) | The type of the property. this can only be undefined when using `anyof` schemas, which do not have an explicit type in the [OpenAPI Specification](https://swagger.io/docs/specification/v3_0/data-models/data-types/#any-type). |\n\nSchemaInterface.type\n\nThe type of the property. this can only be undefined when using `anyof` schemas, which do not have an explicit type in the [OpenAPI Specification](https://swagger.io/docs/specification/v3_0/data-models/data-types/#any-type).\n\n**Signature:** \n\n type?: SchemaType;"]]