[csharp] Fixed operation nested return type (#16314)

* fixed operation nested return type

* more robust fix
This commit is contained in:
devhl-labs
2023-08-14 01:07:36 -04:00
committed by GitHub
parent 83af019603
commit ef9520f989
123 changed files with 8189 additions and 12 deletions

View File

@@ -41,6 +41,17 @@ tags:
- description: Operations about user
name: user
paths:
/roles/report:
get:
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/RolesReport'
type: array
description: returns report
/hello:
get:
description: Hello
@@ -1181,6 +1192,20 @@ components:
description: Pet object that needs to be added to the store
required: true
schemas:
RolesReport:
description: Roles report
items:
$ref: '#/components/schemas/RolesReportsHash'
type: array
RolesReportsHash:
description: Role report Hash
properties:
role_uuid:
format: uuid
type: string
role:
$ref: '#/components/schemas/RolesReportsHash_role'
type: object
Foo:
example:
bar: bar
@@ -2422,6 +2447,11 @@ components:
required:
- country
type: object
RolesReportsHash_role:
properties:
name:
type: string
type: object
securitySchemes:
petstore_auth:
flows: