Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# qase-java 4.1.59

- Updated API clients to the latest specification

# qase-java 4.1.58

- Updated API clients to the latest specification
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.qase</groupId>
<artifactId>qase-java</artifactId>
<packaging>pom</packaging>
<version>4.1.58</version>
<version>4.1.59</version>
<modules>
<module>qase-java-commons</module>
<module>qase-api-client</module>
Expand Down
3 changes: 2 additions & 1 deletion qase-api-client/docs/Author.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **Long** | | [optional] |
|**authorId** | **Long** | | [optional] |
|**uuid** | **UUID** | Author UUID. Use it to reference the author in other API methods. | [optional] |
|**authorId** | **Long** | Deprecated, use &#x60;uuid&#x60; instead. | [optional] |
|**entityType** | **String** | | [optional] |
|**entityId** | **Long** | | [optional] |
|**email** | **String** | | [optional] |
Expand Down
4 changes: 2 additions & 2 deletions qase-api-client/docs/AuthorsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Example {
//TokenAuth.setApiKeyPrefix("Token");

AuthorsApi apiInstance = new AuthorsApi(defaultClient);
Integer id = 56; // Integer | Identifier.
String id = "id_example"; // String | Author UUID, or the deprecated integer author ID.
try {
AuthorResponse result = apiInstance.getAuthor(id);
System.out.println(result);
Expand All @@ -57,7 +57,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **id** | **Integer**| Identifier. | |
| **id** | **String**| Author UUID, or the deprecated integer author ID. | |

### Return type

Expand Down
40 changes: 40 additions & 0 deletions qase-api-client/docs/Review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


# Review


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **Long** | Review ID, unique within the project. | [optional] |
|**title** | **String** | | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | &#x60;create&#x60; — the review proposes a new test case; &#x60;edit&#x60; — the review proposes changes to an existing test case. | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | | [optional] |
|**caseId** | **Long** | ID of the reviewed test case. Null for new-case draft reviews. | [optional] |
|**authorUuid** | **UUID** | Author UUID of the review creator (see &#x60;GET /author&#x60;). | [optional] |
|**reviewers** | [**List&lt;ReviewReviewersInner&gt;**](ReviewReviewersInner.md) | | [optional] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |



## Enum: TypeEnum

| Name | Value |
|---- | -----|
| CREATE | &quot;create&quot; |
| EDIT | &quot;edit&quot; |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| OPEN | &quot;open&quot; |
| MERGED | &quot;merged&quot; |
| DECLINED | &quot;declined&quot; |



13 changes: 13 additions & 0 deletions qase-api-client/docs/ReviewBulk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# ReviewBulk


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**reviews** | [**List&lt;ReviewCreate&gt;**](ReviewCreate.md) | Validated as a whole: if any item is invalid nothing is created. Otherwise each item is processed on its own and reported in the response. | |



14 changes: 14 additions & 0 deletions qase-api-client/docs/ReviewBulkResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# ReviewBulkResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**status** | **Boolean** | | [optional] |
|**result** | [**ReviewBulkResponseAllOfResult**](ReviewBulkResponseAllOfResult.md) | | [optional] |



13 changes: 13 additions & 0 deletions qase-api-client/docs/ReviewBulkResponseAllOfResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# ReviewBulkResponseAllOfResult


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**items** | [**List&lt;ReviewBulkResponseAllOfResultItems&gt;**](ReviewBulkResponseAllOfResultItems.md) | Per-item outcomes, in request order. | [optional] |



15 changes: 15 additions & 0 deletions qase-api-client/docs/ReviewBulkResponseAllOfResultItems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ReviewBulkResponseAllOfResultItems


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**reviewId** | **Long** | ID of the created review. Null when the item failed. | [optional] |
|**caseId** | **Long** | The &#x60;case_id&#x60; submitted with the item, echoed back for correlation. Null for new-case draft reviews. | [optional] |
|**error** | **String** | Failure reason. Null when the item was created. | [optional] |



44 changes: 44 additions & 0 deletions qase-api-client/docs/ReviewCaseData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@


# ReviewCaseData

The test case fields proposed by the review.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**title** | **String** | | [optional] |
|**description** | **String** | | [optional] |
|**preconditions** | **String** | | [optional] |
|**postconditions** | **String** | | [optional] |
|**severity** | **Integer** | | [optional] |
|**priority** | **Integer** | | [optional] |
|**behavior** | **Integer** | | [optional] |
|**type** | **Integer** | | [optional] |
|**layer** | **Integer** | | [optional] |
|**isFlaky** | **Integer** | | [optional] |
|**isMuted** | **Boolean** | Mute state of the proposed test case. | [optional] |
|**suiteId** | **Long** | | [optional] |
|**milestoneId** | **Long** | | [optional] |
|**isManual** | **Boolean** | &#x60;true&#x60; if the case is manual, &#x60;false&#x60; if it is automated. | [optional] |
|**isToBeAutomated** | **Boolean** | &#x60;true&#x60; if a manual case is planned to be automated. | [optional] |
|**status** | **Integer** | | [optional] |
|**stepsType** | [**StepsTypeEnum**](#StepsTypeEnum) | Format of the steps field. Omit to keep the current one, &#x60;classic&#x60; for a new-case draft; changing it requires sending &#x60;steps&#x60; in the same request. | [optional] |
|**attachments** | **List&lt;String&gt;** | A list of Attachment hashes. | [optional] |
|**steps** | [**List&lt;ReviewStepData&gt;**](ReviewStepData.md) | For gherkin steps send the scenario in &#x60;value&#x60;. | [optional] |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**parameters** | [**List&lt;TestCaseParameterCreate&gt;**](TestCaseParameterCreate.md) | | [optional] |
|**customField** | **Map&lt;String, String&gt;** | Map of custom field ID to value. A &#x60;create&#x60; review must carry every required custom field. An &#x60;edit&#x60; review is validated against the current test case, so send only the fields the proposal changes. | [optional] |



## Enum: StepsTypeEnum

| Name | Value |
|---- | -----|
| CLASSIC | &quot;classic&quot; |
| GHERKIN | &quot;gherkin&quot; |



15 changes: 15 additions & 0 deletions qase-api-client/docs/ReviewCreate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ReviewCreate


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**caseId** | **Long** | ID of the reviewed test case. When present an &#x60;edit&#x60; review is created, otherwise a &#x60;create&#x60; review with a new-case draft. | [optional] |
|**reviewers** | **List&lt;UUID&gt;** | Author UUIDs of team members to assign as reviewers (see &#x60;GET /author&#x60;). | [optional] |
|**proposedCase** | [**ReviewCaseData**](ReviewCaseData.md) | For &#x60;create&#x60; reviews &#x60;title&#x60; and all required project fields are required. For &#x60;edit&#x60; reviews send only the fields the proposal changes. | |



41 changes: 41 additions & 0 deletions qase-api-client/docs/ReviewDetailed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@


# ReviewDetailed


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **Long** | Review ID, unique within the project. | [optional] |
|**title** | **String** | | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | &#x60;create&#x60; — the review proposes a new test case; &#x60;edit&#x60; — the review proposes changes to an existing test case. | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | | [optional] |
|**caseId** | **Long** | ID of the reviewed test case. Null for new-case draft reviews. | [optional] |
|**authorUuid** | **UUID** | Author UUID of the review creator (see &#x60;GET /author&#x60;). | [optional] |
|**reviewers** | [**List&lt;ReviewReviewersInner&gt;**](ReviewReviewersInner.md) | | [optional] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
|**proposedCase** | **Object** | The proposed test case state. Merging the review applies it to the test case. | [optional] |



## Enum: TypeEnum

| Name | Value |
|---- | -----|
| CREATE | &quot;create&quot; |
| EDIT | &quot;edit&quot; |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| OPEN | &quot;open&quot; |
| MERGED | &quot;merged&quot; |
| DECLINED | &quot;declined&quot; |



14 changes: 14 additions & 0 deletions qase-api-client/docs/ReviewListResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# ReviewListResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**status** | **Boolean** | | [optional] |
|**result** | [**ReviewListResponseAllOfResult**](ReviewListResponseAllOfResult.md) | | [optional] |



16 changes: 16 additions & 0 deletions qase-api-client/docs/ReviewListResponseAllOfResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


# ReviewListResponseAllOfResult


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**total** | **Integer** | | [optional] |
|**filtered** | **Integer** | | [optional] |
|**count** | **Integer** | | [optional] |
|**entities** | [**List&lt;Review&gt;**](Review.md) | | [optional] |



44 changes: 44 additions & 0 deletions qase-api-client/docs/ReviewProposedCase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@


# ReviewProposedCase

The test case state proposed by the review. Only the fields the proposal carries are present.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**title** | **String** | | [optional] |
|**description** | **String** | | [optional] |
|**preconditions** | **String** | | [optional] |
|**postconditions** | **String** | | [optional] |
|**severity** | **Integer** | | [optional] |
|**priority** | **Integer** | | [optional] |
|**behavior** | **Integer** | | [optional] |
|**type** | **Integer** | | [optional] |
|**layer** | **Integer** | | [optional] |
|**isFlaky** | **Integer** | | [optional] |
|**isMuted** | **Boolean** | | [optional] |
|**suiteId** | **Long** | | [optional] |
|**milestoneId** | **Long** | | [optional] |
|**isManual** | **Boolean** | &#x60;true&#x60; if the case is manual, &#x60;false&#x60; if it is automated. | [optional] |
|**isToBeAutomated** | **Boolean** | &#x60;true&#x60; if a manual case is planned to be automated. | [optional] |
|**status** | **Integer** | | [optional] |
|**stepsType** | [**StepsTypeEnum**](#StepsTypeEnum) | | [optional] |
|**attachments** | **List&lt;String&gt;** | Attachment hashes. | [optional] |
|**steps** | [**List&lt;ReviewProposedStep&gt;**](ReviewProposedStep.md) | | [optional] |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**parameters** | [**List&lt;TestCaseParameter&gt;**](TestCaseParameter.md) | | [optional] |
|**customFields** | [**List&lt;CustomFieldValue&gt;**](CustomFieldValue.md) | | [optional] |



## Enum: StepsTypeEnum

| Name | Value |
|---- | -----|
| CLASSIC | &quot;classic&quot; |
| GHERKIN | &quot;gherkin&quot; |



19 changes: 19 additions & 0 deletions qase-api-client/docs/ReviewProposedStep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


# ReviewProposedStep


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**action** | **String** | Step action text. Used for classic steps. For gherkin steps, use the \&quot;value\&quot; property instead. | [optional] |
|**expectedResult** | **String** | | [optional] |
|**data** | **String** | | [optional] |
|**value** | **String** | Gherkin scenario text. Used when steps_type is \&quot;gherkin\&quot;. | [optional] |
|**shared** | **String** | Hash of the referenced shared step. | [optional] |
|**attachments** | **List&lt;String&gt;** | A list of Attachment hashes. | [optional] |
|**steps** | **List&lt;Object&gt;** | Nested steps use the same structure. | [optional] |



14 changes: 14 additions & 0 deletions qase-api-client/docs/ReviewResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# ReviewResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**status** | **Boolean** | | [optional] |
|**result** | [**ReviewDetailed**](ReviewDetailed.md) | | [optional] |



24 changes: 24 additions & 0 deletions qase-api-client/docs/ReviewReviewersInner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@


# ReviewReviewersInner


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**authorUuid** | **UUID** | Author UUID of the reviewer (see &#x60;GET /author&#x60;). | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | | [optional] |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| UNAPPROVED | &quot;unapproved&quot; |
| APPROVED | &quot;approved&quot; |
| CHANGES_REQUESTED | &quot;changes_requested&quot; |



Loading
Loading