Releases: domgom/kontr
Releases · domgom/kontr
Release list
1.1.0
-
Removed generated classes from kontr-generator-postman library classpath
-
Refactored interfaces and design about code generation to serve the modular purpose with more refined design
-
Improved rq&rs body representation in the console and added detection to json content using reponse's content type.
-
Fixed removed and required Gson library.
-
Added GenerationOptions and propagated those option settings to the frontend.
-
Fixed drag an drop, simplifying upload in one place.
1.0.0
- Small changes to DSL so the return type of a request is the actual response. Makes it unnecessary to declare a receiving variable on the onResponse block.
- Added shorthand methods for serialisation/deserialisation. This forces a transitive dependency to kotlinx serialisation that is set to "provided" with the aim of reducing the library footprint so:
If you decide to use other json libraries like Jackson, Gson or Mochi, just don't usetoJson/fromJsonmethods.
Most people will want to include kotlinx serialisation and can benefit for the DSL functions. - Added more generation flags and by default now it generates a single object for the collection with "flattened" functions inside that object. If you have several levels of folders and requests with the same name there will be duplicated names (compile errors).
You can use the Generator directly passingnestedObjects = trueto go back to one nested class per nested folder.