how to generate a serializer in fast json api code example
Example: how to generate a serializer fast json api
rails g serializer Movie name year
# Movie is the title
# name and year are the attributes
rails g serializer Movie name year
# Movie is the title
# name and year are the attributes