Re:RFC: Hacker News – OpenAPI Specification for the REST API
by dandevs on Monday August 14, 2023 @12:05PM
(#37122658)
If you want to generate a Java client for testing, you can use Fern to generate one: https://github.com/fern-api/fern-java
disclaimer: I'm a maintainer of Fern.
Re:RFC: Hacker News – OpenAPI Specification for the REST API
by onenashev on Tuesday August 15, 2023 @01:42PM
(#37136958)
Yeah, there are many projects for client generation from OpenAPI, and the number keeps growing. Make sure to add your tool to https://tools.openapis.org/ !
WTH is OpenAPI we use? OpenAPI is an open standard, originally inherited from Swagger. It can be used to serve the docs on the website, IDE integrations, to generate client code and to create various API mocks for the integration tests.