mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
some API doc updates from today's meeting
This commit is contained in:
parent
ab0d8dea8b
commit
e7b15f6e5d
2 changed files with 14 additions and 3 deletions
|
@ -9,7 +9,7 @@ RSYNC_OPTS ?= --recursive --ignore-missing-args --copy-links --chown $(DEPLOY_US
|
|||
all: index.html
|
||||
|
||||
index.html: api.yaml
|
||||
redoc-cli bundle --cdn --title "$(TITLE)" --output $@ api.yaml
|
||||
redoc-cli bundle --cdn --title $(TITLE) --output $@ api.yaml
|
||||
|
||||
deploy: index.html
|
||||
rsync $(RSYNC_OPTS) index.html api.yaml $(DEPLOY_USER)@$(DEPLOY_HOST):$(DEPLOY_PATH)
|
||||
|
|
|
@ -49,7 +49,7 @@ paths:
|
|||
schema:
|
||||
type: object
|
||||
properties:
|
||||
Success:
|
||||
success:
|
||||
type: boolean
|
||||
message:
|
||||
type: string
|
||||
|
@ -63,7 +63,18 @@ paths:
|
|||
403:
|
||||
description: Access forbidden.
|
||||
404:
|
||||
description: Not found. User not found.
|
||||
description: Not found.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
success:
|
||||
type: boolean
|
||||
example: false
|
||||
message:
|
||||
type: string
|
||||
example: error message
|
||||
500:
|
||||
description: Internal server error. Unable to compare passwords.
|
||||
/counts:
|
||||
|
|
Loading…
Add table
Reference in a new issue