MattC
MattC

Reputation: 847

Are there any generators that support OpenAPI 3?

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?

Upvotes: 11

Views: 8653

Answers (4)

tuggo
tuggo

Reputation: 23

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

Upvotes: 0

Ted Epstein
Ted Epstein

Reputation: 2889

A couple of new developments to add:

  • RepreZen API Studio now supports OpenAPI-Generator, referenced above by William. (Note: I work for RepreZen.)
  • OpenAPI.Tools is another great resource for OpenAPI v3-compatible editors, generators, doc formats, and other tools.

Upvotes: 1

William Cheng
William Cheng

Reputation: 10817

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

Upvotes: 11

Mike
Mike

Reputation: 736

You will find a curated list of tools and libraries in the OAI Implementations document found at GitHub.

Upvotes: 3

Related Questions