Skip to content

Instantly share code, notes, and snippets.

@anopheles
Created March 29, 2017 16:04
Show Gist options
  • Save anopheles/cff863e0d783eba2118e2429b095c3c4 to your computer and use it in GitHub Desktop.
Save anopheles/cff863e0d783eba2118e2429b095c3c4 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
title: Example Endpoint
version: 0.0.1
host: example.com
schemes:
- https
basePath: /v1/
consumes:
- application/json
produces:
- application/json
paths:
/xxx/add:
post:
description: redacted
responses:
204:
description: OK
parameters:
- in: body
name: parameters
required: true
schema:
properties:
test:
properties:
id:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment