Is it possible to somehow mark properties so that it's understandable which field should be set in SwaggerUI when sending request.
For example we have a route for payments, which has payment_type property that can hold values like paypal, credit_card, crypto, etc. and based on that field we need to fill different properties like below.
{
"payment": 0,
"paypal": "test@test.com",
"cryptocurrency": "test",
"wallet_address": "test",
"swift": "test",
"iban": "test",
"account_name": "test",
"bank_name": "test"
}
Is it possible to mark them somehow so that they are grouped, like for crypto cryptocurrency and wallet_address should be set, while for bank transfer swift, iban, account_name and bank_name should be set.