From 4c06da432504f897ff7ceaa2f62a6a4a4fbc74fd Mon Sep 17 00:00:00 2001 From: archeoss Date: Thu, 5 Oct 2023 06:37:51 +0000 Subject: [PATCH] Autogenerate API --- api/openapi.json | 35 +++++++++++++++++++++++++++++++++++ api/openapi.yaml | 21 +++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 api/openapi.json create mode 100644 api/openapi.yaml diff --git a/api/openapi.json b/api/openapi.json new file mode 100644 index 00000000..497f1290 --- /dev/null +++ b/api/openapi.json @@ -0,0 +1,35 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "backend", + "description": "Bob Management GUI: Backend", + "contact": { + "name": "Romanov Simeon ArchArcheoss@proton.me" + }, + "license": { + "name": "" + }, + "version": "0.0.0" + }, + "paths": { + "/": { + "get": { + "tags": [ + "crate" + ], + "operationId": "root", + "responses": { + "200": { + "description": "Hello Bob!" + } + } + } + } + }, + "tags": [ + { + "name": "bob", + "description": "BOB management API" + } + ] +} \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml new file mode 100644 index 00000000..b791bfd9 --- /dev/null +++ b/api/openapi.yaml @@ -0,0 +1,21 @@ +openapi: 3.0.3 +info: + title: backend + description: 'Bob Management GUI: Backend' + contact: + name: Romanov Simeon ArchArcheoss@proton.me + license: + name: '' + version: 0.0.0 +paths: + /: + get: + tags: + - crate + operationId: root + responses: + '200': + description: Hello Bob! +tags: +- name: bob + description: BOB management API