From a901828f1f84217b4fa20aa839d710f8a24a76c7 Mon Sep 17 00:00:00 2001 From: Benoît Verhaeghe Date: Sat, 4 Feb 2017 22:27:15 +0100 Subject: [PATCH] correction raml 3 --- api.raml | 50 +++++++++++++++++++++++++------------------------- etunicorn-server.iml | 1 + 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/api.raml b/api.raml index 415257a..f7fabd6 100644 --- a/api.raml +++ b/api.raml @@ -600,31 +600,31 @@ version: v1 responses: 201: description: L'evenement a bien été payé - /credit: - post: - description: Permet de recharger ou debiter un compte - body: - application/json: - schema: | - { - "type": "object", - "$schema": "http://json-schema.org/draft-03/schema", - "id": "http://jsonschema.net", - "required": true, - "properties": { - "participant": { - "type": "Personne", - "required": true - }, - "prix": { - "type": "number", - "required": true - } - } - } - responses: - 201: - description: La personne a bien été crédité + /credit: + post: + description: Permet de recharger ou debiter un compte + body: + application/json: + schema: | + { + "type": "object", + "$schema": "http://json-schema.org/draft-03/schema", + "id": "http://jsonschema.net", + "required": true, + "properties": { + "participant": { + "type": "Personne", + "required": true + }, + "prix": { + "type": "number", + "required": true + } + } + } + responses: + 201: + description: La personne a bien été crédité /{idPersonne}: uriParameters: idPersonne: diff --git a/etunicorn-server.iml b/etunicorn-server.iml index d4287ec..9f776d0 100644 --- a/etunicorn-server.iml +++ b/etunicorn-server.iml @@ -10,6 +10,7 @@ + -- libgit2 0.21.2