-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The OpenAPI documentation for the `person#command` action.
- Loading branch information
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/api/public/apidocs-new/components/responses/unknown_command_error.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
description: | | ||
Bad request. | ||
XML Schema used for body validation: [status.xsd](../schema/status.xsd) | ||
content: | ||
application/xml; charset=utf-8: | ||
schema: | ||
$ref: '../schemas/api_response.yaml' | ||
examples: | ||
Unknown Command: | ||
value: | ||
code: unknown_command | ||
summary: "Allowed command is 'register'." | ||
Bad Request: | ||
value: | ||
code: err_register_save | ||
summary: "Could not save the registration, details: Login is the name of an already existing user and Password can't be blank." |
16 changes: 16 additions & 0 deletions
16
src/api/public/apidocs-new/components/schemas/unregistered_person.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters