Skip to content

Commit d727af3

Browse files
martin-mfgtimon-sbr
authored andcommitted
remove part that's problematic for ruby
1 parent d48b8b8 commit d727af3

File tree

77 files changed

+63
-2216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+63
-2216
lines changed

modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,18 +1434,6 @@ components:
14341434
complete:
14351435
type: boolean
14361436
default: false
1437-
paymentMethod:
1438-
type: number
1439-
format: int32
1440-
description: "Various payment methods"
1441-
default: 1
1442-
example: 1
1443-
x-enum-description:
1444-
- Paypal
1445-
- Creditcard
1446-
enum:
1447-
- 1
1448-
- 2
14491437
xml:
14501438
name: Order
14511439
Category:

samples/client/petstore/java-helidon-client/v3/mp/docs/Order.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
|**shipDate** | **OffsetDateTime** | | [optional] |
1414
|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] |
1515
|**complete** | **Boolean** | | [optional] |
16-
|**paymentMethod** | [**PaymentMethodEnum**](#PaymentMethodEnum) | Various payment methods | [optional] |
1716

1817

1918

@@ -27,12 +26,3 @@
2726

2827

2928

30-
## Enum: PaymentMethodEnum
31-
32-
| Name | Value |
33-
|---- | -----|
34-
| NUMBER_1 | new BigDecimal("1") |
35-
| NUMBER_2 | new BigDecimal("2") |
36-
37-
38-

samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Order.java

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.fasterxml.jackson.annotation.JsonCreator;
1818
import com.fasterxml.jackson.annotation.JsonTypeName;
1919
import com.fasterxml.jackson.annotation.JsonValue;
20-
import java.math.BigDecimal;
2120
import java.time.OffsetDateTime;
2221

2322

@@ -61,32 +60,6 @@ public String toString() {
6160

6261
private Boolean complete = false;
6362

64-
public enum PaymentMethodEnum {
65-
66-
NUMBER_1(new BigDecimal("1")), NUMBER_2(new BigDecimal("2"));
67-
68-
BigDecimal value;
69-
70-
PaymentMethodEnum (BigDecimal v) {
71-
value = v;
72-
}
73-
74-
public BigDecimal value() {
75-
return value;
76-
}
77-
78-
@Override
79-
public String toString() {
80-
return String.valueOf(value);
81-
}
82-
83-
}
84-
85-
/**
86-
* Various payment methods
87-
**/
88-
private PaymentMethodEnum paymentMethod = PaymentMethodEnum.NUMBER_1;
89-
9063
/**
9164
* Get id
9265
* @return id
@@ -207,26 +180,6 @@ public Order complete(Boolean complete) {
207180
return this;
208181
}
209182

210-
/**
211-
* Various payment methods
212-
* @return paymentMethod
213-
**/
214-
public PaymentMethodEnum getPaymentMethod() {
215-
return paymentMethod;
216-
}
217-
218-
/**
219-
* Set paymentMethod
220-
**/
221-
public void setPaymentMethod(PaymentMethodEnum paymentMethod) {
222-
this.paymentMethod = paymentMethod;
223-
}
224-
225-
public Order paymentMethod(PaymentMethodEnum paymentMethod) {
226-
this.paymentMethod = paymentMethod;
227-
return this;
228-
}
229-
230183

231184
/**
232185
* Create a string representation of this pojo.
@@ -242,7 +195,6 @@ public String toString() {
242195
sb.append(" shipDate: ").append(toIndentedString(shipDate)).append("\n");
243196
sb.append(" status: ").append(toIndentedString(status)).append("\n");
244197
sb.append(" complete: ").append(toIndentedString(complete)).append("\n");
245-
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
246198
sb.append("}");
247199
return sb.toString();
248200
}

samples/client/petstore/java-helidon-client/v3/se/docs/Order.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
|**shipDate** | **OffsetDateTime** | | [optional] |
1414
|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] |
1515
|**complete** | **Boolean** | | [optional] |
16-
|**paymentMethod** | [**PaymentMethodEnum**](#PaymentMethodEnum) | Various payment methods | [optional] |
1716

1817

1918

@@ -27,12 +26,3 @@
2726

2827

2928

30-
## Enum: PaymentMethodEnum
31-
32-
| Name | Value |
33-
|---- | -----|
34-
| NUMBER_1 | new BigDecimal("1") |
35-
| NUMBER_2 | new BigDecimal("2") |
36-
37-
38-

samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Order.java

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.fasterxml.jackson.annotation.JsonCreator;
1818
import com.fasterxml.jackson.annotation.JsonTypeName;
1919
import com.fasterxml.jackson.annotation.JsonValue;
20-
import java.math.BigDecimal;
2120
import java.time.OffsetDateTime;
2221

2322

@@ -61,32 +60,6 @@ public String toString() {
6160

6261
private Boolean complete = false;
6362

64-
public enum PaymentMethodEnum {
65-
66-
NUMBER_1(new BigDecimal("1")), NUMBER_2(new BigDecimal("2"));
67-
68-
BigDecimal value;
69-
70-
PaymentMethodEnum (BigDecimal v) {
71-
value = v;
72-
}
73-
74-
public BigDecimal value() {
75-
return value;
76-
}
77-
78-
@Override
79-
public String toString() {
80-
return String.valueOf(value);
81-
}
82-
83-
}
84-
85-
/**
86-
* Various payment methods
87-
**/
88-
private PaymentMethodEnum paymentMethod = PaymentMethodEnum.NUMBER_1;
89-
9063
/**
9164
* Get id
9265
* @return id
@@ -207,26 +180,6 @@ public Order complete(Boolean complete) {
207180
return this;
208181
}
209182

210-
/**
211-
* Various payment methods
212-
* @return paymentMethod
213-
**/
214-
public PaymentMethodEnum getPaymentMethod() {
215-
return paymentMethod;
216-
}
217-
218-
/**
219-
* Set paymentMethod
220-
**/
221-
public void setPaymentMethod(PaymentMethodEnum paymentMethod) {
222-
this.paymentMethod = paymentMethod;
223-
}
224-
225-
public Order paymentMethod(PaymentMethodEnum paymentMethod) {
226-
this.paymentMethod = paymentMethod;
227-
return this;
228-
}
229-
230183

231184
/**
232185
* Create a string representation of this pojo.
@@ -242,7 +195,6 @@ public String toString() {
242195
sb.append(" shipDate: ").append(toIndentedString(shipDate)).append("\n");
243196
sb.append(" status: ").append(toIndentedString(status)).append("\n");
244197
sb.append(" complete: ").append(toIndentedString(complete)).append("\n");
245-
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
246198
sb.append("}");
247199
return sb.toString();
248200
}

samples/client/petstore/java-helidon-client/v4/mp/docs/Order.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
|**shipDate** | **OffsetDateTime** | | [optional] |
1414
|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] |
1515
|**complete** | **Boolean** | | [optional] |
16-
|**paymentMethod** | [**PaymentMethodEnum**](#PaymentMethodEnum) | Various payment methods | [optional] |
1716

1817

1918

@@ -27,12 +26,3 @@
2726

2827

2928

30-
## Enum: PaymentMethodEnum
31-
32-
| Name | Value |
33-
|---- | -----|
34-
| NUMBER_1 | new BigDecimal("1") |
35-
| NUMBER_2 | new BigDecimal("2") |
36-
37-
38-

samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Order.java

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.fasterxml.jackson.annotation.JsonCreator;
1818
import com.fasterxml.jackson.annotation.JsonTypeName;
1919
import com.fasterxml.jackson.annotation.JsonValue;
20-
import java.math.BigDecimal;
2120
import java.time.OffsetDateTime;
2221

2322

@@ -61,32 +60,6 @@ public String toString() {
6160

6261
private Boolean complete = false;
6362

64-
public enum PaymentMethodEnum {
65-
66-
NUMBER_1(new BigDecimal("1")), NUMBER_2(new BigDecimal("2"));
67-
68-
BigDecimal value;
69-
70-
PaymentMethodEnum (BigDecimal v) {
71-
value = v;
72-
}
73-
74-
public BigDecimal value() {
75-
return value;
76-
}
77-
78-
@Override
79-
public String toString() {
80-
return String.valueOf(value);
81-
}
82-
83-
}
84-
85-
/**
86-
* Various payment methods
87-
**/
88-
private PaymentMethodEnum paymentMethod = PaymentMethodEnum.NUMBER_1;
89-
9063
/**
9164
* Get id
9265
* @return id
@@ -207,26 +180,6 @@ public Order complete(Boolean complete) {
207180
return this;
208181
}
209182

210-
/**
211-
* Various payment methods
212-
* @return paymentMethod
213-
**/
214-
public PaymentMethodEnum getPaymentMethod() {
215-
return paymentMethod;
216-
}
217-
218-
/**
219-
* Set paymentMethod
220-
**/
221-
public void setPaymentMethod(PaymentMethodEnum paymentMethod) {
222-
this.paymentMethod = paymentMethod;
223-
}
224-
225-
public Order paymentMethod(PaymentMethodEnum paymentMethod) {
226-
this.paymentMethod = paymentMethod;
227-
return this;
228-
}
229-
230183

231184
/**
232185
* Create a string representation of this pojo.
@@ -242,7 +195,6 @@ public String toString() {
242195
sb.append(" shipDate: ").append(toIndentedString(shipDate)).append("\n");
243196
sb.append(" status: ").append(toIndentedString(status)).append("\n");
244197
sb.append(" complete: ").append(toIndentedString(complete)).append("\n");
245-
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
246198
sb.append("}");
247199
return sb.toString();
248200
}

samples/client/petstore/java-helidon-client/v4/se/docs/Order.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
|**shipDate** | **OffsetDateTime** | | [optional] |
1414
|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] |
1515
|**complete** | **Boolean** | | [optional] |
16-
|**paymentMethod** | [**PaymentMethodEnum**](#PaymentMethodEnum) | Various payment methods | [optional] |
1716

1817

1918

@@ -27,12 +26,3 @@
2726

2827

2928

30-
## Enum: PaymentMethodEnum
31-
32-
| Name | Value |
33-
|---- | -----|
34-
| NUMBER_1 | new BigDecimal("1") |
35-
| NUMBER_2 | new BigDecimal("2") |
36-
37-
38-

0 commit comments

Comments
 (0)