223224225226227228229230231232
} final DataMap customAnnotation = resourceModel.getCustomAnnotationData(); if (!customAnnotation.isEmpty()) { rootNode.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } return rootNode; }
572573574575576577578579580581582
} final DataMap customAnnotation = subResourceModel.getCustomAnnotationData(); if (!customAnnotation.isEmpty()) { subresource.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } subresources.add(subresource); }
715716717718719720721722723724725
customAnnotation.put(DEPRECATED_ANNOTATION_NAME, deprecateDocToAnnotationMap(deprecatedDoc)); } if (!customAnnotation.isEmpty()) { action.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } actionsArray.add(action); } }
825826827828829830831832833834835
customAnnotation.put(DEPRECATED_ANNOTATION_NAME, deprecateDocToAnnotationMap(deprecatedDoc)); } if (!customAnnotation.isEmpty()) { finder.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } findersArray.add(finder); } }
889890891892893894895896897898899
} final DataMap customAnnotation = param.getCustomAnnotationData(); if (!customAnnotation.isEmpty()) { paramSchema.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } parameterSchemaArray.add(paramSchema); }
952953954955956957958959960961962
customAnnotation.put(DEPRECATED_ANNOTATION_NAME, deprecateDocToAnnotationMap(deprecatedDoc)); } if (!customAnnotation.isEmpty()) { restMethod.setAnnotations(new CustomAnnotationContentSchemaMap(customAnnotation)); } restMethods.add(restMethod); }