Skip to content

Automated documentation generation and field validation

Compare
Choose a tag to compare
@eviltester eviltester released this 16 Jul 08:43
· 600 commits to master since this release

To run:

java -jar thingifier-1-1-jar-with-dependencies.jar

This starts up the HTTP REST API for the in built todo manager example.

Then issue commands to localhost:4567 e.g. localhost:4567/todo

Automated Documentation Generation

This release adds automatic documentation generation from the model.

When the app is running, visit http://localhost:4567/documentation in a browser to see the docs.

Constraint Validation

Also added some constraints in the model:

  • mandatory fields
  • field validation

Constraint validation should be performed when amending or creating instances and relationships with POST and PUT