Skip to content

yapi.save.after

Event triggered after saving data to YApi.

Usage

properties
yapi.save.after=groovy:'''
logger.info("API saved to YApi successfully: " + it.name())
'''

This event is executed after each API is saved to YApi. If an error occurs in this event, it will be thrown (unlike other events which ignore errors).

See Also

Released under the Apache-2.0 License.