Expand description
Serialization module for converting OpenAPI documents to YAML or JSON format.
This module provides functions to serialize OpenAPI documents into standard formats and write them to files or return them as strings.
Functionsยง
- serialize_
json - Serializes an OpenAPI document to JSON format with pretty printing.
- serialize_
yaml - Serializes an OpenAPI document to YAML format.
- write_
to_ file - Writes string content to a file.