diff --git a/client-runtime/src/main/java/com/microsoft/rest/v2/annotations/SkipParentValidation.java b/client-runtime/src/main/java/com/microsoft/rest/v2/annotations/SkipParentValidation.java new file mode 100644 index 000000000000..2877f21c440b --- /dev/null +++ b/client-runtime/src/main/java/com/microsoft/rest/v2/annotations/SkipParentValidation.java @@ -0,0 +1,22 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.rest.v2.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Annotation used for notifying the validator to skip + * validation for the properties in the parent class. + * + */ +@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +public @interface SkipParentValidation { +} \ No newline at end of file