Update swagger documentation
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 37s
Add copyright notice / copyright_notice (pull_request) Successful in 55s
Run unit tests / unit_tests (pull_request) Successful in 1m42s

This commit is contained in:
Manuel Bustillo 2024-12-28 16:43:58 +01:00
parent 5784c89b79
commit 9fe649f8b8

View File

@ -36,10 +36,10 @@ RSpec.describe 'affinities', type: :request do
type: :array,
items: {
type: :object,
required: %i[group_id discomfort],
required: %i[group_id affinity],
properties: {
group_id: { type: :string, format: :uuid, description: 'ID of the associated group' },
discomfort: { type: :integer, minimum: 0, maximum: 2 }
affinity: { type: :integer, minimum: 0, maximum: 2 }
}
}
}