Skip to content

Instantly share code, notes, and snippets.

@bradenmacdonald
Created January 28, 2019 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradenmacdonald/061c37b42af22832a14574e4aeaa5c59 to your computer and use it in GitHub Desktop.
Save bradenmacdonald/061c37b42af22832a14574e4aeaa5c59 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
title: BugReportAPI
version: v1
basePath: /api/v1
consumes:
- application/json
produces:
- application/json
paths:
/tag/new/:
post:
operationId: tag_new_create
description: Create a new tag
parameters:
- name: data
in: body
required: true
schema:
type: string
responses:
'201':
description: 'No response'
tags:
- tag
/unit/new/:
post:
operationId: unit_new_create
description: Create a new unit
parameters:
- name: data
in: body
required: true
schema:
type: string
responses:
'201':
description: 'No response'
tags:
- unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment