Skip to content

Commit

Permalink
Merge pull request #37622 from pblottiere/fix_ogcapif_json
Browse files Browse the repository at this point in the history
Fixes OGC API Features certification
  • Loading branch information
pblottiere committed Jul 9, 2020
2 parents cc96e9e + ce9e1ff commit 7ba050c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions resources/server/api/ogc/schema.json
Expand Up @@ -376,7 +376,7 @@
},
"sortby" : {
"name" : "sortby",
"in" : "path",
"in" : "query",
"description" : "Sort results by the specified field name",
"required" : false,
"schema" : {
Expand All @@ -385,11 +385,11 @@
},
"sortdesc" : {
"name" : "sortdesc",
"in" : "path",
"in" : "query",
"description" : "Sort results in descending order, field name must be specified with 'sortby' parameter",
"required" : false,
"schema" : {
"type" : "bool"
"type" : "boolean"
}
},
"relations" : {
Expand Down
8 changes: 4 additions & 4 deletions tests/testdata/qgis_server/api/test_wfs3_api_project.json
Expand Up @@ -135,7 +135,7 @@ Content-Type: application/vnd.oai.openapi+json;version=3.0
},
"sortby": {
"description": "Sort results by the specified field name",
"in": "path",
"in": "query",
"name": "sortby",
"required": false,
"schema": {
Expand All @@ -144,11 +144,11 @@ Content-Type: application/vnd.oai.openapi+json;version=3.0
},
"sortdesc": {
"description": "Sort results in descending order, field name must be specified with 'sortby' parameter",
"in": "path",
"in": "query",
"name": "sortdesc",
"required": false,
"schema": {
"type": "bool"
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -2077,4 +2077,4 @@ Content-Type: application/vnd.oai.openapi+json;version=3.0
"name": "Features"
}
]
}
}

0 comments on commit 7ba050c

Please sign in to comment.