mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 21:06:11 +00:00
[Java] Fix serialization of the discriminator field when using GSON (#7075)
* set discriminator on object construction... * regenerate all java samples * run bin/java-msf4j-petstore-server.sh * remove extra newline
This commit is contained in:
@@ -109,11 +109,11 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "available"
|
||||
enum:
|
||||
- "available"
|
||||
- "pending"
|
||||
- "sold"
|
||||
default: "available"
|
||||
collectionFormat: "csv"
|
||||
responses:
|
||||
200:
|
||||
@@ -650,10 +650,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_form_string"
|
||||
in: "formData"
|
||||
description: "Form parameter enum test (string)"
|
||||
@@ -671,10 +671,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_header_string"
|
||||
in: "header"
|
||||
description: "Header parameter enum test (string)"
|
||||
@@ -692,10 +692,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_query_string"
|
||||
in: "query"
|
||||
description: "Query parameter enum test (string)"
|
||||
|
||||
Reference in New Issue
Block a user