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:
Peter Leibiger
2022-04-12 07:52:53 +02:00
committed by GitHub
parent b29b5e1045
commit 15e9d4ed8c
130 changed files with 2273 additions and 55 deletions

View File

@@ -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