Skip to content

Commit

Permalink
Merge pull request #181 from tomaslin/fix-incorrect-echo-service-inte…
Browse files Browse the repository at this point in the history
…rface

fix incorrect echo service interface
  • Loading branch information
anotherchrisberry committed Feb 11, 2016
2 parents 731298c + c2c7e44 commit c878244
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
package com.netflix.spinnaker.gate.services.internal

import retrofit.http.*
import retrofit.client.Response

interface EchoService {

@Headers("Accept: application/json")
@POST("/webhooks/{type}/{source}")
void webhooks(@Path('type') String type, @Path('source') String source, @Body Map event)
Response webhooks(@Path('type') String type, @Path('source') String source, @Body Map event)

@GET("/validateCronExpression")
Map validateCronExpression(@Query("cronExpression") String cronExpression)
Expand Down

0 comments on commit c878244

Please sign in to comment.