Skip to content

Instantly share code, notes, and snippets.

@alexanderosipov
Created September 24, 2015 09:52
Show Gist options
  • Save alexanderosipov/30767eaf69fd55dad76e to your computer and use it in GitHub Desktop.
Save alexanderosipov/30767eaf69fd55dad76e to your computer and use it in GitHub Desktop.
atom crashes
#%RAML 0.8
title: New API
version: v1
mediaType: application/json
baseUri: http://samplehost.com
schemas:
- www: !include schemas/www.json
- www-xml: !include schemas/www.xml
traits:
- zzz:
description: sss
/hello:
is: zzz
get:
responses:
200:
body:
application/xml:
description:
schema: www-xml
example: !include ./examples/www.xml
application/json:
description:
schema: www
example: !include ./examples/www.json
/world:
get:
responses:
200:
body:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment