From a6d153da16749e3d27210c909904ac29fd4d3d20 Mon Sep 17 00:00:00 2001 From: damienmulder Date: Tue, 23 Jun 2026 15:49:29 +0200 Subject: [PATCH 1/2] Fix serviceType parsing for OGCAPI --- model/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/types.go b/model/types.go index 2bcfcb6..efabf3d 100644 --- a/model/types.go +++ b/model/types.go @@ -39,6 +39,8 @@ func ParseServiceType(input string) (ServiceType, error) { return Atom, nil case "OGC": return OGCAPI, nil + case "OGCAPI": + return OGCAPI, nil default: return "unknown", fmt.Errorf("could not parse %s as a ServiceType", input) } From dd20c12e53e34f221485e4c6e0f95e4b5fd6190e Mon Sep 17 00:00:00 2001 From: damienmulder Date: Wed, 24 Jun 2026 09:26:28 +0200 Subject: [PATCH 2/2] Add comment --- model/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/types.go b/model/types.go index efabf3d..28dd11a 100644 --- a/model/types.go +++ b/model/types.go @@ -39,7 +39,7 @@ func ParseServiceType(input string) (ServiceType, error) { return Atom, nil case "OGC": return OGCAPI, nil - case "OGCAPI": + case "OGCAPI": // TODO This is a temporary fix for the service-spectator. Should be refactored. return OGCAPI, nil default: return "unknown", fmt.Errorf("could not parse %s as a ServiceType", input)