Skip to content

Respect API version when building URL to downstream swagger.json #111

Respect API version when building URL to downstream swagger.json

Respect API version when building URL to downstream swagger.json #111

Workflow file for this run

name: Pull Request
on: [pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core if needed
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build ./MMLib.SwaggerForOcelot.sln --configuration Release
- name: Test
run: dotnet test ./MMLib.SwaggerForOcelot.sln --configuration Release
- name: Benchmark
run: dotnet run --project ./tests/MMLib.SwaggerForOcelot.BenchmarkTests/MMLib.SwaggerForOcelot.BenchmarkTests.csproj -c Release