Skip to content

Commit 3e9e65f

Browse files
committed
use localhost
1 parent 6ac8d29 commit 3e9e65f

File tree

13 files changed

+2902
-63
lines changed

13 files changed

+2902
-63
lines changed

.github/workflows/samples-dotnet-appveyor.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Samples C# .Net Client (from AppVeyor)
33
on:
44
push:
55
paths:
6-
- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
6+
# the .NET Core 3.0 runtime is no longer supported as it reached its end-of-life on March 3, 2020
7+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
78
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
89
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
910
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
@@ -15,7 +16,7 @@ on:
1516
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
1617
pull_request:
1718
paths:
18-
- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
19+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
1920
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
2021
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
2122
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
@@ -29,11 +30,19 @@ jobs:
2930
build:
3031
name: Build clients (migrated from AppVeyor)
3132
runs-on: windows-latest
33+
services:
34+
petstore-api:
35+
image: swaggerapi/petstore
36+
ports:
37+
- 80:8080
38+
env:
39+
SWAGGER_HOST: http://petstore.swagger.io
40+
SWAGGER_BASE_PATH: /v2
3241
strategy:
3342
fail-fast: false
3443
matrix:
3544
sample:
36-
- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
45+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
3746
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/
3847
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/
3948
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/

bin/configs/csharp-restsharp-netstandard2.0.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
generatorName: csharp
33
library: restsharp
44
outputDir: samples/client/petstore/csharp/restsharp/standard2.0/Petstore
5-
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
5+
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types-localhost.yaml
66
templateDir: modules/openapi-generator/src/main/resources/csharp
77
additionalProperties:
88
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'

0 commit comments

Comments
 (0)