[Mapbender-commits] r10279 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 1 23:56:36 PDT 2019


Author: armin11
Date: 2019-10-01 23:56:36 -0700 (Tue, 01 Oct 2019)
New Revision: 10279

Modified:
   trunk/mapbender/http/php/mod_linkedDataProxy.php
Log:
Fix header - set to json for openapi description

Modified: trunk/mapbender/http/php/mod_linkedDataProxy.php
===================================================================
--- trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-10-02 06:50:56 UTC (rev 10278)
+++ trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-10-02 06:56:36 UTC (rev 10279)
@@ -1193,7 +1193,8 @@
 
 		$apiDescriptionJson->components->parameters->*/
 		$paramArray = array("f", "limit", "offset", "bbox", "resultType", "featureId", "limitList", "properties"); //TODO: relations, resolve, offsetList, crs, bbox-crs, maxAllowedOffset
-		//schemas
+		//first draft - set only json based api description and give it back
+		header("application/json");
 		echo json_encode($apiDescriptionJson, JSON_UNESCAPED_SLASHES);
 		die();
 



More information about the Mapbender_commits mailing list