I'm using custom connector and trying to populate dynamic schema response
Using x-ms-dynamic-schema
This is my swagger:
responses:
'200':
description: Result
schema:
description: output description
type: object
x-ms-dynamic-schema:
operationId: OperationId
parameters:
ref: {parameter: ref}
value-path: output
And this is the UI dynamic content:
Question is why am I seeing also Body
and Item
fields while they are not appearing in my schema response:
{
'output': {
'type': 'object',
'properties': {
'some_field1': {
'type': 'string',
'required': True
},
'some_field2': {
'type': 'string',
'required': True
},
'some_field3': {
'required': True,
'type': 'array',
'items': {
'type': 'number'
}
},
'some_field4': {
'required': True,
'type': 'integer'
}
}
}
}