diff --git a/gate-web/config/gate.yml b/gate-web/config/gate.yml index 46a40ee126..1169d71e56 100644 --- a/gate-web/config/gate.yml +++ b/gate-web/config/gate.yml @@ -77,6 +77,7 @@ swagger: - .*networks.* - .*bakery.* - .*executions.* + - .*webhooks.* hystrix: command: diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/WebhookController.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/WebhookController.groovy index a7cf29592f..d815207678 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/WebhookController.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/WebhookController.groovy @@ -33,6 +33,7 @@ class WebhookController { @Autowired WebhookService webhookService + @ApiOperation(value = "Endpoint for posting webhooks to Spinnaker's webhook service") @RequestMapping(value = "/{type}/{source}", method = RequestMethod.POST) void webhooks(@PathVariable("type") String type, @PathVariable("source") String source,