Schema
Schema<
T
>(input
,config
?):OASDecoratedSchema
<T
>
Decorates a schema object with the provided OAS config.
Type Parameters
Type Parameter |
---|
T extends object |
Parameters
Parameter | Type |
---|---|
input | T |
config ? | SchemaConfig <T > |
Webroute
Schema<
T
>(input
,config
?):OASDecoratedSchema
<T
>
Decorates a schema object with the provided OAS config.
Type Parameter |
---|
T extends object |
Parameter | Type |
---|---|
input | T |
config ? | SchemaConfig <T > |