OpenAPI support: what status?

We are migrating to OpenAPI 3 in our Flussonic ecosystem and I have to write everything from scratch: api code generator, validator, etc.

Who else is using api-first approach? What tools do you use?

4 Likes

For some projects Iā€™m was use cowboy_swagger. Also I was see openapi-generator ā†’ erlang-client.

2 Likes

We at RBK.money use this approach with (unfortunately) our fork of swagger-codegen.

3 Likes

Got it, thanks.

We have switched to openapi 3 with api first approach and had to write lot of tooling.

I hope that we will be able to publish it:

  1. js code generator
  2. our special web_router that is split routing into 2 stages: parses request and then executes function
  3. type_mapper that validates all schemas
  4. query_api - module that can do collection filtering, sorting, etc.

Really lot of code, but it is extremely amazing.

5 Likes