Skip to content

Commit

Permalink
changes example to examples for lang
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 25, 2023
1 parent 0a8b31c commit 413e5d1
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions openatlas/api/swagger.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.3",
"openapi": "3.1.0",
"info": {
"title": "OpenAtlas API",
"description": "An API that allows user to access data from an OpenAtlas instance.",
Expand Down Expand Up @@ -1151,14 +1151,13 @@
"actor",
"artifact",
"event",
"file",
"place",
"reference",
"reference_system",
"source",
"artifact",
"type",
"file",
"source_translation",
"reference_system"
"type"
]
},
"example": "actor"
Expand Down Expand Up @@ -1226,7 +1225,7 @@
"en",
"de"
],
"example": "de"
"examples": ["de"]
}
},
"show": {
Expand Down Expand Up @@ -1504,14 +1503,13 @@
"actor",
"artifact",
"event",
"file",
"place",
"reference",
"reference_system",
"source",
"artifact",
"type",
"file",
"source_translation",
"reference_system"
"type"
]
}
},
Expand Down Expand Up @@ -2927,14 +2925,14 @@
},
"references": {
"type": "array",
"required": [
"id",
"abbreviation",
"title",
"pages"
],
"items": {
"type": "object",
"required": [
"id",
"abbreviation",
"title",
"pages"
],
"properties": {
"id": {
"type": "integer",
Expand Down Expand Up @@ -3137,15 +3135,18 @@
"LicensedFileOverviewModel": {
"type": "object",
"required": [
"display",
"thumbnail",
"extension",
"license",
"IIIFManifest"
"id"
],
"properties": {
"id": {
"type": "object",
"required": [
"display",
"thumbnail",
"extension",
"license",
"IIIFManifest"
],
"properties": {
"display": {
"type": "string"
Expand Down

0 comments on commit 413e5d1

Please sign in to comment.