Merge pull request #34 from bagage/patch-1

Use https instead of http for swagger.json + minor fixes
This commit is contained in:
Christian Quest 2022-09-30 19:09:22 +02:00 committed by GitHub
commit 2d9bcc6443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]
} }
} }
} }