Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
163342f2
Commit
163342f2
authored
9 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
basic swagger available
parent
cd192caf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swagger-MIP.yaml
+72
-1
72 additions, 1 deletion
swagger-MIP.yaml
with
72 additions
and
1 deletion
swagger-MIP.yaml
+
72
−
1
View file @
163342f2
...
...
@@ -22,6 +22,7 @@ paths:
schema
:
type
:
array
items
:
type
:
object
$ref
:
'
#/definitions/Article'
post
:
summary
:
'
Create
an
article'
...
...
@@ -101,11 +102,12 @@ paths:
tags
:
-
Models
responses
:
'
200'
:
'
200'
:
description
:
'
Success'
schema
:
type
:
array
items
:
type
:
object
$ref
:
'
#/definitions/Model'
post
:
summary
:
'
Create
a
model'
...
...
@@ -196,6 +198,75 @@ paths:
schema
:
type
:
object
$ref
:
'
#/definitions/Dataset'
/groups
:
get
:
summary
:
'
Get
the
root
group
(containing
all
subgroups)'
operationId
:
'
get
the
root
group'
tags
:
-
Groups
responses
:
'
200'
:
description
:
'
Success'
schema
:
type
:
object
$ref
:
'
#/definitions/Group'
/variables
:
get
:
summary
:
'
Get
all
variables'
operationId
:
'
get
all
variables'
tags
:
-
Variables
responses
:
'
200'
:
description
:
'
Success'
schema
:
type
:
array
items
:
type
:
object
$ref
:
'
#/definitions/Variable'
/variables/{code}
:
get
:
summary
:
'
Get
a
variable'
operationId
:
'
get
a
variable'
tags
:
-
Variables
parameters
:
-
name
:
code
in
:
path
description
:
'
code'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Found'
schema
:
type
:
object
$ref
:
'
#/definitions/Variable'
'
404'
:
description
:
'
Not
found'
/variables/{code}/values
:
get
:
summary
:
'
Get
all
values
from
a
variable'
operationId
:
'
get
all
values
from
a
variable'
tags
:
-
Values
-
Variables
parameters
:
-
name
:
code
in
:
path
description
:
'
code'
required
:
true
type
:
string
responses
:
'
200'
:
description
:
'
Found'
schema
:
type
:
array
items
:
type
:
object
$ref
:
'
#/definitions/Value'
'
404'
:
description
:
'
Not
found'
definitions
:
Article
:
type
:
object
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment