Update swagger documentation
This commit is contained in:
parent
5784c89b79
commit
9fe649f8b8
@ -36,10 +36,10 @@ RSpec.describe 'affinities', type: :request do
|
|||||||
type: :array,
|
type: :array,
|
||||||
items: {
|
items: {
|
||||||
type: :object,
|
type: :object,
|
||||||
required: %i[group_id discomfort],
|
required: %i[group_id affinity],
|
||||||
properties: {
|
properties: {
|
||||||
group_id: { type: :string, format: :uuid, description: 'ID of the associated group' },
|
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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user