Skip to content

Commit

Permalink
Add 403 response to person register endpoint OpenAPI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
krauselukas committed Jan 22, 2021
1 parent b20f631 commit 5055256
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/api/public/apidocs-new/paths/person_register.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,16 @@ post:
$ref: '../components/responses/succeeded.yaml'
'401':
$ref: '../components/responses/unauthorized.yaml'
'403':
description: Forbidden
content:
application/xml; charset=utf-8:
schema:
$ref: '../components/schemas/api_response.yaml'
example:
code: permission_denied
summary: |
User accounts can not be registered via OBS when in LDAP mode. Please refer
to your LDAP server to create new users.
tags:
- Person

0 comments on commit 5055256

Please sign in to comment.