We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cba077 commit 135b277Copy full SHA for 135b277
1 file changed
modules/apis/src/main/java/com/axway/apim/api/export/ExportAPI.java
@@ -209,6 +209,16 @@ public String getDeprecated() {
209
210
public Map<String, String> getCustomProperties() {
211
if(this.actualAPIProxy.getCustomProperties()!=null && this.actualAPIProxy.getCustomProperties().size()==0) return null;
212
+ Iterator<String> it = this.actualAPIProxy.getCustomProperties().values().iterator();
213
+ boolean propertyFound = false;
214
+ while(it.hasNext()) {
215
+ String propValue = it.next();
216
+ if(propValue!=null) {
217
+ propertyFound = true;
218
+ break;
219
+ }
220
221
+ if(!propertyFound) return null; // If no property is declared for this API return null
222
return this.actualAPIProxy.getCustomProperties();
223
}
224
0 commit comments