Annotation Interface JsonSchema
An annotation that signifies that json schema should be created for the object.
The JSON schema will attempt to mimic the way this object would be serialized.
- Since:
- 1.0.0
- Author:
- Andriy Dmytruk
-
Optional Element Summary
Optional Elements
-
Element Details
-
title
String titleThe title of the JSON schema. By default, the class name will be used.- Returns:
- The title
- Default:
""
-
description
String descriptionThe description of the JSON schema. By default, javadoc of the object will be used.- Returns:
- The description
- Default:
""
-
uri
String uriThe schema's relative or absolute URI. The default will create the URI based on class name and configured base URI.- Returns:
- The URI
- Default:
""
-