mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
Better handling of Inline schema (#15682)
* skip allOf inline subschema created as $ref * add option for fallback * add back atleastonemodel * add log * update java, kotlin, js samples * update tests * fix native client test * fix java client errors by regenerating test files * clean up python * clean up powershell * clean up php * clean up ruby * update erlang, elixir * update dart samples * update ts samples * update r, go samples * update perl * update swift * add back files * add back files * remove outdated test files * fix test
This commit is contained in:
@@ -610,7 +610,19 @@ components:
|
||||
x-parent: true
|
||||
DataQuery:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DataQuery_allOf'
|
||||
- properties:
|
||||
suffix:
|
||||
description: test suffix
|
||||
type: string
|
||||
text:
|
||||
description: Some text containing white spaces
|
||||
example: Some text
|
||||
type: string
|
||||
date:
|
||||
description: A date
|
||||
format: date-time
|
||||
type: string
|
||||
type: object
|
||||
- $ref: '#/components/schemas/Query'
|
||||
NumberPropertiesOnly:
|
||||
properties:
|
||||
@@ -645,19 +657,4 @@ components:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Bird'
|
||||
- $ref: '#/components/schemas/Category'
|
||||
DataQuery_allOf:
|
||||
properties:
|
||||
suffix:
|
||||
description: test suffix
|
||||
type: string
|
||||
text:
|
||||
description: Some text containing white spaces
|
||||
example: Some text
|
||||
type: string
|
||||
date:
|
||||
description: A date
|
||||
format: date-time
|
||||
type: string
|
||||
type: object
|
||||
example: null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user