Skip to content

Commit 80af462

Browse files
committed
fixed path of new sample
1 parent 5722f2e commit 80af462

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4147
-5
lines changed

.github/workflows/samples-dotnet9.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v4
4040
- uses: actions/[email protected]
4141
with:
42-
dotnet-version: '9.0.x'
42+
dotnet-version: '9.0.101'
4343
- name: Build
4444
working-directory: ${{ matrix.sample }}
4545
run: dotnet build Org.OpenAPITools.sln

bin/configs/csharp-generichost-net9-allOf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# for csharp generichost
22
generatorName: csharp
3-
outputDir: samples/client/petstore/csharp/generichost/net8/AllOf
3+
outputDir: samples/client/petstore/csharp/generichost/net9/AllOf
44
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
55
library: generichost
66
templateDir: modules/openapi-generator/src/main/resources/csharp

samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Org.OpenAPITools.Test</AssemblyName>
55
<RootNamespace>Org.OpenAPITools.Test</RootNamespace>
6-
<TargetFramework>net9.0</TargetFramework>
6+
<TargetFramework>net8.0</TargetFramework>
77
<IsPackable>false</IsPackable>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>

samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
```ps1
77
$properties = @(
88
'apiName=Api',
9-
'targetFramework=net9.0',
9+
'targetFramework=net8.0',
1010
'validatable=true',
1111
'nullableReferenceTypes=true',
1212
'hideGenerationTimestamp=true',
@@ -168,7 +168,7 @@ Endpoints do not require authorization.
168168
- returnICollection: false
169169
- sortParamsByRequiredFlag:
170170
- sourceFolder: src
171-
- targetFramework: net9.0
171+
- targetFramework: net8.0
172172
- useCollection: false
173173
- useDateTimeOffset: false
174174
- useOneOfDiscriminatorLookup: false

0 commit comments

Comments
 (0)