I've been using Sourcery to generate documentation automatically for GitHub wiki (i.e. generate markdown files based on types & annotations), as it's pretty user friendly on there (as in "easy to read") and also very easy to do in templates thanks to Sourcery's capability to generate files on the fly.
However, using annotations is not very "coder-friendly" though, as it gets hard to maintain be
fun url title ->
{ url = url
title = title }
|> fun f -> withFields (f)
|> fun codec ->
let decode = fst codec
let encode = snd codec
jfieldOpt ("url") (fun x -> x.url) (decode, encode)
|> fun codec ->
let decode = fst codec
let encode = snd codec
🧩 A library that generates kotlin code for Retrofit 2 based on a Swagger endpoint. Includes an Annotation Processor to configure and generate the code on build time.
I've been using Sourcery to generate documentation automatically for GitHub wiki (i.e. generate markdown files based on types & annotations), as it's pretty user friendly on there (as in "easy to read") and also very easy to do in templates thanks to Sourcery's capability to generate files on the fly.
However, using annotations is not very "coder-friendly" though, as it gets hard to maintain be