1

I've got a schema in OpenAPI 3.1 spec that was released recently. How can I generate html from that? I used to run

openapi-generator generate -i PathToMyInputDefinitionFile.yaml -g html -o /PathToOutputFolder

But as far as I can see, openapi-generator doesn't support it yet.

I'm interested specifically in python package that has a support of 3.1.0 already.

  • Until now there are still no generators for that, as a couple of bugs in OpenApi's own schema validators are open. We might need to wait a while for that, but libraries for 3.0.3 are available till then. – Sami Akkawi Apr 14 '21 at 08:12
  • As of today openapi-generator can still not handle OpenAPI 3.1.0, there is an [issue](https://github.com/OpenAPITools/openapi-generator/issues/9083) however – Flummiboy May 13 '22 at 15:19
  • Does this answer your question? [OpenAPI 3.1 with openapi-generator-cli typescript-fetch: JsonParseException: Unrecognized token 'openapi': was expecting (JSON String, ...)](https://stackoverflow.com/questions/71855162/openapi-3-1-with-openapi-generator-cli-typescript-fetch-jsonparseexception-unr) – Flummiboy May 13 '22 at 15:32

0 Answers0