21 lines
479 B
Ruby
Raw Normal View History

2024-11-30 13:27:21 +00:00
# Copyright (C) 2024 Manuel Bustillo
module Swagger
module Schema
USER = {
id: { type: :string, format: :uuid },
email: { type: :string, format: :email },
created_at: SwaggerResponseHelper::TIMESTAMP,
updated_at: SwaggerResponseHelper::TIMESTAMP
}
SLUG = {
name: 'slug',
in: :path,
type: :string,
example: :default,
description: 'Wedding slug'
}
end
end