Open
Description
Describe the bug
the EnumStatus
and UnionData
has no xml property.
Reproduction
openapi: 3.0.0
info:
title: (title)
version: 0.0.0
tags: []
paths: {}
components:
schemas:
Book:
type: object
required:
- status
- unions
properties:
status:
allOf:
- $ref: '#/components/schemas/EnumStatus'
xml:
name: status
unions:
type: array
items:
allOf:
- $ref: '#/components/schemas/UnionData'
xml:
name: XmlUnionData # ---> not sure if expect.
xml:
wrapped: true
EnumStatus:
type: string
enum:
- Active
- Inactive
xml:
name: XmlEnumStatus # ---> expected
UnionData:
type: string
enum:
- Active
- Inactive
xml:
name: XmlUnionData # ---> expected
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.