forked from loafle/openapi-generator-original
* Fix Retrofit template with Jackson (Fix #8147) This commit amends the `ApiClient` template for Retrofit. It fixes a bug where the Retrofit client uses Jackson as the serialization library. Until now, the `ApiClient` could not be compiled when using the Jackson library (default in SpringBoot applications), as the constructor of the class had the following parameter: `private val serializerBuilder: Builder = Serializer.Builder,` The change done in the commit, is to ensure that in case of Jackson, the right property of the `Serializer` class is assigned * Add sample code for `kotlin-jvm-jackson` This commit adds a sample code for the `kotlin-jvm-jackson` generated code to test the changes on CI * Update kotlin code samples for CI This commit only runs the command `bin/generate-samples.sh bin/configs/kotlin-*` to ensure that all code samples are up-to-date and CI can pass successfully.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
# 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
|