spring/README.md
This module overrides OpenFeign/feign annotation processing to instead use standard ones supplied by the spring annotations specification.
Feign only supports processing java interfaces (not abstract or concrete classes).
ISE is raised when any annotation's value is empty or null. Ex. Path("") raises an ISE.
Here are a list of behaviors currently supported.
@RequestMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
The method sets the request method.
The produces adds the first value as the Accept header.
The consume adds the first value as the Content-Type header.
@RequestMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
The method sets the request method.
@GetMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
Sets the GET request method.
@PostMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
Sets the POST request method.
@PutMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
Sets the PUT request method.
@DeleteMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
Sets the DELETE request method.
@PatchMappingAppends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations.
Sets the PATCH request method.
@PathVariableLinks the value of the corresponding parameter to a template variable declared in the path.
@RequestParamLinks the value of the corresponding parameter to a query parameter. When invoked, null will skip the query param.