Skip to content

Commit 731bc05

Browse files
committed
Merge branch 'master' of https://github.com/ckoegel/openapi-generator into ckoegel-content-type-java
2 parents a667fcf + 2c38d0d commit 731bc05

File tree

408 files changed

+18573
-906
lines changed

Some content is hidden

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

408 files changed

+18573
-906
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Samples C# .Net 8 FastEndpoints Server
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/server/petstore/aspnet/fastendpoints/**
7+
- samples/server/petstore/aspnet/fastendpoints-*/**
8+
pull_request:
9+
paths:
10+
- samples/server/petstore/aspnet/fastendpoints/**
11+
- samples/server/petstore/aspnet/fastendpoints-*/**
12+
jobs:
13+
build:
14+
name: Build .Net 8 FastEndpoints servers
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
sample:
20+
- samples/server/petstore/aspnet/fastendpoints
21+
- samples/server/petstore/aspnet/fastendpoints-useApiVersioning
22+
- samples/server/petstore/aspnet/fastendpoints-useAuthentication
23+
- samples/server/petstore/aspnet/fastendpoints-useProblemDetails
24+
- samples/server/petstore/aspnet/fastendpoints-useRecords
25+
- samples/server/petstore/aspnet/fastendpoints-useResponseCaching
26+
- samples/server/petstore/aspnet/fastendpoints-useValidators
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: actions/[email protected]
30+
with:
31+
dotnet-version: '8.0.x'
32+
- name: Build
33+
working-directory: ${{ matrix.sample }}
34+
run: dotnet build Org.OpenAPITools.sln

CI/circle_parallel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ elif [ "$NODE_INDEX" = "3" ]; then
100100
(cd samples/client/petstore/typescript-rxjs/builds/with-npm-version && mvn integration-test)
101101
(cd samples/client/petstore/typescript-axios/builds/with-npm-version && mvn integration-test)
102102
(cd samples/client/petstore/typescript-axios/tests/default && mvn integration-test)
103+
(cd samples/client/petstore/typescript-axios/tests/with-complex-headers && mvn integration-test)
103104
(cd samples/client/petstore/javascript-flowtyped && mvn integration-test)
104105
(cd samples/client/petstore/javascript-es6 && mvn integration-test)
105106
(cd samples/client/petstore/javascript-promise-es6 && mvn integration-test)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useApiVersioning
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "false"
9+
useAuthentication: "false"
10+
useValidators: "false"
11+
useResponseCaching: "false"
12+
useApiVersioning: "true"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{1EC59EB0-DA5B-40C0-8E49-A3E0829DBBFC}"
16+
projectConfigurationGuid: "{9685C490-9B77-4EE2-BE4D-811F52665E8F}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useAuthentication
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "false"
9+
useAuthentication: "true"
10+
useValidators: "false"
11+
useResponseCaching: "false"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{10D45F9B-F270-480C-9DA9-720AA62526A4}"
16+
projectConfigurationGuid: "{3FA19D58-AE7C-45E5-B00E-7482026D1816}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useProblemDetails
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "true"
8+
useRecords: "false"
9+
useAuthentication: "false"
10+
useValidators: "false"
11+
useResponseCaching: "false"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{EA9B735E-72CA-44C4-BB28-358BDECE60C8}"
16+
projectConfigurationGuid: "{74D68BAC-36F5-43FC-BE9A-F3E660EECF5D}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useRecords
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "true"
9+
useAuthentication: "false"
10+
useValidators: "false"
11+
useResponseCaching: "false"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{C5D2BEB0-AB74-433F-BC14-DA66CAC82C10}"
16+
projectConfigurationGuid: "{D465FD3B-3146-4661-BB50-522608AA3967}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useResponseCaching
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "false"
9+
useAuthentication: "false"
10+
useValidators: "false"
11+
useResponseCaching: "true"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{BC56C2A3-ACC5-4ED0-AD8F-CD1831B8A467}"
16+
projectConfigurationGuid: "{5D19ACAB-8830-47FD-BAFA-C0985DF9F5F3}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints-useValidators
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "false"
9+
useAuthentication: "false"
10+
useValidators: "true"
11+
useResponseCaching: "false"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{C7818EE1-09E2-4349-9696-8B1A9119974A}"
16+
projectConfigurationGuid: "{39B801D8-74AA-465D-A637-4A2FFB905378}"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
generatorName: aspnet-fastendpoints
2+
outputDir: samples/server/petstore/aspnet/fastendpoints
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
5+
additionalProperties:
6+
hideGenerationTimestamp: "true"
7+
useProblemDetails: "false"
8+
useRecords: "false"
9+
useAuthentication: "false"
10+
useValidators: "false"
11+
useResponseCaching: "false"
12+
useApiVersioning: "false"
13+
routePrefix: "api"
14+
versionPrefix: "v"
15+
solutionGuid: "{4BC03566-F5F9-4E45-A835-8FA3B2B524B9}"
16+
projectConfigurationGuid: "{5F32A09C-5CB7-4917-83AB-CD7D1A04FF49}"

bin/configs/typescript-axios-with-complex-headers.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@ generatorName: typescript-axios
22
outputDir: samples/client/petstore/typescript-axios/builds/with-complex-headers
33
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml
44
templateDir: modules/openapi-generator/src/main/resources/typescript-axios
5+
additionalProperties:
6+
npmVersion: 1.0.0
7+
npmName: '@openapitools/typescript-axios-petstore'
8+
npmRepository: https://skimdb.npmjs.com/registry
9+
snapshot: false

0 commit comments

Comments
 (0)