Make wedding object required for the swagger specs
This commit is contained in:
parent
279093ad98
commit
7a80f1f5ef
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user