Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

How to specify the default format #33

Open
urimaro opened this issue Oct 24, 2021 · 0 comments
Open

How to specify the default format #33

urimaro opened this issue Oct 24, 2021 · 0 comments

Comments

@urimaro
Copy link

urimaro commented Oct 24, 2021

I would like to specify the format.
Could you let me know if you have any better ideas than using the defaults block?

  api vendor_string: 'foo', default_version: 1 do
    defaults format: :json do
      version 1 do
        cache as: 'v1' do
        :
        end
      end
    end
  end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant