forked from loafle/openapi-generator-original
Merge pull request #3073 from bitcloud/fix-datetime-example
fix date format in example generator
This commit is contained in:
commit
e26416b351
@ -93,9 +93,9 @@ public class ExampleGenerator {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
} else if (property instanceof DateProperty) {
|
} else if (property instanceof DateProperty) {
|
||||||
return "2000-01-23T04:56:07.000+0000";
|
return "2000-01-23T04:56:07.000+00:00";
|
||||||
} else if (property instanceof DateTimeProperty) {
|
} else if (property instanceof DateTimeProperty) {
|
||||||
return "2000-01-23T04:56:07.000+0000";
|
return "2000-01-23T04:56:07.000+00:00";
|
||||||
} else if (property instanceof DecimalProperty) {
|
} else if (property instanceof DecimalProperty) {
|
||||||
return new BigDecimal(1.3579);
|
return new BigDecimal(1.3579);
|
||||||
} else if (property instanceof DoubleProperty) {
|
} else if (property instanceof DoubleProperty) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user