@CompileStatic interface ActionHooks
What a document decides by the action itself, and does to each operation it describes, where its selection implements it: springdoc's method filters and operation customizers, applied to the Grails actions. Internal to Grails; a selection is otherwise a plain set of criteria.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract io.swagger.v3.oas.models.Operation |
customize(io.swagger.v3.oas.models.Operation operation, io.swagger.v3.oas.models.Components components, GrailsControllerClass controller, java.lang.reflect.Method action)Customizes an operation the document describes, once the annotations of its action are applied. |
|
abstract boolean |
selectsAction(java.lang.reflect.Method action)Whether the action serving an operation is described, decided by the method it is declared as. |
Customizes an operation the document describes, once the annotations of its action are applied.
controller - the controller serving the action, where the application has itaction - the method the action is declared as, if knownnull to leave it outWhether the action serving an operation is described, decided by the method it is declared as.
action - the method the action is declared as, or null where it is not known