Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatten ComposedSchema at Additional Properties #1385

Closed
gracekarina opened this issue Jun 1, 2020 · 0 comments
Closed

flatten ComposedSchema at Additional Properties #1385

gracekarina opened this issue Jun 1, 2020 · 0 comments
Assignees
Milestone

Comments

@gracekarina
Copy link
Contributor

gracekarina commented Jun 1, 2020

Flatten ComposedSchema at Additional Properties

'200':
          description: it works!
          content:
            application/json:
              schema:
                additionalProperties:
                    oneOf:
                      - "$ref": "#/components/schemas/Macaw4"
                      - "$ref": "#/components/schemas/Parakeet4"

'404':
          description: it works!
          content:
            application/json:
              schema:
                additionalProperties:
                  type: array
                  items:
                    anyOf:
                      - "$ref": "#/components/schemas/Macaw4"
                      - "$ref": "#/components/schemas/Parakeet4"
@gracekarina gracekarina self-assigned this Jun 2, 2020
gracekarina added a commit that referenced this issue Jun 4, 2020
gracekarina added a commit that referenced this issue Jun 4, 2020
gracekarina added a commit that referenced this issue Jun 4, 2020
gracekarina added a commit that referenced this issue Jun 4, 2020
@frantuma frantuma added this to the M3 milestone Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants