[T] JsonSchemaDecorator
Add to namespaces to emit models within that namespace to JSON schema. Add to another declaration to emit that declaration to JSON schema.
Optionally, for namespaces, you can provide a baseUri, and for other declarations, you can provide the id.
Parameters
Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Type | - |
baseUri ? | string | Schema IDs are interpreted as relative to this URI. |
Returns
void