From 5f197f5f9f041bfe000c1b0dca80249d11bc5652 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs <93375423+prafull-opensignlabs@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:03:13 +0530 Subject: [PATCH] Update opensign.yaml --- docs/docs/API-docs/opensign.yaml | 35 ++++++++++---------------------- 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/docs/docs/API-docs/opensign.yaml b/docs/docs/API-docs/opensign.yaml index 578a29f83..912f5f5ab 100644 --- a/docs/docs/API-docs/opensign.yaml +++ b/docs/docs/API-docs/opensign.yaml @@ -28,31 +28,19 @@ tags: url: http://github.com/opensignlabs/opensign - name: templates description: Operations about templates -- name: users - description: Operations about users - name: documents description: Operations about documents +- name: contacts + description: Operations about contacts +- name: user + description: Operations about user paths: /getuser: - put: + get: tags: - - users - summary: Update an existing pet - description: Update an existing pet by Id - operationId: updatePet - requestBody: - description: Update an existent pet in the store - content: - application/json: - schema: - $ref: '#/components/schemas/Pet' - application/xml: - schema: - $ref: '#/components/schemas/Pet' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Pet' - required: true + - user + summary: Get your details + operationId: getUser responses: "200": description: Successful operation @@ -64,13 +52,12 @@ paths: schema: $ref: '#/components/schemas/Pet' "400": - description: Invalid ID supplied + description: Invalid API Token! "404": - description: Pet not found - "405": - description: Validation exception + description: Record not found! security: - api_key: [] + /createuser: post: tags: - users