Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sophie Daringer
webOps_RAST
Commits
85d1e33a
Commit
85d1e33a
authored
Mar 18, 2020
by
Sophie Daringer
Browse files
Update swagger.yaml
parent
6abb2c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
swagger/v1/swagger.yaml
View file @
85d1e33a
...
...
@@ -54,3 +54,68 @@ paths:
-
id
-
name
-
email
"
/api/v1/users"
:
get
:
summary
:
list all the users
produces
:
-
abpplication/json
responses
:
'
200'
:
description
:
successful
schema
:
type
:
object
properties
:
data
:
type
:
array
items
:
type
:
object
properties
:
id
:
type
:
integer
type
:
type
:
string
attributes
:
type
:
object
properties
:
name
:
type
:
string
email
:
type
:
string
required
:
-
id
-
name
-
email
"
/api/v1/users/{id}"
:
get
:
summary
:
show user
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
type
:
string
required
:
true
responses
:
'
200'
:
description
:
successful
schema
:
type
:
object
properties
:
data
:
type
:
object
properties
:
id
:
type
:
integer
type
:
type
:
string
attributes
:
type
:
object
properties
:
name
:
type
:
string
email
:
type
:
string
required
:
-
id
-
name
-
email
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment