API documentation generation based on YAML specification