Skip to content

Commit

Permalink
Merge pull request #85 from wiremock/feature/issue-83-inherited
Browse files Browse the repository at this point in the history
feat: add @inherited to @EnableWireMock (refs #83)
  • Loading branch information
tomasbjerre authored Feb 7, 2025
2 parents 1b42d76 + ef19317 commit e21700c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/wiremock/spring/EnableWireMock.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.wiremock.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
Expand All @@ -11,6 +12,7 @@
*
* @author Maciej Walkowiak
*/
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@ExtendWith(org.wiremock.spring.internal.WireMockSpringJunitExtension.class)
Expand Down

0 comments on commit e21700c

Please sign in to comment.