{"repo":"CourseOrchestra/hurdy-gurdy","free":true,"listed":false,"github":"https://github.com/CourseOrchestra/hurdy-gurdy","clone":"git clone https://github.com/CourseOrchestra/hurdy-gurdy.git","description":"Generate client and server side Java/Kotlin code based on OpenAPI spec","language":"Java","stars":44,"topics":["hurdy-gurdy","openapi","openapi-generator"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Hurdy-Gurdy Generates client and server side Java/Kotlin code based on OpenAPI spec, using swagger-parser, JavaPoet and KotlinPoet. Usage examples Java or Kotlin? Spring or Quarkus? Maven, Gradle, or plain CLI? Lombok, POJO or Java records for DTOs? Fill this form and copy the config for your build tool. Maven plugin The gen-server goal skips regeneration when nothing the generated sources depend on has changed since the last run: the spec file and every file it (transitively) references via $ref: \" #/...\" , the effective plugin configuration, and the plugin version itself. This is tracked by marker files under target/hurdy-gurdy/ . For several specs in one build, declare one per spec, each with its own (including a distinct ): Gradle plugin Each named block registers a generate task (e.g. generatePetstore ) whose output dir is added to the main source set, so compileJava / compileKotlin depend on it automatically. The task is cacheable: unchanged inputs — the spec, every file it (transitively) references via $ref: \" #/...\" , and the configuration — keep both generation and dependent compilation UP-TO-DATE . For Kotlin output, set language = Language.KOTLIN and apply the Kotlin JVM plugin. Direct API usage from Kotlin code CLI Build the executable fat jar: mvn -DskipTests package java -jar target/hurdy-gurdy- -cli.jar \\ --spec src/main/openapi/api.yaml \\ --root-package com.example.project \\ --output generated-sources \\ --framework spring --generate controller,client Options: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/CourseOrchestra","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CourseOrchestra/hurdy-gurdy/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."}