mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 08:31:23 +00:00
[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:
@@ -2401,6 +2401,12 @@ components:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
pet_type:
|
||||
default: ChildCat
|
||||
enum:
|
||||
- ChildCat
|
||||
type: string
|
||||
x-enum-as-string: true
|
||||
type: object
|
||||
securitySchemes:
|
||||
petstore_auth:
|
||||
|
||||
Reference in New Issue
Block a user