Class SchemaBuilder<Resource>
Constructors
constructor
- new SchemaBuilder<Resource>(resourceName: string): SchemaBuilder<Resource>
Type parameters
Parameters
Properties
Readonly resourceName
resourceName: string
Methods
links
- links(handler: (params: DocParams) => unknown): SchemaBuilder<Resource>
Parameters
handler: (params: DocParams) => unknown
- (params: DocParams): unknown
Parameters
Returns unknown
meta
- meta(handler: (params: DocParams) => unknown): SchemaBuilder<Resource>
Parameters
handler: (params: DocParams) => unknown
- (params: DocParams): unknown
Parameters
Returns unknown