We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca06c7 commit 1b4e260Copy full SHA for 1b4e260
springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java
@@ -346,6 +346,17 @@ private void getOpenApi() {
346
* @param locale the locale
347
* @return the open api
348
*/
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
+ */
360
protected OpenAPI getOpenApi(String serverBaseUrl, Locale locale) {
361
this.reentrantLock.lock();
362
try {
0 commit comments