At the time of writing this the OpenAPI 3 spec is relatively new. I am struggling to find any documentation generators that support version 3.0.
Does anyone know of generators that support OpenAPI v3.0?
At the time of writing this the OpenAPI 3 spec is relatively new. I am struggling to find any documentation generators that support version 3.0.
Does anyone know of generators that support OpenAPI v3.0?
You can try OpenAPI Generator (https://openapi-generator.tech), which supports both OpenAPI spec v2, v3 and released a stable version (3.0.0) a few days ago.
Using docker, you can easily generate the API documentation:
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
-i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
-g html2 \
-o /local/out/html2
You will find a curated list of tools and libraries in the OAI Implementations document found at GitHub.
A couple of new developments to add:
A bit late to the party, I found it very useful for node.js express projects
oas-generator for Open API 3.0 spec: Link
© 2022 - 2024 — McMap. All rights reserved.