Annotation Type Action
-
@Target(TYPE) @Retention(RUNTIME) @Component public @interface Action
Classes annotated withAction
are marked as Spring component and get new fields of the typeTapirAssertions
andCoreAssertions
. The fields are autowired by Spring and marked as Xtend extension.
Usage example:@Action class MyClass { }
@Action public class MyClass { @Extension @Autowired private TapirAssertions _tapirAssertions; @Extension @Autowired private CoreAssertions _coreAssertions; }
- Since:
- 3.1.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
TapirAssertions
,CoreAssertions