Live data from Hacker News

Show HN: A faster way to prototype your APIs using OpenAPI 3 and Swagger UI

github.com

41–42 of 42 posts

Re: Show HN: A faster way to prototype your APIs using OpenAPI 3 and Swagger UI

#41
post #30
post #5

Earlier quoted context omitted.

I have extensively used OpenAPI Specs for years. You're right that tools are almost all partially-baked. I use specs to generate data models in TypeScript, Kotlin, and .NET (for different projects). This gives me compile-time guarantees that my API docs match my code. I also use it for generating documentation and client SDKs in other languages. If used correctly, it can help automate hundreds or thousands of hours o…

How do you use it for generating documentation? Can you generate anything other than Swagger UI for API docs?

The best CLI documentation generator I've found so far is Redoc[1].

There are tons of hosted solutions for docs (Apimatic, SwaggerHub, Stoplight, and Apicurio Studio).

My favorites are SwaggerHub[2] and Apicurio[3], because their editors are solid and they have good compatibility with all the nooks and crannies of the OpenAPI v3 spec.

1. https://github.com/Redocly/redoc

2. https://swagger.io/tools/swaggerhub

3. https://studio.apicur.io

Re: Show HN: A faster way to prototype your APIs using OpenAPI 3 and Swagger UI

#42
post #5

Earlier quoted context omitted.

I have extensively used OpenAPI Specs for years. You're right that tools are almost all partially-baked. I use specs to generate data models in TypeScript, Kotlin, and .NET (for different projects). This gives me compile-time guarantees that my API docs match my code. I also use it for generating documentation and client SDKs in other languages. If used correctly, it can help automate hundreds or thousands of hours o…

What tools do you use?

See sibling comments for some links
Post reply on HN