<@U3W8YSSSV> there are generally 3 types of integr...
# server
d
@tipsy there are generally 3 types of integration AFAIK: 1. take a swagger JSON file and generate client/server code from it 2. annotate your code and then run it through a build plug-in to generate the swagger JSON for inclusion in a JAR (statically served). I don't think there are any generic annotations available for this, but I could be wrong - the f/w writer has to implement both bits 3. generate live swagger documentation from the endpoint code -
http4k-contract
does this at runtime using a combination of the lens mechanism and a DSL-y type API to add route metadata. If you supply example request/responses, then http4k will also break down the models and generate JSON-schema definitions into the swagger JSON.