From ea2f0dfc7e5402e6c8614134d59c9e3a694f179f Mon Sep 17 00:00:00 2001 From: Marcos Maceo Date: Thu, 28 Feb 2019 07:36:44 -0500 Subject: [PATCH] [spec] Update base Spec --- espec.yml | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/espec.yml b/espec.yml index 12b2c90..90f96f5 100644 --- a/espec.yml +++ b/espec.yml @@ -24,42 +24,4 @@ components: format: int64 message: type: string -paths: - /somePath: - get: - summary: This is a example of a get method. - description: Some description, is not optional. - responses: - '200': # status code - description: A response of arrays - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref : '#/components/schemas/genericError' - post: - summary: This is a example of a post method. - description: Some description, is not optional. - - security: - - CsrfTokenAuth: [] - - responses: - '200': # status code - description: A response of arrays - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref : '#/components/schemas/genericError' - -# To remember : -# Every post method should use security schema. -# Feel free to use and reuse components -# I think, at some point, someone should use oneOf and anyOf, pls take a look +paths: \ No newline at end of file