SchemaTypeHelpers
object SchemaTypeHelpers
Utility helpers to work with OpenAPI schema types and $ref dereferencing.
Functions
Link copied to clipboard
Attempts to dereference a parameter $ref against the OpenAPI components. Returns the dereferenced parameter if found; otherwise returns the original.
Link copied to clipboard
Attempts to dereference a request body $ref against the OpenAPI components. Returns the dereferenced request body if found; otherwise returns the original.
Link copied to clipboard
Attempts to dereference a response $ref by status code.
Link copied to clipboard
Attempts to dereference a schema $ref against the OpenAPI components. Returns the dereferenced schema if found; otherwise returns the original schema.