This repository was archived by the owner on Apr 16, 2024. It is now read-only.
File tree 4 files changed +28
-3
lines changed
4 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ script:
73
73
- sed -i 's/$TRAVIS_COMMIT/'$TRAVIS_COMMIT'/' src/server.ts
74
74
- npm run test # run backend test
75
75
- cd ..
76
+ - .travis/apidoc-check.sh
76
77
# run frontend-tests and return back to root for following steps
77
78
- cd app/webFrontend
78
79
- npm run lint # run linter
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Path to this file
4
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5
+ # Path the script was called from
6
+ IPWD=" $( pwd) "
7
+ # Import shared vars
8
+ . ${DIR} /_shared-vars.sh
9
+
10
+
11
+ echo
12
+ echo " +++ Check API-Doc +++"
13
+ echo
14
+
15
+ if ([ " $TRAVIS_PULL_REQUEST " != " false" ] && [ " $TRAVIS_BRANCH " == " develop" ]) || ([ " $TRAVIS_PULL_REQUEST " != " false" ] && [ " $TRAVIS_BRANCH " == " master" ]); then
16
+ echo " + detected pull request from ($TRAVIS_PULL_REQUEST_BRANCH ) to $TRAVIS_BRANCH "
17
+ cd api
18
+ npm run apidoc
19
+ else
20
+ echo -e " ${YELLOW} + WARNING: No Pull Request agiainst Develop or Master -> skipping automate api doc check${NC} " ;
21
+ fi
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
22
22
### Fixed
23
23
- Fixed broken notification settings. [ #731 ] ( https://github.com/h-da/geli/issues/731 )
24
24
25
+ ### Fixed
26
+ - Fixed broken Apidoc [ #737 ] ( https://github.com/h-da/geli/issues/737 )
27
+
25
28
## [[ 0.7.0] ( https://github.com/h-da/geli/releases/tag/v0.7.0 )] - 2018-05-05 - SS 18 intermediate Release
26
29
### Added
27
30
- Added the possibility to sort all courses alphabetically. [ #567 ] ( https://github.com/h-da/geli/issues/567 )
Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ export class CourseController {
482
482
* @apiParam {Object} data Data (with access key).
483
483
* @apiParam {IUser} currentUser Currently logged in user.
484
484
*
485
- * @apiSuccess {{} } result Empty object.
485
+ * @apiSuccess {Object } result Empty object.
486
486
*
487
487
* @apiSuccessExample {json} Success-Response:
488
488
* {}
@@ -533,7 +533,7 @@ export class CourseController {
533
533
* @apiParam {Object} data Body.
534
534
* @apiParam {IUser} currentUser Currently logged in user.
535
535
*
536
- * @apiSuccess {{} } result Empty object.
536
+ * @apiSuccess {Object } result Empty object.
537
537
*
538
538
* @apiSuccessExample {json} Success-Response:
539
539
* {}
@@ -653,7 +653,7 @@ export class CourseController {
653
653
* @apiParam {String} id Course ID.
654
654
* @apiParam {IUser} currentUser Currently logged in user.
655
655
*
656
- * @apiSuccess {{} } result Empty object.
656
+ * @apiSuccess {Object } result Empty object.
657
657
*
658
658
* @apiSuccessExample {json} Success-Response:
659
659
* {}
You can’t perform that action at this time.
0 commit comments