chris01
3 years agoNew Contributor
OpenAPI: xml
Hello,
I would like to define for a put request a request body as described:
<startupConfig>
<kroneMaterialNumbers>
<KMAT number="204241000" nameProduktstrukturService="BX404-10">
<WorkingSteps>
<WorkingStep OrderNr="1">stepSetup</WorkingStep>
<WorkingStep OrderNr="2">stepKSC</WorkingStep>
Because of Working Step is an array I can't find a solution to describe the attribute "OrderNr" in OpenAPI 3.0
I tried to use properties
WorkingStep :
type: array
type: array
properties:
- properties:
- number:
- type: integer
- xml:
- attribute: true
items:
...
but no attributes are display or generated.
Can anyone help?