Skip to content
#

grape

Here are 76 public repositories matching this topic...

Timunas
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

vladimirtcats
vladimirtcats commented Apr 21, 2020

I am trying to create documentation for this

    desc 'Returns your public timeline.' do
    summary 'summary'
    detail 'more details'
    named 'My named route'
    headers XAuthToken: {
              description: 'Validates your identity',
              required: true
            },
            XOptionalHeader: {
              description: 'Not really needed',
           
Kukunin
Kukunin commented Nov 8, 2017
      with_options documentation: {required: true, type: 'integer'} do
        expose :posts_count, as: :posts, documentation: {example: 7}
        expose :followers_count, as: :followers, documentation: {example: 105}
        expose :following_count, as: :following, documentation: {example: 52}
        expose :bookmarks_count, as: :bookmarks, documentation: {example: 22}
      end
periflo90
periflo90 commented Oct 23, 2019

We're using Grape with Grape::OAuth2 for a Rails project which provides an API that needs to be secured by the Client Credentials flow of OAuth2.

We've been following the configuration guidelines and the 'lazy' usage example stated in the README, but we have a question regarding the resource_owner_class_name. As we are using Client Credentials we don't need a resource owner, but the documenta

Improve this page

Add a description, image, and links to the grape topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the grape topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.