Kitsune Ral
24afe7987c
Add operationId to all endpoints of all APIs
...
To facilitate generation of API stubs from the spec.
Signed-off-by: Alexey Rusakov <ktirf@users.sf.net>
2017-10-11 01:58:31 +09:00
Richard van der Hoff
820704a16a
Format examples as raw objects
...
According the the openapi spec, examples for responses and schemas should be
raw objects rather than being json strings. (It's unclear what non-json
examples should look like...).
The swagger UI used to support json strings, but no longer does. In short,
let's turn the json strings into their raw formats.
2017-09-27 08:04:24 +01:00
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
Richard van der Hoff
5383754a40
Access event-schemas via a symlink
...
Swagger gets a bit confused about $refs via '../..', so use a symlink to make
everything nicely relative.
2016-05-04 14:39:52 +01:00
Richard van der Hoff
23c4ffbc1b
Add securityDefintions to generated swagger JSON
...
Also factor out to a common file
2016-05-03 13:57:16 +01:00
Richard van der Hoff
bc83677d98
Define the order for events returned by /context API
2016-02-19 16:52:03 +00:00
Richard van der Hoff
58b346e204
s/user_id/sender/ in context example response
2016-02-01 17:50:36 +00:00
Richard van der Hoff
b2e0a855cc
Add 'event' to event context API
...
also link through to the event schemas
2016-02-01 17:45:45 +00:00
Richard van der Hoff
972153be4f
Fix endpoint path for /context
...
s/api//
2016-01-08 14:06:53 +00:00
Erik Johnston
6025569a73
Remove unused 403 stub
2015-12-08 14:10:45 +00:00
Erik Johnston
0fb88e26f0
Add tags
2015-12-08 14:07:08 +00:00
Erik Johnston
4290882034
Remove superfluous quote
2015-12-08 14:06:59 +00:00
Erik Johnston
8e7f6d44f6
Remove v1 references
2015-12-08 14:01:16 +00:00
Erik Johnston
f4b9433c7b
Better wording
2015-12-07 16:33:48 +00:00
Erik Johnston
584104c432
Make example valid event id
2015-12-07 16:32:43 +00:00
Erik Johnston
fda07e0d41
Merge remote-tracking branch 'origin/master' into erikj/event_context_api
2015-12-07 16:31:55 +00:00