diff --git a/src/community/ogcapi/ogcapi-images/src/main/java/org/geoserver/api/images/STACItemFeaturesResponse.java b/src/community/ogcapi/ogcapi-images/src/main/java/org/geoserver/api/images/STACItemFeaturesResponse.java index 60b45415861..1e8bede8d4c 100644 --- a/src/community/ogcapi/ogcapi-images/src/main/java/org/geoserver/api/images/STACItemFeaturesResponse.java +++ b/src/community/ogcapi/ogcapi-images/src/main/java/org/geoserver/api/images/STACItemFeaturesResponse.java @@ -273,9 +273,15 @@ protected void writeCollectionBounds( // not needed in WFS3 } - /** capabilities output format string. */ + /** + * {@inheritDoc} + * + * @return {@code null}, making {@link WFSGetFeatureOutputFormat#getCapabilitiesElementNames()} + * not contributing a result format on the GetCapabilities document for this output format. + */ + @Override public String getCapabilitiesElementName() { - throw new UnsupportedOperationException(); + return null; } @Override