functions.php
Functions
schema_to_openapi_specification()
Convert Flow Schema to OpenAPI specification format.
schema_to_openapi_specification(Schema $schema) : array<string, mixed>
Parameters
- $schema : Schema
Return values
array<string, mixed>schema_from_openapi_specification()
Convert OpenAPI specification to Flow Schema.
schema_from_openapi_specification(array<string, mixed> $openApiSpec) : Schema
Parameters
- $openApiSpec : array<string, mixed>