Skip to content

Commit

Permalink
Merge pull request #90 from gbuisson/issue-#36
Browse files Browse the repository at this point in the history
Hide DELETE routes swagger docs
  • Loading branch information
craigbro committed Mar 10, 2016
2 parents 19cfc39 + f0b17a4 commit 83161ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cia/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes an Actor"
:header-params [api_key :- s/Str]
Expand Down Expand Up @@ -167,6 +168,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes a Campaign"
:header-params [api_key :- s/Str]
Expand Down Expand Up @@ -206,6 +208,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes an ExploitTarget"
:header-params [api_key :- s/Str]
Expand Down Expand Up @@ -243,6 +246,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes a COA"
:header-params [api_key :- s/Str]
Expand Down Expand Up @@ -280,6 +284,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes an Incident"
:header-params [api_key :- s/Str]
Expand Down Expand Up @@ -326,6 +331,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:header-params [api_key :- s/Str]
:summary "Deletes a Judgement"
Expand Down Expand Up @@ -437,6 +443,7 @@
(ok d)
(not-found)))
(DELETE "/:id" []
:no-doc true
:path-params [id :- s/Str]
:summary "Deletes a TTP"
:header-params [api_key :- s/Str]
Expand Down

0 comments on commit 83161ba

Please sign in to comment.