Richard van der Hoff
49cd65dd58
Add a license to the spec
...
We're licensing hte spec under ASLv2. Add the LICENSE file, and add the
short-form to as much of the source as is practical right now (adding it to
json source is a massive pita).
2016-07-12 17:28:30 +01:00
Daniel Wagner-Hall
f81b967e2d
Make all the schema files yaml
2015-12-07 13:56:36 +00:00
Kegan Dougal
31ae4b3859
Swaggerify push notification API
...
Edit units.py to support nested JSON request keys
2015-10-08 13:08:21 +01:00
Kegan Dougal
a9618a981b
Swaggerify the /enabled endpoint
2015-10-08 11:16:42 +01:00
Kegan Dougal
8c4d7f5051
Do not try to parse non-json request examples as json
2015-10-01 18:03:34 +01:00
Mark Haines
f34722485f
Check the request example JSON matches the schema
2015-09-24 16:50:27 +01:00
Mark Haines
f827765ba1
Make to code to skip checking swagger responses which don't have an
...
application/json example clearer.
2015-09-18 16:35:27 +01:00
Mark Haines
9896f98e2b
Search for yaml swagger files if check_examples.py is run without
...
arguments.
2015-09-18 16:21:48 +01:00
Mark Haines
299a4356d4
Add script to check that the example responses in the swagger matches
...
the examples.
2015-09-18 16:10:21 +01:00