fix: ExampleGenerator for composed child schemas and array schemas (#18479)

* fix: ExampleGenerator for composed child schemas and array schemas correctly

* fix: refactor to remove code duplication

* fix: fixes test assertion encoding

* fix: adds doc to new method
This commit is contained in:
Phellippe Lima
2024-04-30 07:36:49 +01:00
committed by GitHub
parent 81fab15a33
commit e36172090e
16 changed files with 195 additions and 12 deletions

View File

@@ -1278,6 +1278,10 @@ components:
type: array
RolesReportsHash:
description: Role report Hash
example:
role:
name: name
role_uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
role_uuid:
format: uuid
@@ -2862,6 +2866,8 @@ components:
- country
type: object
RolesReportsHash_role:
example:
name: name
properties:
name:
type: string