Skip to content

JSON-Schema für die KEX-Vorgang-Import-API

License

Notifications You must be signed in to change notification settings

europace/kex-vorgang-api-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KEX-Vorgang-Import-API

This schema is the basic model for the kex-vorgang-import-api.

Usage

The following example shows the generation of Java-classes using our schema and gradle. For that, the folder jsonSchema, which contains our schema files, needs to be located in the root directory of the project. The generated POJOs are located in /src/main/java.

buildscript {

  ext {
    pojoDir = "${projectDir}/src/main/java"
  }

  dependencies {
    classpath "org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:0.4.30"
  }
}

jar.dependsOn generateJsonSchema2Pojo

jsonSchema2Pojo {
  annotationStyle = "none"
  includeAccessors = false
  includeAdditionalProperties = false
  includeToString = false
  initializeCollections = false
  removeOldOutput = true
  source = files("${projectDir}/jsonSchema")
  targetDirectory = file("${pojoDir}")
  useCommonsLang3 = true
  useJodaLocalDates = true
}

About

JSON-Schema für die KEX-Vorgang-Import-API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published