28_introduce_rswag #35

Merged
philipp merged 46 commits from 28_introduce_rswag into develop 2023-01-05 13:45:47 +01:00
1 changed files with 6 additions and 7 deletions
Showing only changes of commit 64e59085b2 - Show all commits

View File

@ -183,14 +183,13 @@ 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' },
},
note: { note: {
type: :string, type: :string,
description: 'note entered with the transaction' description: 'note entered with 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: