Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nos Hs2023
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Språksamlingane
stadnamn
Nos Hs2023
Commits
7dee5757
Commit
7dee5757
authored
3 years ago
by
esikkala
Browse files
Options
Downloads
Patches
Plain Diff
OpenAPI spec: add some example values
parent
dad2609e
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
src/server/openapi.yaml
+10
-3
10 additions, 3 deletions
src/server/openapi.yaml
with
10 additions
and
3 deletions
src/server/openapi.yaml
+
10
−
3
View file @
7dee5757
...
...
@@ -94,7 +94,7 @@ paths:
name
:
resultClass
schema
:
type
:
string
example
:
p
erspective1
example
:
p
lacesMsProduced
required
:
true
description
:
The class of the results
requestBody
:
...
...
@@ -210,12 +210,14 @@ paths:
name
:
facetClass
schema
:
type
:
string
example
:
perspective1
required
:
true
description
:
The class of the facet
-
in
:
path
name
:
id
schema
:
type
:
string
example
:
language
required
:
true
description
:
The id of the facet
requestBody
:
...
...
@@ -227,8 +229,10 @@ paths:
properties
:
sortBy
:
type
:
string
example
:
instanceCount
sortDirection
:
type
:
string
example
:
desc
constraints
:
type
:
array
items
:
...
...
@@ -273,12 +277,14 @@ paths:
name
:
resultClass
schema
:
type
:
string
example
:
perspective1
required
:
true
description
:
The class of the resource
-
in
:
path
name
:
uri
schema
:
type
:
string
example
:
http://ldf.fi/mmm/manifestation_singleton/bibale_10003
required
:
true
description
:
The URI of the resource
requestBody
:
...
...
@@ -545,14 +551,15 @@ paths:
application/json
:
schema
:
type
:
object
/void/{
perspectiveID
}
:
/void/{
resultClass
}
:
get
:
summary
:
Retrieve a VoID description
parameters
:
-
in
:
path
name
:
perspectiveID
name
:
resultClass
schema
:
type
:
string
example
:
perspective1KnowledgeGraphMetadata
required
:
true
responses
:
'
200'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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