28_introduce_rswag #35
1 changed files with 6 additions and 7 deletions
|
@ -183,11 +183,10 @@ RSpec.configure do |config|
|
||||||
type: :integer
|
type: :integer
|
||||||
},
|
},
|
||||||
amount: {
|
amount: {
|
||||||
type: :integer,
|
type: :float,
|
||||||
description: 'amount credited (negative for a debit transaction)'
|
description: 'amount credited (negative for a debit transaction)'
|
||||||
},
|
},
|
||||||
financial_transaction_type_id:
|
financial_transaction_type_id: {
|
||||||
{
|
|
||||||
type: :integer,
|
type: :integer,
|
||||||
description: 'id of the type of the transaction'
|
description: 'id of the type of the transaction'
|
||||||
},
|
},
|
||||||
|
@ -223,7 +222,7 @@ RSpec.configure do |config|
|
||||||
type: :object,
|
type: :object,
|
||||||
properties: {
|
properties: {
|
||||||
amount: {
|
amount: {
|
||||||
type: :integer,
|
type: :float,
|
||||||
description: 'amount credited (negative for a debit transaction)'
|
description: 'amount credited (negative for a debit transaction)'
|
||||||
},
|
},
|
||||||
financial_transaction_type_id:
|
financial_transaction_type_id:
|
||||||
|
|
Loading…
Reference in a new issue