File tree 3 files changed +7
-8
lines changed
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration
springdoc-openapi-tests/springdoc-openapi-security-tests/src/test/resources/results
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ OpenApiCustomizer springSecurityLoginEndpointCustomizer(ApplicationContext appli
147
147
operation .requestBody (requestBody );
148
148
ApiResponses apiResponses = new ApiResponses ();
149
149
apiResponses .addApiResponse (String .valueOf (HttpStatus .OK .value ()), new ApiResponse ().description (HttpStatus .OK .getReasonPhrase ()));
150
- apiResponses .addApiResponse (String .valueOf (HttpStatus .FORBIDDEN .value ()), new ApiResponse ().description (HttpStatus .FORBIDDEN .getReasonPhrase ()));
150
+ apiResponses .addApiResponse (String .valueOf (HttpStatus .UNAUTHORIZED .value ()), new ApiResponse ().description (HttpStatus .UNAUTHORIZED .getReasonPhrase ()));
151
151
operation .responses (apiResponses );
152
152
operation .addTagsItem ("login-endpoint" );
153
153
PathItem pathItem = new PathItem ().post (operation );
Original file line number Diff line number Diff line change 84
84
"200" : {
85
85
"description" : " OK"
86
86
},
87
- "403 " : {
88
- "description" : " Forbidden "
87
+ "401 " : {
88
+ "description" : " Unauthorized "
89
89
}
90
90
}
91
91
}
Original file line number Diff line number Diff line change 41
41
"200" : {
42
42
"description" : " OK"
43
43
},
44
- "403 " : {
45
- "description" : " Forbidden "
44
+ "401 " : {
45
+ "description" : " Unauthorized "
46
46
}
47
47
}
48
48
}
49
49
}
50
50
},
51
- "components" : {
52
- }
53
- }
51
+ "components" : {}
52
+ }
You can’t perform that action at this time.
0 commit comments