Merge pull request #34 from bagage/patch-1
Use https instead of http for swagger.json + minor fixes
This commit is contained in:
commit
2d9bcc6443
1 changed files with 11 additions and 5 deletions
16
swagger.json
16
swagger.json
|
|
@ -12,7 +12,7 @@
|
||||||
"url": "http://www.gnu.org/licenses/"
|
"url": "http://www.gnu.org/licenses/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"host": "api.openeventdatabase.org:80",
|
"host": "api.openeventdatabase.org",
|
||||||
"basePath": "/",
|
"basePath": "/",
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"schemes": [
|
"schemes": [
|
||||||
"http"
|
"https"
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"/event": {
|
"/event": {
|
||||||
|
|
@ -129,7 +129,10 @@
|
||||||
},
|
},
|
||||||
"400": {
|
"400": {
|
||||||
"description": "Error 400"
|
"description": "Error 400"
|
||||||
}
|
},
|
||||||
|
"500": {
|
||||||
|
"description": "Internal Server Error 500"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -166,7 +169,10 @@
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "Error 404"
|
"description": "Error 404"
|
||||||
}
|
},
|
||||||
|
"500": {
|
||||||
|
"description": "Internal Server Error 500"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -291,7 +297,7 @@
|
||||||
{
|
{
|
||||||
"description": "Type of event",
|
"description": "Type of event",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["Point"]
|
"enum": ["Feature"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue