Skip to content

Commit b85b186

Browse files
Remove "Advanced Configuration" section from readme as it is not yet released
1 parent 54d0191 commit b85b186

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -70,33 +70,6 @@ It can be changed with setting `stubLocation` on `@ConfigureWireMock`:
7070
@ConfigureWireMock(name = "...", property = "...", stubLocation = "my-stubs")
7171
```
7272

73-
### Advanced configuration
74-
75-
More advanced configuration can be applied through configuration customizers:
76-
77-
```java
78-
@ConfigureWireMock(
79-
name = "todo-service",
80-
property = "todo-service.url",
81-
configurationCustomizers = SampleConfigurationCustomizer.class
82-
)
83-
```
84-
85-
Where `SampleConfigurationCustomizer` is a class implementing `WireMockConfigurationCustomizer`:
86-
87-
```java
88-
class SampleConfigurationCustomizer implements WireMockConfigurationCustomizer {
89-
90-
@Override
91-
public void customize(WireMockConfiguration configuration, ConfigureWireMock options) {
92-
// apply changes to configuration
93-
}
94-
}
95-
```
96-
97-
> [!IMPORTANT]
98-
> `WireMockConfigurationCustomizer` must have a no-arg constructor.
99-
10073
Sounds good? Consider [❤️ Sponsoring](https://github.com/sponsors/maciejwalkowiak) the project! Thank you!
10174

10275
## 🙏 Credits

0 commit comments

Comments
 (0)