From 4000f1a03584855dc7d2cd7a8fa6597592d02d33 Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 13 May 2024 10:00:13 -0400 Subject: [PATCH] Fix Typo in AddDefaultConfigSettings.java (#2285) Fixes a typo in `AddDefaultConfigSettings` where `openapi` was misspelled. --- .../smithy/aws/apigateway/openapi/AddDefaultConfigSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smithy-aws-apigateway-openapi/src/main/java/software/amazon/smithy/aws/apigateway/openapi/AddDefaultConfigSettings.java b/smithy-aws-apigateway-openapi/src/main/java/software/amazon/smithy/aws/apigateway/openapi/AddDefaultConfigSettings.java index de5bf6117..06917e347 100644 --- a/smithy-aws-apigateway-openapi/src/main/java/software/amazon/smithy/aws/apigateway/openapi/AddDefaultConfigSettings.java +++ b/smithy-aws-apigateway-openapi/src/main/java/software/amazon/smithy/aws/apigateway/openapi/AddDefaultConfigSettings.java @@ -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); }