DEV: Document /u/{username}.json API endpoint

Added some more specs that will be used to auto generate the api docs.
This commit is contained in:
Blake Erickson
2020-09-04 16:24:43 -06:00
parent b16915d166
commit a14c9078d3
2 changed files with 415 additions and 1 deletions

View File

@ -760,7 +760,7 @@ describe 'posts' do
description: 'Enum: `all`, `yearly`, `quarterly`, `monthly`, `weekly`, `daily`')
produces 'application/json'
response '200', 'topic updated' do
response '200', 'response' do
schema type: :object, properties: {
users: {
type: :array,