Version 0.2.0
Changes: - forbid to overwrite secrets of other users - add some logs of success - add validation on code (length 50) - use same limiter for POST requests
This commit is contained in:
@@ -41,6 +41,8 @@ paths:
|
||||
description: Invalid request body
|
||||
'401':
|
||||
description: Missing or invalid credentials
|
||||
'403':
|
||||
description: Code owned by another user
|
||||
components:
|
||||
securitySchemes:
|
||||
basicAuth:
|
||||
@@ -54,6 +56,7 @@ components:
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
maxLength: 50
|
||||
GetValueResponse:
|
||||
type: object
|
||||
required:
|
||||
@@ -69,5 +72,6 @@ components:
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
maxLength: 50
|
||||
value:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user