mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 05:36:12 +00:00
Add example allOf with single ref (#10948)
* Add example allOf with single ref * fix dart-dio-next handling of that case * Refactor without vendor extension * Regenerate newer samples
This commit is contained in:
@@ -1482,6 +1482,7 @@ components:
|
||||
userStatus: 6
|
||||
phone: phone
|
||||
id: 0
|
||||
userType: ""
|
||||
email: email
|
||||
username: username
|
||||
properties:
|
||||
@@ -1505,9 +1506,18 @@ components:
|
||||
description: User Status
|
||||
format: int32
|
||||
type: integer
|
||||
userType:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/UserType'
|
||||
type: object
|
||||
xml:
|
||||
name: User
|
||||
UserType:
|
||||
enum:
|
||||
- admin
|
||||
- user
|
||||
title: UserType
|
||||
type: string
|
||||
Tag:
|
||||
example:
|
||||
name: name
|
||||
|
||||
Reference in New Issue
Block a user