{"repo":"tabilzad/inspektor","free":true,"listed":false,"github":"https://github.com/tabilzad/inspektor","clone":"git clone https://github.com/tabilzad/inspektor.git","description":"Provides Ktor Swagger support","language":"Kotlin","stars":67,"topics":["kotlin","ktor","ktor-feature","ktor-server","openapi","swagger","codegen","compiler-plugin","gradle-plugin","android"],"license":null,"category":"mobile-apps","readme_excerpt":"InspeKtor OpenAPI (Swagger) specification generator for Ktor 📖 Full Documentation • Quick Start • Features • Configuration • Usage Guide --- What is InspeKtor? InspeKtor is a Kotlin compiler plugin that automatically generates OpenAPI (Swagger) specifications from your Ktor server code at build time . No runtime overhead, no special DSL wrappers, no code modifications required. Simply annotate your route definitions with @GenerateOpenApi and get a complete openapi.yaml or openapi.json specification. Why InspeKtor? Traditional Approach InspeKtor -------------------- --------------------------------------------- ---------------------------------------- Setup Manual spec writing or complex DSL wrappers Single annotation Maintenance Spec drifts from code over time Always in sync - generated from source Performance Runtime overhead for spec generation Zero runtime cost - build time only Learning Curve Learn new DSL or spec format Use your existing Ktor code --- Quick Start 1. Add the Plugin 2. Annotate Your Routes 3. Build Your Project Your OpenAPI specification is generated at build/resources/main/openapi/openapi.yaml Want a complete example? Check out the Sample Project --- Features Feature Type Description ------------------------------- --------------- ------------------------------------------------ Path & Endpoint Detection Automatic Extracts all routes from annotated functions Parameter Detection Automatic Path, query & header parameters from handler code, described via KD","default_branch":null,"files":null,"tree":[],"storefront":"/r/tabilzad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tabilzad/inspektor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}