Generating swaggers at compile time

At work, we&rsquo;ve been generating code from swaggers and publishing said generated code. Alas, this requires us to remember to generate the swagger(s), as well as fixing versions of libraries (which means you need to upgrade versions in the server, publish updated generated code, then update your client), see this examples from eikek/sbt-openapi-schema : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16…