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

How to specify the default format #33

@urimaro

Description

@urimaro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions