Skip to content

api.method.parse.after

Callback executed after parsing a method as an API endpoint.

Usage

properties
api.method.parse.after=groovy:'''
logger.info("Parsed method: " + it.name() + " " + it.httpMethod() + " " + it.path())
'''

Context

The it object is the parsed method with its API information.

基于 Apache-2.0 许可发布