File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/api
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app126 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,11 +263,12 @@ protected synchronized OpenAPI getOpenApi() {
263
263
openAPIBuilder .setServersPresent (true );
264
264
openAPIBuilder .updateServers (openApi );
265
265
266
+ if (springDocConfigProperties .isRemoveBrokenReferenceDefinitions ())
267
+ this .removeBrokenReferenceDefinitions (openApi );
268
+
266
269
// run the optional customisers
267
270
openApiCustomisers .ifPresent (apiCustomisers -> apiCustomisers .forEach (openApiCustomiser -> openApiCustomiser .customise (openApi )));
268
271
269
- if (springDocConfigProperties .isRemoveBrokenReferenceDefinitions ())
270
- this .removeBrokenReferenceDefinitions (openApi );
271
272
openAPIBuilder .setCachedOpenAPI (openApi );
272
273
openAPIBuilder .resetCalculatedOpenAPI ();
273
274
Original file line number Diff line number Diff line change 42
42
/**
43
43
* Tests Spring meta-annotations as method parameters
44
44
*/
45
- @ TestPropertySource (properties = "springdoc.remove-broken-reference-definitions=false" )
46
45
public class SpringDocApp126Test extends AbstractSpringDocTest {
47
46
48
47
@ SpringBootApplication
You can’t perform that action at this time.
0 commit comments