HTTP-Part Annotations
The annotations used for defining the schema for request HTTP parts are:
- {@link oaj.http.annotation.Body}
- {@link oaj.http.annotation.Header}
- {@link oaj.http.annotation.FormData}
- {@link oaj.http.annotation.Query}
- {@link oaj.http.annotation.Path}
- {@link oaj.http.annotation.HasFormData}
- {@link oaj.http.annotation.HasQuery}
- {@link oaj.http.annotation.Request}
The annotations used for defining the schema for response HTTP parts are:
- {@link oaj.http.annotation.ResponseBody}
- {@link oaj.http.annotation.ResponseHeader}
- {@link oaj.http.annotation.ResponseStatus}
- {@link oaj.http.annotation.Response}
The sub-annotations used in the annotation above are:
- {@link oaj.jsonschema.annotation.Schema}
- {@link oaj.jsonschema.annotation.Items}
-
Annotation parameter values will be aggregated when used on POJO parent and child classes.
Values on child classes override values on parent classes.
-
Annotation parameter values will be aggregated when used on both POJOs and REST methods.
Values on methods override values on POJO classes.