OaSchemaTypeExtensions.ToJsonSchemaType method
Converts OaSchemaType to JsonSchemaType.
public static JsonSchemaType? ToJsonSchemaType(this OaSchemaType schemaType)
| parameter | description |
|---|---|
| schemaType | The OaSchemaType value. |
Return Value
The corresponding JsonSchemaType value, or null if OaSchemaType.None.
See Also
- class OaSchemaTypeExtensions
- namespace Kestrun.OpenApi