«REST Resource»
Stereotype «RESTResource»
can be used to mark a JEAF Service to also expose his operations at least partially also as REST Resource. Please be aware that the Stereotype only makes sense to be used on interfaces that are marked as JEAF Service using stereotype «JEAFService»
.
Stereotype |
| |
Applicable Elements |
| |
Tagged Values | ||
Name | Type | Description |
|
| Path under which the REST resource should be available. The attribute is optional. However as from a REST perspective it’s a best practice to define it. So it’s strongly recommended to do so already in the UML model. |
|
| Optional definition of the media types that are used to encode the responses of the REST calls (e.g. JSON, XML etc.). |
|
| Optional definition of the media types that are supported to be used to encode REST requests (e.g. JSON, XML etc.). |
For further information please refer to: