Skip to content

Instantly share code, notes, and snippets.

@awsum
Last active November 3, 2017 17:22
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 awsum/01f1e3c0e9db8f937334ea1ef8e589b3 to your computer and use it in GitHub Desktop.
Save awsum/01f1e3c0e9db8f937334ea1ef8e589b3 to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
version: "1"
title: "Admin notification preferences"
consumes:
- "application/json"
produces:
- "application/json"
paths:
/notifications/:account-id:
patch:
summary: "Update notification preferences"
parameters:
- in: body
name: body
schema:
type: object
properties:
email:
type: "string"
example: "fo@ob.ar"
kyc_review:
type: "boolean"
responses:
"200":
description: "ok"
get:
summary: "Get notification preferences"
responses:
"200":
description: "ok"
schema:
type: object
properties:
email:
type: string
example: "fo@ob.ar"
kyc_review:
type: boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment