Skip to content

Commit

Permalink
Merge pull request #10657 from danidoni/document-person-register-endp…
Browse files Browse the repository at this point in the history
…oint

Document person register endpoint
  • Loading branch information
saraycp committed Jan 22, 2021
2 parents 3e4b9d7 + ce317e6 commit 0ebb3dc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/api/public/apidocs-new/OBS-v2.10.50.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ paths:

/person:
$ref: 'paths/person.yaml'

/person/register:
$ref: 'paths/person_register.yaml'
/person/{login}/token:
$ref: 'paths/person_login_token.yaml'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: object
properties:
login:
type: string
realname:
type: string
email:
type: string
password:
type: string
note:
type: string
state:
type: string
xml:
name: unregisteredperson
4 changes: 0 additions & 4 deletions src/api/public/apidocs-new/paths/person.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ get:
summary: List all people.
description: >
List all people.
security:
- basic_authentication: []
parameters:
- in: query
name: prefix
Expand Down Expand Up @@ -34,7 +32,5 @@ get:
- name: 'user_2'
- name: 'user_3'
- name: 'Requestor'
'401':
$ref: '../components/responses/unauthorized.yaml'
tags:
- Person

0 comments on commit 0ebb3dc

Please sign in to comment.