Basic api documentation #7 (#220)

* Basic api documentation

* fix styling issue

* fix styling issue

* gitignore unecessary folders

* openApi 2.0 first draft

* solved conflicts

* solved errors in openapi file

* added missing doc on video + deleted apidoc comments

* fix last warnings and errors inopenapi definition
pull/245/head
Dimitri Gilbert 2018-01-24 10:44:52 +01:00 committed by Chocobozzz
parent a28f353a64
commit 1569a81894
2 changed files with 1209 additions and 1 deletions

1209
openapi.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,6 @@ import { ActorModel } from '../../../models/activitypub/actor'
import { ActorFollowModel } from '../../../models/activitypub/actor-follow' import { ActorFollowModel } from '../../../models/activitypub/actor-follow'
const serverFollowsRouter = express.Router() const serverFollowsRouter = express.Router()
serverFollowsRouter.get('/following', serverFollowsRouter.get('/following',
paginationValidator, paginationValidator,
followingSortValidator, followingSortValidator,