Correct documentation errors

GSoC/Meterpreter_Web_Console
Matthew Kienow 2018-12-27 21:42:24 -05:00
parent c55ef72437
commit 3510a3daa2
No known key found for this signature in database
GPG Key ID: 40787F8B1EAC6E41
1 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ module SessionEventApiDoc
end
end
# Swagger documentation for /api/v1/session events POST
# Swagger documentation for /api/v1/session-events events POST
operation :post do
key :description, 'Create a session events entry.'
key :tags, [ 'session_event' ]
@ -138,15 +138,15 @@ module SessionEventApiDoc
end
swagger_path '/api/v1/session-events/{id}' do
# Swagger documentation for api/v1/session-events/:id GET
# Swagger documentation for /api/v1/session-events/:id GET
operation :get do
key :description, 'Return a specific session_event that is stored in the database.'
key :description, 'Return a specific session event that is stored in the database.'
key :tags, [ 'session_event' ]
parameter do
key :name, :id
key :in, :path
key :description, 'ID of session_event to retrieve.'
key :description, 'ID of session event to retrieve.'
key :required, true
key :type, :integer
key :format, :int32