-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove '_' from the class_name (#135)
* fix: wrong opeanpi spec fix: #132 * fix: remove '_' from the class_name mustache (the template manager used by the openapi generator) is removing the underscore symbol from the class name The serializer python creates a variable file with the URI and name of the class. However, it wasn't removing the symbol. The commit fixes #134
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
set -xe | ||
|
||
container_name="business" | ||
java -jar target/oba-*-jar-with-dependencies.jar -c examples/business/config.yaml | ||
pushd outputs/BusinessOntology/servers/python | ||
bash generate-server.sh | ||
pushd server | ||
docker build -t openapi_server . | ||
docker run --name ${container_name} -d -p 8081:8080 openapi_server | ||
popd | ||
sleep 10s | ||
curl -X GET "http://0.0.0.0:8081/v1.3.0/bands/Pink_Floyd" -H "accept: application/json" | ||
docker logs ${container_name} | ||
docker rm -f ${container_name} |
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