From 8d0cc44e424a39e7ab24b77ed7647e74102acd22 Mon Sep 17 00:00:00 2001 From: Mauricio Perdomo Date: Sat, 23 Feb 2019 04:55:14 -0500 Subject: [PATCH] Revert "[mauricio1802] refs #2 Add mauricio1802_espec.yml and set spec" This reverts commit 9df497027ef94061bdb0e2480d7b0327a399195e. --- mauricio1802_espec.yml | 61 ------------------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 mauricio1802_espec.yml diff --git a/mauricio1802_espec.yml b/mauricio1802_espec.yml deleted file mode 100644 index ba8c0be..0000000 --- a/mauricio1802_espec.yml +++ /dev/null @@ -1,61 +0,0 @@ -openapi: 3.0.0 -info: - title: Python to .Net - description: Still whitout description. - version: 0.25.1 -servers: -- url: http://www.skycoin.net - description: Main Skycoin server -- url: http://staging.node.skycoin.net - description: Internal staging server for developer. -components: - securitySchemes: - CsrfTokenAuth: # arbitrary name for the security scheme - type: apiKey - in: header # can be "header", "query" or "cookie" - name: X-CSRF-TOKEN # name of the header, query parameter or cookie - schemas: - genericError: - description: This is a generic error that should be default response - type: object - properties: - code: - type: integer - format: int64 - message: - type: string -paths: - /api/IsAlive: - get: - summary: Return some general service info - description: Check if the server is running correctly - responses: - '200': - description: A JSON object containing information about the service - content: - application/json: - schema: - type: object - - properties: - name: - type: string - version: - type: string - env: - type: string - isDebug: - type: boolean - - default: - $ref: '#/components/schemas/genericError' - - - - - - -# To remember : -# Every post method should use security schema. -# Feel free to use and reuse components -# I will remember other stuffs in the process \ No newline at end of file