blob: 190443f413b1c354ebc800e671b80bd006d123e5 [file] [log] [blame]
<!--
/***************************************************************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
***************************************************************************************************************************/
-->
HTTP-Part Annotations
<p>
The annotations used for defining the schema for request HTTP parts are:
</p>
<ul class='javatree'>
<li class='ja'>{@link oaj.http.annotation.Body}
<li class='ja'>{@link oaj.http.annotation.Header}
<li class='ja'>{@link oaj.http.annotation.FormData}
<li class='ja'>{@link oaj.http.annotation.Query}
<li class='ja'>{@link oaj.http.annotation.Path}
<li class='ja'>{@link oaj.http.annotation.HasFormData}
<li class='ja'>{@link oaj.http.annotation.HasQuery}
<li class='ja'>{@link oaj.http.annotation.Request}
</ul>
<p>
The annotations used for defining the schema for response HTTP parts are:
</p>
<ul class='javatree'>
<li class='ja'>{@link oaj.http.annotation.ResponseBody}
<li class='ja'>{@link oaj.http.annotation.ResponseHeader}
<li class='ja'>{@link oaj.http.annotation.ResponseStatus}
<li class='ja'>{@link oaj.http.annotation.Response}
</ul>
<p>
The sub-annotations used in the annotation above are:
</p>
<ul class='javatree'>
<li class='ja'>{@link oaj.jsonschema.annotation.Schema}
<li class='ja'>{@link oaj.jsonschema.annotation.Items}
</ul>
<ul class='notes'>
<li>
Annotation parameter values will be aggregated when used on POJO parent and child classes.
<br>Values on child classes override values on parent classes.
<li>
Annotation parameter values will be aggregated when used on both POJOs and REST methods.
<br>Values on methods override values on POJO classes.
</ul>