Skip to content

Commit

Permalink
Just a nod to summary. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwerle authored and fotinakis committed Jul 16, 2017
1 parent 2f7f68c commit 85b9bc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class PetsController < ActionController::Base

swagger_path '/pets/{id}' do
operation :get do
key :summary, 'Find Pet by ID'
key :description, 'Returns a single pet if the user has access'
key :operationId, 'findPetById'
key :tags, [
Expand Down Expand Up @@ -72,6 +73,7 @@ class PetsController < ActionController::Base
end
swagger_path '/pets' do
operation :get do
key :summary, 'All Pets'
key :description, 'Returns all pets from the system that the user has access to'
key :operationId, 'findPets'
key :produces, [
Expand Down

0 comments on commit 85b9bc0

Please sign in to comment.