The format is based on Keep a Changelog.
- templates: relocated under base template directory
CodeGenerator
: changed to load templates from new location
CodeGenerator
,Configurator
,Constraints
,Target
: Switched fromjsonutil
library tokjson-core
, and fromyaml-simple
tokjson-yaml
CodeGenerator
,Configurer
,Target
,Annotated
: Switched fromkotlin-mustache
tomustache-k
CodeGenerator
: added explicit types to public APIs
- templates: fixed bug in templates for map-based classes
CodeGenerator
: added explicit types to public APIs
build.yml
,deploy.yml
: converted project to GitHub Actions
pom.xml
: updated Kotlin version to 1.9.24, updated dependency versions
.travis.yml
CodeGenerator
,Configurator
,ClassName
, templates: added ability to configure class name for decimal values- templates: fixed bug in output of comments for nested enum classes
pom.xml
: updated dependency version
CodeGenerator
: extendedclassNames
configuration option to cover nested classesCodeGenerator
,Configurator
,Constraints
, templates: added extensible enum (experimental)
- templates: switch from
matches
tocontainsMatchIn
forRegex
pattern matching inpatternProperties
CodeGenerator
: updated for changes to default and examples validationpom.xml
: updated dependency versions
CodeGenerator
,Configurator
: added ability to validate examples and default valuespom.xml
: updated dependency versions
CodeGenerator
: fixed a bug inpatternProperties
- templates: fixed bug in arrays in map classes
pom.xml
: updated dependency version
- templates: fixed another bug in nested map classes
CodeGenerator
,Validation
, templates: improved validations, improvedtoString
in delegating classes- templates: fixed bug in enums nested in map classes
pom.xml
: updated dependency version
CodeGenerator
,Configurator
,Constraints
,Target
,Validation
, templates: added code generation foradditionalProperties
,patternProperties
minProperties
andmaxProperties
pom.xml
: updated dependency version
pom.xml
: updated dependency versions
CodeGenerator
: reverted change from version 0.97Target
: fixed bug in base / derived classes with array of object in base
CodeGenerator
: fixed bug in base / derived classes with array of object in base
CodeGenerator
: fixed bug in default values for array of enumCodeGenerator
: allowminLength
/maxLength
on custom classes that implementCharSequence
- templates: fixed minor bug in Java output
- templates: fixed minor bug in output of companion object
pom.xml
: updated dependency version
CodeGenerator
: fixed bug insanitiseName()
CodeGenerator
,Constraints
,Target
,Annotated
: apply annotations to nested classes
pom.xml
: updated dependency versionpom.xml
: updated Kotlin version to 1.8.22
- templates: modified Java code to avoid potential name clash
CodeGenerator
: bug fix (import for class used in base class)
pom.xml
: updated dependency versions
CodeGenerator
, templates: fixed bug in Typescript output (index)
StringValue
: switch hex conversion to useIntOutput
pom.xml
: update Kotlin version to 1.7.21- templates: fixed bug in Typescript output (secondary interfaces and enums)
Constraints
,Validation
: bug fix (duplicate validation)
CodeGenerator
,Constraints
,ClassDescriptor
, templates: bug fix (custom class import for derived class)
CodeGenerator
: addedanyOf
oroneOf
nullability special case
CodeGenerator
,Configurator
,Target
, templates: added ability to force output of companion objectpom.xml
: bumped dependency version
CodeGenerator
,DefaultValue
: fixed bug in handling ofdefault
CodeGenerator
,Constraints
,Validation
, templates: added limited handling ofnot
schemapom.xml
: bumped dependency versions
CodeGenerator
: bug fix - issue #14CodeGenerator
: improved handling of default values (DefaultValue
class)CodeGenerator
,Constraints
, templates: improved Java handling of nullability in derived classpom.xml
: bumped dependency versions
Annotated
,GeneratorContext
,annotations.mustache
: annotation handling
CodeGenerator
,Configurator
,Constraints
,Target
: added annotation handling- templates, config schema: annotation handling
CodeGenerator
: improved error messages- templates: added default values for custom classes
CodeGenerator
: allow duplicates of some validations if they are identical
pom.xml
: bumped dependency version
pom.xml
: switched tolog-front
5.0, droppedlogback
pom.xml
: bumped dependency version- templates: added
Builder
classes to Java output
CodeGenerator
: fixed additional bug in validation in derived types
ValidationValue
: marker interface for values used in validations
CodeGenerator
,Validation
, templates: fixed bug in validation in derived typesNumberValue
,StringValue
,Target
: make use ofValidationValue
pom.xml
: bumped dependency version
- templates: bug fix in
multipleOf
CodeGenerator
: added more flexible ways to specify targetspom.xml
: bumped dependency version
CodeGenerator
: another attempt to fix the directory creation problem
CodeGenerator
: added functions to build target listCodeGenerator
: bug fix - unnecessary output of nested classes for oneOfpom.xml
: bumped dependency versions
CodeGenerator
,TargetFileName
: changed creation of directories for generated codepom.xml
: bumped test dependency
CodeGenerator
,Constraints
, templates: improved handling of derived classes
CodeGenerator
: added ability to specify inputs by URIClassName
: addedof
functionConfigurator
: addedmarkerInterface
option
CodeGenerator
: improved handling of settable parameters
CodeGenerator
: fixed bug - preload not working correctlyCodeGenerator
: changed handling of target listpom.xml
: bumped dependency versions
CodeGenerator
: fixed bug - derived class losing type details for array in base class
CodeGenerator
,Configurator
,Target
, templates: added comment template functionalityCodeGenerator
,Target
: fixed bug in nested class naming
pom.xml
: bumped dependency version
- tests using json-schema.org examples
Configurator
: initial implementation ofconfigure
codegen-config.schema.json
: JSON Schema for config fileCONFIG.md
: notes on configuration
CodeGenerator
: initial implementation ofconfigure
CodeGenerator
: fixed regression bug inoneOf
CodeGenerator
: changed class name selection to accommodate URNs
CodeGenerator
, templates: fixed bug in base/derived nested classes
- templates: fixed bug in constructors (base/derived classes)
CodeGenerator
,Constraints
,NamedConstraints
, templates: fixed bug in base/derived classes
CodeGenerator
: improved usage of base and derived class pattern
- templates: add toString when generated class not a data class
README.md
: added notes on custom classes and the use of data class
CodeGenerator
, templates: fix bugs in copy and component functions
CodeGenerator
, templates: fix bugs in copy and component functions
CodeGenerator
, templates: fix bugs in copy and component functions
CodeGenerator
, templates: added copy and component function when generated class not a data class
CodeGenerator
, templates: more bug fixes
CodeGenerator
, templates: more bug fixes
pom.xml
: updated to Kotlin 1.5.20
CodeGenerator
, templates: fixed more bugs in handing of bases classes withanyOf
CodeGenerator
,ClassDescriptor
,Target
, templates: fixed bug in handing of bases classes withanyOf
CodeGenerator
: fixed bug - use ofAny
type when property has no attributes
pom.xml
: bumped dependency version
CodeGenerator
: fixed another problem withoneOf
Target
,ClassDescriptor
: fixed problem withoneOf
CodeGenerator
,Constraints
, templates: restructure handling ofoneOf
CodeGenerator
, templates: another attempt to fix bug in handling ofoneOf
- templates: fixed bug in handling of
oneOf
constructs
CodeGenerator
,Validation
, templates: improved decimal range checksCodeGenerator
,Constraints
,Target
,ClassDescriptor
, templates: added handling ofoneOf
constructs
- templates: improved default value handling
pom.xml
: bumped dependency versions
pom.xml
: bumped dependency versions
pom.xml
: bumped dependency versions
pom.xml
: bumped dependency versions
CodeGenerator
: removed generation of unnecessary min-max checkspom.xml
: bumped dependency versions
Target
: check for repeated use of same reference and generate nested class only onceCodeGenerator
: simplify specification of custom classes
CodeGenerator
: changed code generation to ignore "oneOf", "anyOf" and "not"CodeGenerator
: fixed bug - output of enums with invalid namesItemConstraints
,NamedConstraints
, templates: allow for property names that are not valid Kotlinpom.xml
: updated dependency versions
pom.xml
: updated dependency version
- templates: modified index template for TypeScript
pom.xml
: bumped dependency versions (with consequent changes)CodeGenerator
: minor optimisationsClassId
,ClassName
: clarified use of package and directory structure
CodeGenerator
: reorganised array validations (particularly nested arrays)- templates: improve pattern validation
CodeGenerator
,Validation
, templates: optimised array length validations- templates: optimised generation for multiple validations on same property
CodeGenerator
: fixed bug in mapping custom classes
- integration test (initial simple test of generated code)
- integration test (tests of complex generated code)
CodeGenerator
,Validation
, templates: optimised decimal comparisonsCodeGenerator
,Validation
, templates: optimised integer and long range checksCodeGenerator
: bug fix - no longer outputs checks for strings with format causing them to be non-string class- templates: use
open class
for empty inner class
CodeGenerator
, templates: changed handling of target languageCodeGenerator
,Constraints
, templates: improved handling of enums
TargetLanguage
: new
CodeGenerator
,OutputResolver
,Target
,TargetClass
: major changes to handling of target file nameCodeGenerator
, templates: added ability to output "index" files
TargetFileName
: new
- templates: fix bug in enum in TypeScript
- templates: added support for enum in TypeScript
CodeGenerator
,Target
, templates: improved TypeScript output
TargetClass
: abstracts functionality for imports etc.
- templates: fix bug in support for
uniqueItems
CodeGenerator
,Validation
, templates: added optimisation of string length checksCodeGenerator
,ItemConstraints
, templates: added checks on nested arraysCodeGenerator
: added output filter to remove excess newlinesCodeGenerator
,Constraints
,SystemClass
, templates: added support foruniqueItems
CodeGenerator
: bug fix in default values
- templates: output
open class
for object with no specified properties
- templates: minor formatting changes, improved tests
- templates: reduced indentation of Kotlin constructor parameters (from 8 to 4) in line with new Kotlin standard
CodeGenerator
: allow multiple delegating validatorsConstraints
: added support forint32
CodeGenerator
,Validation
, templates: changed handling of format duration, added json-pointer and relative-json-pointer- templates: fixed bug in validation of Java nullable fields
CodeGenerator
: fixed bug in ability to specify custom type by format
CodeGenerator
: added ability to specify custom type by format
CodeGenerator
, templates: added ability to add marker interfacepom.xml
: bumped dependency version
CodeGenerator
: bug fix - name of generated class
- templates: added base/derived classes in Java
- templates: improved generated hashCode in Java
CodeGenerator
: allow ".yml" as alternative to ".yaml" file extensionCodeGenerator
: allow use of Path to specify files
- templates: bug fix - derived classes with no additional members
CodeGenerator
: improved handling of derived classes
CodeGenerator
: addedNestedClassNameOption
CodeGenerator
: addedgeneratorComment
CodeGenerator
: addedgenerateAll()
to simplify output of multiple classes, e.g. form a Swagger API definitionCodeGenerator
: added KDoc
CodeGenerator
: further improvements to custom class URI matching
CodeGenerator
: another minor improvement to custom class URI matching
CodeGenerator
: small improvement to custom class URI matching
CodeGenerator
: improved handling of custom types
- templates: simplified indentation of generated code
- templates: added null check on Java array validation
CodeGenerator
: added ability to specify custom generated type for nominated nodes
- templates: improved output of comments
- templates: added header
- templates: added validation of array items
Constraints
: addednumberOfProperties
to assist templates- templates: improve handling of classes with no properties
- templates: allow standalone enum in Java
CodeGenerator
: tidied code from previous changesCodeGenerator
: improved handling of default valuesCodeGenerator
: improved validation of enumsCodeGenerator
: added ability to handle custom validations
CodeGenerator
: improved output of references to other classes in same generation run
CodeGenerator
: fix bug ingenerateClasses()
CodeGenerator
: addedgenerateClasses()
(multiplegenerateClass()
)
CodeGenerator
: small improvement to loggingCodeGenerator
: addedgenerateClass()
pom.xml
: added logback for test onlypom.xml
: updatedyaml-simple
version
pom.xml
: updated Mustache versionpom.xml
: updatedjson-kotlin-schema
versionpom.xml
: changed to uselog-front
library- templates: make use of advanced Mustache features
- several classes: changed to accommodate use of YAML for schema
- templates: improved generated Java hashCode
pom.xml
: updated Kotlin version to 1.4.0
CodeGenerator
: Fixed bug in validation of nested classes
- templates: Improved validation of nullable properties
- templates: output enums
- templates: Improved output of Java
CodeGenerator
: Added loggingCodeGenerator
: Major re-organisation
CodeGenerator
: improved sharing of constant values
CodeGenerator
: improved handling of pattern validation- templates: improved output of validation error messages
- templates: bug fix - validation of nullable types
CodeGenerator
: Added generation of pattern test
CodeGenerator
: bug fix - repeated nested classes
validation_string.mustache
: Added validationsuri
,uri-reference
,ipv4
,ipv6
CodeGenerator
: improved output of array of object
- all files: initial version (copied from
json-kotlin-schema
)