e616a7cb60221d01108c847dd3cc33dde40a87c4
Details on OpenAPI spec: https://swagger.io/specification/
Generate server stubs:
docker run -it --rm -v $PWD:/work -u $UID openapitools/openapi-generator:cli-v5.1.0 \
generate -i /work/openapi.yaml -g aspnetcore -o /work/output \
--package-name $PACKAGE_NAME \
--additional-properties="packageVersion=0.0.1,aspnetCoreVersion=5.0,operationIsAsync=true,modelPropertyNaming=camelCase,\
generateBody=false,classModifier=abstract,operationModifier=abstract"
Configuration details for generator: https://openapi-generator.tech/docs/generators/aspnetcore/
Build and run the stub webservice:
docker run -it --rm -p 8080:8080 -v $PWD:/work \
devnexus.krohne.com:18079/repository/docker-krohne/dotnetcoresdkenv:5.0 \
bash
ATTENTION: This won't work with a set UID
Build:
sh build.sh
Run:
dotnet run -p src/KROHNE.ManufacturingCycleReportWebService/KROHNE.ManufacturingCycleReportWebService.csproj
Description
Languages
C#
47.2%
Python
31.3%
Shell
15.8%
Dockerfile
5.7%