adjust header of openapi.yml

This commit is contained in:
Wolfgang Hottgenroth 2021-06-17 12:30:07 +02:00
parent f826248b69
commit b64d04c45a
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469
2 changed files with 10 additions and 4 deletions

View File

@ -37,8 +37,6 @@ build:
docker push $IMAGE_NAME:${CI_COMMIT_TAG}; docker push $IMAGE_NAME:${CI_COMMIT_TAG};
fi fi
deploy: deploy:
stage: deploy stage: deploy
image: registry.hottis.de/dockerized/docker-bash:latest image: registry.hottis.de/dockerized/docker-bash:latest

View File

@ -1,10 +1,18 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: hv2-api title: hv2-api
version: "0.1" version: "1"
description: "REST-API for the nober.de Hausverwaltungs-Software"
termsOfService: "https://home.hottis.de/dokuwiki/doku.php?id=hv2pub:termsofuse"
contact: "Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
externalDocs:
description: "Find more details on this API here"
url: "https://home.hottis.de/dokuwiki/doku.php?id=hv2pub:externaldocs"
server:
url: "https://api.hv.nober.de/v1"
paths: paths:
/test: /v1/test:
get: get:
tags: [ "Test" ] tags: [ "Test" ]
summary: Return secret string summary: Return secret string