I'm new to OpenAPI and I'm struggling to write the yaml to match my architect's design.
I'm looking to define a request body that looks like this:
{
'id': 'some_identifier',
'inputs': {
'key1': 'value1',
'key2': 'value2',
'key3': 'value3'
}
}
I'm struggling with how to describe the embedded inputs which is intended to be basically just a generic key/value map. I understand that it would be preferable to list out all of the possible fields like in the Petstore reference, but this is what we have because of "reasons". The inputs map can have any number of keys and values.