Make wedding object required for the swagger specs
Some checks failed
Check usage of free licenses / check-licenses (pull_request) Successful in 41s
Add copyright notice / copyright_notice (pull_request) Successful in 59s
Run unit tests / unit_tests (pull_request) Failing after 2m40s

This commit is contained in:
Manuel Bustillo 2024-12-01 14:04:03 +01:00
parent 279093ad98
commit 7a80f1f5ef

View File

@ -13,7 +13,7 @@ RSpec.describe 'users/registrations', type: :request do
parameter Swagger::Schema::SLUG
parameter name: :body, in: :body, schema: {
type: :object,
required: [:user],
required: [:user, :wedding],
properties: {
user: {
type: :object,