Enriches Schema[A] with OpenAPI-specific operations.
Converts this Schema to an OpenAPI SchemaObject.
This method first converts the Schema to a JsonSchema using the existing toJsonSchema method, then wraps it in a SchemaObject using SchemaObject.fromJsonSchema.
A SchemaObject representing this Schema's structure and constraints.