{"repo":"fabrikt-io/fabrikt","free":true,"listed":false,"github":"https://github.com/fabrikt-io/fabrikt","clone":"git clone https://github.com/fabrikt-io/fabrikt.git","description":"Generates Kotlin Code from OpenAPI 3 Specifications","language":"Kotlin","stars":283,"topics":["code-generation","graalvm","kotlin","kotlin-library","kotlinx-serialization","micronaut","okhttp","openai-api","openapi","openapi3"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Fabrikt /ˈfa-brikt/ - Kotlin code from OpenAPI 3 Introduction Features Examples Usage Instructions Command Line Gradle w/ custom task Gradle w/ plugin Maven Docker Getting the Most from Fabrikt Configuration Options Original Motivation Building Locally Publishing Specific Features Introduction This library was built to take advantage of the complex modeling features available in OpenAPI 3. It generates Kotlin data classes with advanced support for features such as: - Null Safety - Inlined schema definitions - Enumerations - Sealed Classes - Polymorphism ( @JsonSubTypes ) - Maps of Maps of Maps - GraalVM Native Reflection Registration - Json Merge Patch (via JsonNullable ) (add x-json-merge-patch: true to schemas) - Override Jackson Include NonNull (via JsonInclude ) (add x-jackson-include-non-null: true to schemas) - Jackson's polymorphic subtype deduction (add x-jackson-subtype-deduction: true to the oneOf schema) to gain Sealed Interface polymorphism, without needing to declare a discriminator property. Requires subtypes to have distinguishing required fields. as well as HTTP clients and controllers for a number of popular frameworks (see Features). More than just bootstrapping, this library can be permanently integrated into your build tool and will ensure contract and code always match, even as APIs evolve in complexity. Try Fabrikt Online Try Fabrikt with your own API spec in the Fabrikt Playground and see how it can help you generate code for your API clients and server","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabrikt-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabrikt-io/fabrikt/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."}