Update format of guests API and document endpoints #130
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024 Manuel Bustillo
|
||||||
|
|
||||||
require 'swagger_helper'
|
require 'swagger_helper'
|
||||||
|
|
||||||
RSpec.describe 'guests', type: :request do
|
RSpec.describe 'guests', type: :request do
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024 Manuel Bustillo
|
||||||
|
|
||||||
module SwaggerResponseHelper
|
module SwaggerResponseHelper
|
||||||
def response_422
|
def response_422
|
||||||
response(422, 'Validation errors in input parameters') do
|
response(422, 'Validation errors in input parameters') do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user