Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Responses are object instead of array
  • Loading branch information
pblottiere authored and nyalldawson committed Apr 4, 2020
1 parent dd87f25 commit 148f5e2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/server/services/wfs3/qgswfs3handlers.cpp
Expand Up @@ -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" }
}
Expand Down Expand Up @@ -1963,9 +1967,13 @@ 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" }
}
Expand All @@ -1987,9 +1995,13 @@ 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" }
}
Expand All @@ -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" }
}
Expand Down

0 comments on commit 148f5e2

Please sign in to comment.