From 68bdf28fa1d91d8347a23d7f2dfb47edd4a53b02 Mon Sep 17 00:00:00 2001 From: Tim Siegler Date: Sat, 5 Jun 2021 01:55:12 +0200 Subject: [PATCH] Api doc --- api-doc/openapi.json | 2 +- api-doc/openapi.yaml | 2 +- api-doc/swagger.json | 2 +- api-doc/swagger.yaml | 2 +- package.json | 6 ++++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/api-doc/openapi.json b/api-doc/openapi.json index f1624c9..1b94f0d 100644 --- a/api-doc/openapi.json +++ b/api-doc/openapi.json @@ -11,7 +11,7 @@ "name": "Licensed Under MIT", "url": "https://github.com/MrTimeey/word-api/blob/main/LICENSE" }, - "version": "0.1.0" + "version": "0.5.0" }, "servers": [ { diff --git a/api-doc/openapi.yaml b/api-doc/openapi.yaml index d6555a5..52bad9a 100644 --- a/api-doc/openapi.yaml +++ b/api-doc/openapi.yaml @@ -8,7 +8,7 @@ info: license: name: Licensed Under MIT url: 'https://github.com/MrTimeey/word-api/blob/main/LICENSE' - version: 0.1.0 + version: 0.5.0 servers: - url: 'https://word-of-the-day.de/api' tags: diff --git a/api-doc/swagger.json b/api-doc/swagger.json index 260c9bc..969f6f1 100644 --- a/api-doc/swagger.json +++ b/api-doc/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "description": "An API for retrieving and saving words", - "version": "0.1.0", + "version": "0.5.0", "title": "Word Express API", "contact": { "name": "GitHub", diff --git a/api-doc/swagger.yaml b/api-doc/swagger.yaml index 12b5b9e..29b85f8 100644 --- a/api-doc/swagger.yaml +++ b/api-doc/swagger.yaml @@ -1,7 +1,7 @@ swagger: '2.0' info: description: An API for retrieving and saving words - version: 0.1.0 + version: 0.5.0 title: Word Express API contact: name: GitHub diff --git a/package.json b/package.json index 3e95dd4..d0d54ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "word-api", - "version": "1.0.0", + "version": "0.5.0", "description": "An API for retrieving and saving words", "main": "server.js", "scripts": { @@ -52,7 +52,9 @@ "api", "nodejs", "express", - "mongoose" + "mongoose", + "swagger", + "openapi" ], "author": { "name": "MrTimeey",