-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Improve Kotlin Misk OpenApi Generator #21165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
54645dd
cff7dbd
03e9b47
787304a
8888fbe
2e66982
1f56a8f
42aaaef
981d81c
53514b9
3e0077a
cc6d9d5
de78670
b0f96c0
93a5550
f5d4d40
fe76a63
281d61f
8cc1d45
0f6e76c
128a926
b059a74
af99d11
e932986
17124ee
e5ef191
6605164
ad0fd7a
90ea506
cc80a38
a6d9e51
460c807
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: kotlin-misk | ||
outputDir: samples/server/petstore/kotlin-misk-config | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/kotlin-misk | ||
validateSpec: false | ||
additionalProperties: | ||
hideGenerationTimestamp: "true" | ||
moduleClassName: "PetStoreModule" | ||
generateStubImplClasses: true | ||
addModelMoshiJsonAnnotation: true | ||
actionPathPrefix : "samplePrefix" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ generatorName: kotlin-misk | |
outputDir: samples/server/petstore/kotlin-misk | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe we can delete this one if its not required? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's still tested in the CI: https://github.com/OpenAPITools/openapi-generator/blob/master/.github/workflows/samples-kotlin-server.yaml#L50 why it's not required? |
||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/kotlin-misk | ||
validateSpec: false | ||
additionalProperties: | ||
hideGenerationTimestamp: "true" | ||
moduleClassName: "PetStoreModule" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# OpenAPI Generator Ignore | ||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
README.md | ||
build.gradle.kts | ||
docs/ApiResponse.md | ||
docs/Category.md | ||
docs/Order.md | ||
docs/Pet.md | ||
docs/PetApi.md | ||
docs/StoreApi.md | ||
docs/Tag.md | ||
docs/User.md | ||
docs/UserApi.md | ||
settings.gradle.kts | ||
src/main/kotlin/org/openapitools/server/api/api/PetApiAction.kt | ||
src/main/kotlin/org/openapitools/server/api/api/PetStoreModule.kt | ||
src/main/kotlin/org/openapitools/server/api/api/StoreApiAction.kt | ||
src/main/kotlin/org/openapitools/server/api/api/UserApiAction.kt | ||
src/main/kotlin/org/openapitools/server/api/model/Category.kt | ||
src/main/kotlin/org/openapitools/server/api/model/ModelApiResponse.kt | ||
src/main/kotlin/org/openapitools/server/api/model/Order.kt | ||
src/main/kotlin/org/openapitools/server/api/model/Pet.kt | ||
src/main/kotlin/org/openapitools/server/api/model/Tag.kt | ||
src/main/kotlin/org/openapitools/server/api/model/User.kt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.14.0-SNAPSHOT |
Uh oh!
There was an error while loading. Please reload this page.