ContentTypeWithSchema constructor
Represents a response content type and its associated schema for this route.
public ContentTypeWithSchema(string ContentType, string? Schema = null)
| parameter | description |
|---|---|
| ContentType | The response content type. |
| Schema | The schema type associated with the response content type. |
See Also
- record ContentTypeWithSchema
- namespace Kestrun.Hosting.Options