Created
December 19, 2017 04:13
-
-
Save jstoiko/952514e7e35b43e98c9db7e210a06312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
title: Human API | |
types: | |
Human: | |
type: object | |
properties: | |
first_name: string | |
last_name: string | |
age?: number | |
/humans: | |
post: | |
body: | |
application/json: | |
type: Human | |
get: | |
responses: | |
200: | |
body: | |
application/json: | |
type: Human[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment