[Java][jersey2]Support enum discriminator value in child objects (#7267)

* support enum discriminator value in child (java jersey2)

* update samples

* add tests, use public
This commit is contained in:
William Cheng
2020-08-27 11:42:48 +08:00
committed by GitHub
parent f11b2e6772
commit 8c1f6fcdc1
13 changed files with 231 additions and 9 deletions

View File

@@ -7,6 +7,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | | [optional]
**petType** | [**String**](#String) | | [optional]
## Enum: String
Name | Value
---- | -----
CHILDCAT | "ChildCat"

View File

@@ -7,6 +7,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | | [optional]
**petType** | [**String**](#String) | | [optional]
## Enum: String
Name | Value
---- | -----
CHILDCAT | "ChildCat"