Skip to content

Instantly share code, notes, and snippets.

@hegeltrigo
Created October 16, 2019 15:15
Show Gist options
  • Save hegeltrigo/6134db15a393132f2279a4db148d48a5 to your computer and use it in GitHub Desktop.
Save hegeltrigo/6134db15a393132f2279a4db148d48a5 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment