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.
2 parents 7b5785a + 78afe57 commit 5e9a6fdCopy full SHA for 5e9a6fd
1 file changed
springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java
@@ -143,6 +143,7 @@
143
* @author hyeonisism
144
* @author doljae
145
* @author zdary
146
+ * @author Haotian Zhang
147
*/
148
public abstract class AbstractOpenApiResource extends SpecFilter {
149
@@ -340,9 +341,20 @@ private void getOpenApi() {
340
341
this.getOpenApi(null, Locale.getDefault());
342
}
343
- /**
344
- * Gets open api.
345
- *
+ /**
+ * Gets open api.
346
+ *
347
+ * @param locale the locale
348
+ * @return the open api
349
+ */
350
+ protected OpenAPI getOpenApi(Locale locale) {
351
+ return this.getOpenApi(null, locale);
352
+ }
353
+
354
355
356
357
+ * @param serverBaseUrl the server base url
358
* @param locale the locale
359
* @return the open api
360
0 commit comments