src/main/java/com/openbank/util/JiraXrayApi.java
private static RequestSpecification client() {
        return RestAssured.given()
                // .log().method().log().uri().log().body()
                .header("Authorization", auth).contentType(ContentType.JSON).accept(ContentType.JSON);
    }
/**
     * build rest client with headers
     *
     * @return RequestSpecification
     */
build rest client with headers
@return RequestSpecification
build rest client with headers @return RequestSpecification
private static RequestSpecification client() {
        return RestAssured.given()
                .header("Authorization", auth).contentType(ContentType.JSON).accept(ContentType.JSON);
    }
private static RequestSpecification client ( ) { return RestAssured . given ( ) . header ( "Authorization" , auth ) . contentType ( ContentType . JSON ) . accept ( ContentType . JSON ) ; }
build rest client with headers
 @return RequestSpecification
build rest client with headers @return RequestSpecification
// .log().method().log().uri().log().body()