Fix allOf with $ref to discriminator-less oneOf flattening all variant properties
#19
Workflow file for this run
This file contains hidden or 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
| name: Samples C# .Net Client (Petstore) | |
| on: | |
| push: | |
| paths: | |
| - samples/client/petstore/csharp/restsharp/standard2.0/Petstore/** | |
| pull_request: | |
| paths: | |
| - samples/client/petstore/csharp/restsharp/standard2.0/Petstore/** | |
| jobs: | |
| build: | |
| name: Build clients | |
| runs-on: ubuntu-latest | |
| services: | |
| petstore-api: | |
| image: swaggerapi/petstore | |
| ports: | |
| - 80:8080 | |
| env: | |
| SWAGGER_HOST: http://petstore.swagger.io | |
| SWAGGER_BASE_PATH: /v2 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| sample: | |
| - samples/client/petstore/csharp/restsharp/standard2.0/Petstore/ | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-dotnet@v5.2.0 | |
| with: | |
| dotnet-version: '7.0.x' | |
| - name: Build | |
| working-directory: ${{ matrix.sample }} | |
| run: dotnet build Org.OpenAPITools.sln | |
| - name: Test | |
| working-directory: ${{ matrix.sample }} | |
| run: dotnet test Org.OpenAPITools.sln |