mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
First iteration of rspec driven swagger
This commit is contained in:
@@ -5,6 +5,7 @@ class Blog < ActiveRecord::Base
|
||||
|
||||
def as_json(options)
|
||||
{
|
||||
id: id,
|
||||
title: title,
|
||||
content: content
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user