fix: financial category tag

This commit is contained in:
Philipp Rothmann 2022-12-12 12:28:06 +01:00
parent 6bacbe9584
commit 1c5a3c6864
3 changed files with 5 additions and 9 deletions

View File

@ -17,11 +17,7 @@ describe 'Financial Transaction', type: :request do
response '200', 'success' do
schema type: :object, properties: {
meta: {
type: :object,
items:
{
'$ref': '#/components/schemas/Meta'
}
'$ref' => '#/components/schemas/Meta'
},
financial_transaction: {
type: :array,
@ -40,7 +36,7 @@ describe 'Financial Transaction', type: :request do
path '/financial_transactions/{id}' do
get 'Retrieves a financial transaction ' do
tags 'Category'
tags 'Financial Transaction'
produces 'application/json'
parameter name: :id, in: :path, type: :string

View File

@ -14,7 +14,7 @@ describe 'User', type: :request do
path '/user/financial_transactions' do
post 'create new financial transaction (requires enabled self service)' do
tags 'User', 'FinancialTransaction'
tags "Financial Transaction"
consumes 'application/json'
produces 'application/json'
parameter name: "per_page", in: :query, type: :integer, required: false