* upgrade and pin versions for swagger-ui * fix time and featureId missing refs
This commit is contained in:
committed by
GitHub
parent
30b1474f1f
commit
2ec4b9b99b
+3
-3
@@ -239,7 +239,7 @@ def get_oas_30(cfg):
|
||||
'explode': False
|
||||
})
|
||||
|
||||
paths['{}/items/{{featureId}}'.format(collection_name_path)] = {
|
||||
paths['{}/items/{{id}}'.format(collection_name_path)] = {
|
||||
'get': {
|
||||
'summary': 'Get {} feature by id'.format(v['title']),
|
||||
'description': v['description'],
|
||||
@@ -398,8 +398,8 @@ def get_oas_30(cfg):
|
||||
'style': 'form',
|
||||
'explode': False
|
||||
},
|
||||
'datetime': {
|
||||
'name': 'datetime',
|
||||
'time': {
|
||||
'name': 'time',
|
||||
'in': 'query',
|
||||
'description': 'The time parameter indicates an RFC3339 formatted datetime (single, interval, open).', # noqa
|
||||
'required': False,
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ config['metadata']['identification']['title'] }} OpenAPI Document</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.17.0/swagger-ui.css">
|
||||
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.22.2/swagger-ui.css">
|
||||
<script src="https://unpkg.com/swagger-ui-dist@3.22.2/swagger-ui-bundle.js"></script>
|
||||
<script>
|
||||
function render() {
|
||||
var ui = SwaggerUIBundle({
|
||||
|
||||
Reference in New Issue
Block a user