Skip to content

Commit 1b4e260

Browse files
committed
changes report #3107
1 parent dca06c7 commit 1b4e260

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,17 @@ private void getOpenApi() {
346346
* @param locale the locale
347347
* @return the open api
348348
*/
349+
protected OpenAPI getOpenApi(Locale locale) {
350+
return this.getOpenApi(null, locale);
351+
}
352+
353+
/**
354+
* Gets open api.
355+
*
356+
* @param serverBaseUrl the server base url
357+
* @param locale the locale
358+
* @return the open api
359+
*/
349360
protected OpenAPI getOpenApi(String serverBaseUrl, Locale locale) {
350361
this.reentrantLock.lock();
351362
try {

0 commit comments

Comments
 (0)