Skip to content
Permalink
Browse files

Responses are object instead of array

  • Loading branch information
pblottiere committed Mar 20, 2020
1 parent 364dc3f commit eb55d3890af64da3441da4c8dcd1b6a768209e9f
Showing with 18 additions and 2 deletions.
  1. +18 −2 src/server/services/wfs3/qgswfs3handlers.cpp
@@ -1031,9 +1031,13 @@ json QgsWfs3CollectionsItemsHandler::schema( const QgsServerApiContext &context
"201", {
{ "description", "A new feature was successfully added to the collection" }
},
},
{
"403", {
{ "description", "Forbidden: the operation requested was not authorized" }
},
},
{
"500", {
{ "description", "Posted data could not be parsed correctly or another error occurred" }
}
@@ -1963,12 +1967,16 @@ json QgsWfs3CollectionsFeatureHandler::schema( const QgsServerApiContext &contex
"200", {
{ "description", "The feature was successfully updated" }
},
},
{
"403", {
{ "description", "Forbidden: the operation requested was not authorized" }
},
},
{
"500", {
{ "description", "Posted data could not be parsed correctly or another error occurred" }
}
},
},
{ "default", defaultResponse() }
}
@@ -1987,12 +1995,16 @@ json QgsWfs3CollectionsFeatureHandler::schema( const QgsServerApiContext &contex
"200", {
{ "description", "The feature was successfully updated" }
},
},
{
"403", {
{ "description", "Forbidden: the operation requested was not authorized" }
},
},
{
"500", {
{ "description", "Posted data could not be parsed correctly or another error occurred" }
}
},
},
{ "default", defaultResponse() }
}
@@ -2011,9 +2023,13 @@ json QgsWfs3CollectionsFeatureHandler::schema( const QgsServerApiContext &contex
"201", {
{ "description", "The feature was successfully deleted from the collection" }
},
},
{
"403", {
{ "description", "Forbidden: the operation requested was not authorized" }
},
},
{
"500", {
{ "description", "Posted data could not be parsed correctly or another error occurred" }
}

0 comments on commit eb55d38

Please sign in to comment.
You can’t perform that action at this time.