Skip to content

Commit

Permalink
Update content type
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 6, 2020
1 parent 3296cab commit 29e74a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverogcapi.cpp
Expand Up @@ -33,7 +33,7 @@ QMap<QgsServerOgcApi::ContentType, QStringList> QgsServerOgcApi::sContentTypeMim
QStringLiteral( "application/geojson" )
};
map[QgsServerOgcApi::ContentType::HTML] = QStringList { QStringLiteral( "text/html" ) };
map[QgsServerOgcApi::ContentType::OPENAPI3] = QStringList { QStringLiteral( "application/openapi+json;version=3.0" ) };
map[QgsServerOgcApi::ContentType::OPENAPI3] = QStringList { QStringLiteral( "application/vnd.oai.openapi+json;version=3.0" ) };
map[QgsServerOgcApi::ContentType::XML] = QStringList { QStringLiteral( "application/xml" ) };
return map;
}();
Expand Down

0 comments on commit 29e74a3

Please sign in to comment.