- ff06bff: Migrate templates from Handlebars to TypeScript. Templates are now TypeScript code and are customized via the generator's typed template APIs; the
customTemplatesconfig option is no longer supported.
- b0ffd06: Support the JSON Schema
nulltype, mapping it tokotlin.Anywith contextual serialization, matching the treatment of the any type. - 8280ba6: Update dependencies
-
efa1eb2: Default the generated Configuration's Json to
ignoreUnknownKeys = trueso clients tolerate additive API changes instead of failing on new response keys. The setting is applied before jsonBuilder, so callers can override it. -
1592edb: Fix decoding of explicit JSON
nullforNullable<T>propertiesNullable.Serializer.deserializeunconditionally delegated to the value serializer, so any response containing an explicitnull(e.g."editedAt": null) threw aJsonDecodingExceptionand failed the whole response. It now checks the decoder's null mark and returnsNullable.Null, and the serializer's descriptor is marked nullable to match.
-
154e5ce: Add configuration for the URL type and Android library output
urlImplementationselects the Kotlin type used for theurlstring format (e.g.java.net.URIorandroid.net.Uri), with an optionalfromStringfor types that aren't constructed directly from aString.gradle.pluginsandgradle.dependenciesinject extra lines verbatim into the generatedbuild.gradle.kts.- A new
androidoption generatesbuild.gradle.ktsas an Android library module (com.android.libraryplugin and aLibraryExtensionblock) so Android SDK types resolve natively.compileSdkaccepts a literal API level or a Kotlin expression. build.gradle.ktsis now regenerated on every run so configuration changes always take effect.
- 8c9eb28: Upgrade dependencies and node version
- 3cb3feb: Fix bad release missing code!
- fe6de67: Replace
kotlinx.datetime.Clockandkotlinx.datetime.Instantwith theirkotlin.time.\*replacements.
- ce93078: Update dependency versions.
- 70fd5d9: Exclude status code 500 from being treated as an expected auth failure
- 154fd8b: Replace
nilwithnull - ce8835d: Upgrade dependencies including eslint 9 and updated linting rules
- a00552b: Update interface to sealed interface
- 6188874: Fix parameter naming not matching the actual name from the spec
- 93c1cd8: Update core including toEnumMemberName change
- 5023101: Update to latest core
- 9b20c8e: Fix serializability of URLs, UUIDs and introduce support for Any
- 5e5ede7: Generate interfaces for request parameters that are implemented by generated data classes to allow for custom request objects
- 2159e31: Use authenticationFailed to indicate token failure and unexpectedResponse to indicate that a retry might be possible
- a7e9f22: Wrap security clients with runCatching for consistency in handling errors
- 2633cc8: replace incorrect use of #join to #set
- 5a0fe81: Support FILE schema type
- c90b980: include comma even on last property
- b932240: Fix concrete types of collection types, and use Set for unique items
- ce894d3: Tidy property overrides logic
- cbad48a: Added configuration options and error handling to the Oauth flows
- fbc1a80: Update dependencies including OpenAPI Generator Plus
- 0938016: Add convenience constructors to create generator date time objects from Kotlin date time objects
- 4eaf56c: remove unnecessary ordinal field in enum
- 72381e2: make api models java serializable by default
- 6caecc5: add serializer extension function import for built-in types
- 261f265: Remove constructor for objects that have no properties
- 8a7e7df: refactor scheme parameters into template fragment
- bb61ba1: fix styling
- d17c6bc: Reserve 'Unknown' as a keyword for enum types
- f974998: fix outdated approach in accessing serializer
- aeed0aa: generify the flag name
- bab6d07: Added human readable error messages on APIException objects
- 781a92a: refactor enum schemes to better replicate enum class
- 8289c38: Catch network exceptions thrown by OkHttp and return a result
- 3a6f242: add correct one-of serializers
- 0caecef: make serializer objects java.io.Serializable
- d550a3b: specify httpclientconfig generic type
- 3406ce3: separate properties based on use cases
- 02c6016: ensure main-safety in api endpoints
- e4e06b3: fix improper imports for one-of schemas
- 2a6e7da: fix non-relative name used for superclass of unknown enum case
- d69658b: call did change func everytime access token updates in the manager
- 7189d86: cleanup datetime wrapper classes
- 09ec5a3: Fix oneOf discriminator
- e473df6: fix enum naming to pascal case
- 8fe460e: Add configuration block to allow customising the HttpClientConfig
- 76086a7: Allow JsonBuilder to be confgured
- b76e0da: leverage sealed class with oneOf types
- 73a6914: handle one-of models with implicit discrimators
- 62cc700: add android bundle compatibility build flag
- 03b11be: return a result object after revoke operations
- ec9e739: replace datetime classes with java serializable wrapper classes
- a507bfc: allow auth by default on api operations
- 89ea047: Tidy up passing of supportPackage
- 91e069f: Fix array responses
- cce1021: fix paths for base urls without trailing slashes being ignored
- 5934068: add support for catch-all response codes
- f871a3c: remove redundant absolute reference of Duration class
- 8b3344e: Fix a wrongly fixed package
- bb556b6: Fix internal package references
- c438667: Configuration style to match Swift generator
- d5360d6: Fix independent gradle build so tests can compile
- c438667: Authentication support