mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
455ba9d839
Things to work on: Gaps: * Missing swagger definition functionality: - defaultResponse - examples - auth - consumes - produces - nickname - externalDocs - imports - security - schema * Resolve allParams/hasMore issue with headerParams * Create functional test project stub * Resolve all issues with value type return values In this commit: * Initial cross-platform ASP.NET 5 API server * Hook up swagger gen via Swashbuckle and xml comment * Build script (*nix) in project root * Dockerfile for container deployment
17 lines
545 B
Bash
Executable File
17 lines
545 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! type dnvm > /dev/null 2>&1; then
|
|
source /usr/local/lib/dnx/bin/dnvm.sh
|
|
fi
|
|
|
|
if ! type dnu > /dev/null 2>&1 || [ -z "$SKIP_DNX_INSTALL" ]; then
|
|
dnvm install latest -runtime coreclr -alias default
|
|
dnvm install default -runtime mono -alias default
|
|
else
|
|
dnvm use default -runtime mono
|
|
fi
|
|
|
|
dnu restore src/IO.Swagger/ && \
|
|
dnu build src/IO.Swagger/ && \
|
|
dnu pack src/IO.Swagger/ --out artifacts && \
|
|
echo "Now, run the following to start the project: dnx --project src/IO.Swagger/project.json web" |