File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
springdoc-openapi-starter-common/src/main/java/org/springdoc/api Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 143143 * @author hyeonisism
144144 * @author doljae
145145 * @author zdary
146+ * @author Haotian Zhang
146147 */
147148public abstract class AbstractOpenApiResource extends SpecFilter {
148149
@@ -340,9 +341,20 @@ private void getOpenApi() {
340341 this .getOpenApi (null , Locale .getDefault ());
341342 }
342343
343- /**
344- * Gets open api.
345- *
344+ /**
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+ * Gets open api.
356+ *
357+ * @param serverBaseUrl the server base url
346358 * @param locale the locale
347359 * @return the open api
348360 */
You can’t perform that action at this time.
0 commit comments