Skip to content

Commit

Permalink
[#124] adds documentation for "get single service" request
Browse files Browse the repository at this point in the history
  • Loading branch information
philherbert committed Sep 14, 2020
1 parent 06b6b56 commit e38c887
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions documents/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,28 @@ paths:
items:
$ref: '#/components/schemas/Service'
/service/{service_id}:
get:
summary: Get a service
tags:
- service
parameters:
- $ref: '#/components/parameters/ServiceId'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Service'
'403':
$ref: '#/components/responses/AdminAuthError'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
post:
summary: Update a service
tags:
Expand Down

0 comments on commit e38c887

Please sign in to comment.