Ktor Plugin OpenApi documentation configuration
Greetings.
I am using the Ktor-Plugin to generate a documentation.yml of the embedded ktor server:
https://www.jetbrains.com/help/idea/ktor.html#generate-openapi
It would be nice to have extra fields in the documentation.yml instead of only “description” that is generated out of the java doc.
Is there a possibility to add extra fields like “summary” and other parameter as used e.g. in swagger.
Preferable would be a way to add to java doc or annotate above route functions.
Can I find more documentation of ktor-plugin than in the link above?
Thank you very much.
Please sign in to leave a comment.
I had the same problem. Any help would be appreciated.
I would love to add tags. Can someone tell me how I can also adjust the Header of the YAML file ?
info:
title: "asdfAPI"
description: "casdf API"
version: "1.0.0"