A platform for community discussion. Free, open, simple.
DEV: Add `before` parameter to `/posts.json` API docs (#18268)
David Taylor40183080d94d
diff --git a/spec/requests/api/posts_spec.rb b/spec/requests/api/posts_spec.rbindex 620f1314627..c7b8a26384e 100644--- a/spec/requests/api/posts_spec.rb+++ b/spec/requests/api/posts_spec.rb@@ -19,6 +19,7 @@ RSpec.describe 'posts' dooperationId 'listPosts'parameter name: 'Api-Key', in: :header, type: :string, required: trueparameter name: 'Api-Username', in: :header, type: :string, required: true+ parameter name: 'before', in: :query, type: :string, description: "Load posts with an id lower than this value. Useful for pagination.", required: falseproduces 'application/json'response '200', 'latest posts' do