Skip to content

Commit 7fb24e5

Browse files
author
bnasslahsen
committed
change ParameterCustomizer interface and review code formatting
1 parent 7b7f2e6 commit 7fb24e5

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/OpenApiBuilderCustomiser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import org.springdoc.core.OpenAPIBuilder;
2222

23+
@FunctionalInterface
2324
public interface OpenApiBuilderCustomiser {
2425

2526
void customise(OpenAPIBuilder openApiBuilder);

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/OpenApiCustomiser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import io.swagger.v3.oas.models.OpenAPI;
2222

23+
@FunctionalInterface
2324
public interface OpenApiCustomiser {
2425

2526
void customise(OpenAPI openApi);

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/OperationCustomizer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* Implement and register a bean of type {@link OperationCustomizer} to customize an operation
2727
* based on the handler method input
2828
*/
29+
@FunctionalInterface
2930
public interface OperationCustomizer {
3031

3132
/**

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/ParameterCustomizer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* Implement and register a bean of type {@link ParameterCustomizer} to customize a parameter
2727
* based on the parameter and handler method input
2828
*/
29+
@FunctionalInterface
2930
public interface ParameterCustomizer {
3031
/**
3132
* @param parameterModel to be customized

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/PropertyCustomizer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* Implement and register a bean of type {@link PropertyCustomizer} to customize a schema property
2626
* based on annotated type
2727
*/
28+
@FunctionalInterface
2829
public interface PropertyCustomizer {
2930

3031
/**

0 commit comments

Comments
 (0)