mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* Skip post processing when generating JAXRS spec with Kotlin This feature was previously added to work with the javalin5 library * Add sample that proves what we expect after fixing this * Update sample * Added new samples to samples workflow * Revert from jdk17 pipeline
1.3 KiB
1.3 KiB
org.openapitools.server - Kotlin Server library for OpenAPI Stuff API created to reproduce issue
Requires
- Kotlin 1.4.31
- Gradle 6.8.2
Build
First, create the gradle wrapper script:
gradle wrapper
Then, run:
./gradlew check assemble
This runs all tests and packages the library.
Features/Implementation Notes
- Supports JSON inputs/outputs, File inputs, and Form inputs.
- Supports collection formats for query parameters: csv, tsv, ssv, pipes.
- Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
Documentation for API Endpoints
All URIs are relative to https://example.org/v1
Class | Method | HTTP request | Description |
---|---|---|---|
StuffApi | findStuff | GET /stuff | Finds stuff |
StuffApi | findUniqueStuff | GET /uniquestuff | Finds unique stuff |
Documentation for Models
Documentation for Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: HTTP Bearer Token authentication (JWT)