From 58574fb760967a16adfb4111aa5b597a96c359b4 Mon Sep 17 00:00:00 2001 From: Ambrus Simon <ambrussimon@invenshure.com> Date: Thu, 9 Nov 2017 12:03:21 +0100 Subject: [PATCH] Extend rule api doc --- raml/resources/projects.raml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/raml/resources/projects.raml b/raml/resources/projects.raml index af9aafcc..faadd816 100644 --- a/raml/resources/projects.raml +++ b/raml/resources/projects.raml @@ -81,6 +81,23 @@ post: get: responses: 200: + body: + application/json: + schema: !include ../schemas/output/rule-list.json + post: + body: + application/json: + schema: !include ../schemas/input/rule-new.json + /{RuleId}: + uriParameters: + RuleId: + type: string + required: true + put: + body: + application/json: + schema: !include ../schemas/input/rule-update.json + /analyses: type: analyses-list /{AnalysisId}: -- GitLab