You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: extensions/smallrye-openapi-common/deployment/src/main/java/io/quarkus/smallrye/openapi/common/deployment/SmallRyeOpenApiConfig.java
+6
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,12 @@ public interface SmallRyeOpenApiConfig {
94
94
@WithDefault("true")
95
95
booleanautoAddTags();
96
96
97
+
/**
98
+
* This will automatically add Bad Request (400 HTTP response) API response to operations with an input.
99
+
*/
100
+
@WithDefault("true")
101
+
booleanautoAddBadRequestResponse();
102
+
97
103
/**
98
104
* This will automatically add a summary to operations based on the Java method name.
Copy file name to clipboardexpand all lines: extensions/smallrye-openapi/deployment/src/main/java/io/quarkus/smallrye/openapi/deployment/SmallRyeOpenApiProcessor.java
Copy file name to clipboardexpand all lines: extensions/smallrye-openapi/deployment/src/main/java/io/quarkus/smallrye/openapi/deployment/filter/OperationFilter.java
Copy file name to clipboardexpand all lines: extensions/smallrye-openapi/deployment/src/test/java/io/quarkus/smallrye/openapi/deployment/filter/SecurityConfigFilterTest.java
+5
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,11 @@ public boolean autoAddTags() {
0 commit comments