Fix Typo in AddDefaultConfigSettings.java (#2285)

Fixes  a typo in `AddDefaultConfigSettings` where `openapi` was misspelled.
This commit is contained in:
David Hall 2024-05-13 10:00:13 -04:00 committed by GitHub
parent d1dba17c6f
commit 4000f1a035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ final class AddDefaultConfigSettings implements ApiGatewayMapper {
public void updateDefaultSettings(Model model, OpenApiConfig openApiConfig) {
ApiGatewayConfig config = openApiConfig.getExtensions(ApiGatewayConfig.class);
if (config.getApiGatewayDefaults() == null) {
LOGGER.warning(String.format("`apiGatewayDefaults` configuration not set for opeanapi plugin. Assuming %s.",
LOGGER.warning(String.format("`apiGatewayDefaults` configuration not set for openapi plugin. Assuming %s.",
DEFAULT_VERSION));
config.setApiGatewayDefaults(DEFAULT_VERSION);
}