-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup of descriptions in endpoints files
The OpenAPI `endpoints` files included a number of leftover or potentially misleading descripions, e.g.: * "get a list of..." as description for responses, although responses depend on granularity and delivered in different Beacon response schemas * frequent use of "variant" instead "variation" * some wrong labels (e.g. C&P errors or leftover "examples" response) Additionally the leftover commented lines from the yamlerRunner have been removed.
- Loading branch information
Showing
15 changed files
with
181 additions
and
159 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
BASEDIR=$(dirname $0) | ||
UNITYPATH=$BASEDIR/.. | ||
|
||
# initial conversion from separate schemas | ||
# DEPRECATED | ||
# BEACONMODELPATH=$BASEDIR/../../beacon-v2-Models/BEACON-V2-Model | ||
# BEACONFRAMEWORKPATH=$BASEDIR/../../beacon-framework-v2 | ||
|
||
BEACONMODELNAME=beacon-v2-default-model | ||
|
||
# for UPSTREAM in $BEACONMODELPATH $BEACONFRAMEWORKPATH | ||
# do | ||
# echo "pulling $UPSTREAM" | ||
# git -C $UPSTREAM pull | ||
# done | ||
|
||
for KIND in src json | ||
do | ||
mkdir -p $UNITYPATH/models/$KIND/$BEACONMODELNAME | ||
mkdir -p $UNITYPATH/framework/$KIND | ||
done | ||
|
||
# $BASEDIR/beaconYamler.py -i $BEACONMODELPATH -t json -x yaml -o $UNITYPATH/models/src/$BEACONMODELNAME | ||
# $BASEDIR/beaconYamler.py -i $BEACONFRAMEWORKPATH -t json -x yaml -o $UNITYPATH/framework/src | ||
|
||
# recurring conversion from the source files to the exported versions | ||
$BASEDIR/beaconYamler.py -i $UNITYPATH/models/src/$BEACONMODELNAME -t yaml -x json -o $UNITYPATH/models/json/$BEACONMODELNAME | ||
$BASEDIR/beaconYamler.py -i $UNITYPATH/framework/src -t yaml -x json -o $UNITYPATH/framework/json |
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
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
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
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
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
Oops, something went wrong.