28_introduce_rswag #35

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

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