Page 1 of 1

Integrating API Docs with DITA

Posted: Thu May 16, 2024 2:55 pm
by fregis
Hi,
I am integrating OpenAPI with DITA. I downloaded a sample OpneAPI spec (attached for reference) and added to my DITAmap. When I generated output in HTML and PDF, the code response where not displayed.
200-response-sample.PNG
Openapi-spec.7z

Re: Integrating API Docs with DITA

Posted: Fri May 17, 2024 11:38 am
by Cosmin Duna
Hi,
Thank you for bringing this to our attention.
Our current dynamic conversion process for publishing OpenAPI content does not automatically generate code examples from the schema.
We already have an internal issue for improving it. I've noted your request to our internal tracking system to help prioritize this enhancement.

Best regards,
Cosmin