diff --git a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/DefaultOpenApiExtension.java b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/DefaultOpenApiExtension.java index e4038ece..993451da 100644 --- a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/DefaultOpenApiExtension.java +++ b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/DefaultOpenApiExtension.java @@ -208,7 +208,7 @@ public void client(String name, Provider definition, Action { configureCommonProperties(name, task, clientSpec, definition); diff --git a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/ParameterMappingModel.java b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/ParameterMappingModel.java index 7ab9f40e..94173a6f 100644 --- a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/ParameterMappingModel.java +++ b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/ParameterMappingModel.java @@ -18,7 +18,7 @@ import java.io.Serializable; /** - * A model that can be used to specify parameter mappings during the OpenAPI gneration + * A model that can be used to specify parameter mappings during the OpenAPI generation * *

An equivalent to Micronaut OpenAPI's ParameterMapping but * without using classes from that dependency so that we can isolate @@ -57,7 +57,7 @@ public final class ParameterMappingModel implements Serializable { private final boolean isValidated; /** - * Create a prameter mapping + * Create a parameter mapping * * @param name The name of the parameter as described by the name field in specification. * @param location The location of parameter. Path parameters cannot be mapped, as this diff --git a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiClientWorkAction.java b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiClientWorkAction.java index 70d84896..7dee9ed7 100644 --- a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiClientWorkAction.java +++ b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiClientWorkAction.java @@ -24,7 +24,7 @@ public abstract class OpenApiClientWorkAction extends AbstractOpenApiWorkAction { - interface ClientParameters extends AbstractOpenApiWorkAction.OpenApiParameters { + protected interface ClientParameters extends AbstractOpenApiWorkAction.OpenApiParameters { Property getClientId(); diff --git a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiServerWorkAction.java b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiServerWorkAction.java index 4c6a0f57..0cd2a371 100644 --- a/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiServerWorkAction.java +++ b/openapi-plugin/src/main/java/io/micronaut/gradle/openapi/tasks/OpenApiServerWorkAction.java @@ -21,7 +21,7 @@ public abstract class OpenApiServerWorkAction extends AbstractOpenApiWorkAction { - interface ServerParameters extends OpenApiParameters { + protected interface ServerParameters extends OpenApiParameters { Property getControllerPackage();