Skip to content

Instantly share code, notes, and snippets.

@hegeltrigo
Created October 16, 2019 15:15
Show Gist options
  • Select an option

  • Save hegeltrigo/6134db15a393132f2279a4db148d48a5 to your computer and use it in GitHub Desktop.

Select an option

Save hegeltrigo/6134db15a393132f2279a4db148d48a5 to your computer and use it in GitHub Desktop.

Revisions

  1. hegeltrigo created this gist Oct 16, 2019.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    path '/api/v1/projects/{id}' do

    get 'Get one project' do
    tags 'Projects'
    security [ bearer: [] ]
    consumes 'application/json', 'application/xml'
    parameter name: :id, :in => :path, :type => :integer

    response '200', 'get all projects' do
    it "test skipe" do end
    # run_test!
    end

    response '422', 'invalid request' do
    it "test skipe" do end
    # run_test!
    end
    end