private ApiResponses buildApiResponsesOnBadRequest(ApiResponses apiResponses, OpenAPI openAPI, boolean openapi31) {
		buildOAuth2Error(openAPI, apiResponses, HttpStatus.BAD_REQUEST, openapi31);
		return apiResponses;
	}
Build api responses on bad request.

@param apiResponses the api responses
@param openAPI      the open api
@param openapi31    the openapi 31
@return the api responses
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/SpringDocSecurityOAuth2Customizer.java