Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from swagger-api:master #93

Open
wants to merge 416 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
416 commits
Select commit Hold shift + click to select a range
4b7a8d7
Merge pull request #11319 from swagger-api/bump-snap
frantuma Dec 28, 2021
04fb9c6
issue 7355 Bug generating equals method for a child class with no add…
Aug 27, 2021
216a452
Update api_client.mustache
fzyzcjy Jan 16, 2022
f0fd377
WhiteSource Configuration Migration (#11649)
mend-for-github-com[bot] Feb 2, 2022
677369b
prepare release 2.4.26 and update dependencies
frantuma Feb 7, 2022
76d81bc
bump snapshot 2.4.27-SNAPSHOT
frantuma Feb 7, 2022
9c87876
update v3 version in readme
frantuma Feb 7, 2022
fc79c75
refs #11373 - latest log4j version in scala gradle
frantuma Feb 17, 2022
a5bf2c4
fix: use GENERATOR_HOST variable in server generation
fgreinacher Feb 17, 2022
06d8ae7
fix: load own spec with relative path
fgreinacher Feb 17, 2022
278a1c1
fix: respect configured generator URL in swagger config
fgreinacher Feb 18, 2022
182a65d
add org.owasp dependency
gracekarina Feb 21, 2022
c5e4b86
Merge branch 'master' into issue521Master
gracekarina Feb 21, 2022
5b80a0a
Merge pull request #11716 from swagger-api/issue521Master
gracekarina Feb 21, 2022
5c9c583
add org.owasp dependency in security profile
gracekarina Feb 22, 2022
c4be7b3
Merge pull request #11721 from swagger-api/issue521
gracekarina Feb 23, 2022
15843e1
added gh actions for spring generator
HugoMario Feb 25, 2022
41397b5
Merge pull request #11730 from swagger-api/spring-gh-action-files
HugoMario Feb 25, 2022
fab9c7d
fixed spring v3 workflows
HugoMario Feb 26, 2022
9a490c9
Merge pull request #11731 from swagger-api/sping-actions-fix
HugoMario Feb 26, 2022
e3a59d8
fix: use information in generator host for generating spec
fgreinacher Mar 9, 2022
f5f7f51
run swagger-ui along with flask output code
HugoMario Mar 19, 2022
3555acc
added extensions for security functions to be read by flask output code.
HugoMario Mar 20, 2022
321bb9b
removed old samples from jenkins.
HugoMario Mar 24, 2022
6b0afdb
removed java play msf4js sample
HugoMario Mar 24, 2022
9659e02
disabled scala sample from jenkins
HugoMario Mar 24, 2022
5cc8e8e
Merge pull request #11742 from swagger-api/issue-10523
HugoMario Mar 25, 2022
58c1678
Merge branch 'master' into fix/use-generator-host
fgreinacher Mar 26, 2022
a4eb1e4
bump swagger core and parser, jackson
frantuma Apr 12, 2022
a13fd72
bump swagger core and parser, jackson in jenkins POM
frantuma Apr 12, 2022
5cc69c8
prepare release 2.4.27
frantuma Apr 12, 2022
01b9630
bump snapshot 2.4.28-SNAPSHOT
frantuma Apr 12, 2022
b08cae9
Update README.md
frantuma Apr 12, 2022
db49210
Merge branch 'master' into fix/use-generator-host
fgreinacher Apr 13, 2022
6dc89b2
Merge branch 'master' into javascript_infinite_loop
mjschuetze102 May 4, 2022
0989603
fix flatten option and minimize quotes
frantuma May 31, 2022
8b96546
Merge branch 'master' into fix/use-generator-host
fgreinacher Jun 2, 2022
ab0793b
Merge pull request #11738 from fgreinacher/fix/use-generator-host
HugoMario Jun 2, 2022
ef9f06e
added android workflows
HugoMario Jun 27, 2022
89a7551
added aspnetcore workflows
HugoMario Jun 27, 2022
525109a
added csharp workflows
HugoMario Jun 27, 2022
443da76
added cwiki workflow
HugoMario Jun 27, 2022
8f28bb9
added dart workflows
HugoMario Jun 27, 2022
060df12
added html workflows
HugoMario Jun 27, 2022
8b46ee6
added go workflows. Files for v3 skipped until test files are added f…
HugoMario Jun 27, 2022
01398cb
added javascript workflows
HugoMario Jun 27, 2022
a0d2e6b
added jaxrs workflows
HugoMario Jun 27, 2022
05a9edc
added nodejs workflows
HugoMario Jun 27, 2022
6c9de61
added python workflows
HugoMario Jun 27, 2022
eec12fa
added kotlin workflows
HugoMario Jun 27, 2022
7a90262
added spring workflows
HugoMario Jun 27, 2022
d8f3d7b
added typescript-fetch workflows
HugoMario Jun 27, 2022
f4528f3
added php workflow
HugoMario Jun 27, 2022
0b58916
added typescript-node workflow
HugoMario Jun 27, 2022
83b6e84
added typescript-angular workflows
HugoMario Jun 27, 2022
be60bff
Merge pull request #11818 from swagger-api/workflows-for-generators
HugoMario Jun 27, 2022
960bc8d
prepare release 2.4.28
frantuma Aug 15, 2022
ab85fc6
next snapshot 2.4.29-SNAPSHOT
frantuma Aug 15, 2022
0476c65
changed pattern to work with acronyms in underscore conversion
HugoMario Sep 7, 2022
a2cd7d9
Merge pull request #11892 from swagger-api/issue-8780
HugoMario Sep 7, 2022
1da06be
bump snakeyaml to 1.33
frantuma Oct 4, 2022
621a733
Make generic model compatible with PHP 8.1
BafS Aug 3, 2022
d776234
fix: typescript compiler throws error when no override keyword
viktorsml Oct 17, 2022
114c6e2
samples: generated for when typescript compiler throws error when no …
viktorsml Oct 17, 2022
df07085
prepare release 2.4.29
frantuma Nov 10, 2022
5d4f6db
bump next snapshot 2.4.30-SNAPSHOT
frantuma Nov 19, 2022
5e35b9d
Merge branch 'master' into #11852-fix-override-in-typescript
viktorsml Dec 4, 2022
d7d5b9a
add test specs to fixtures
frantuma Jan 11, 2023
c9c918a
Add okhttp4-gson codegen
deepsan Jan 12, 2023
83927e1
test:update workflow syntax
frantuma Jan 23, 2023
c27d005
Merge branch 'master' into #11852-fix-override-in-typescript
viktorsml Jan 26, 2023
b2b5ceb
escape regex string format
HugoMario Jan 30, 2023
09ea173
docker release GH action
frantuma Jan 31, 2023
578f781
Merge branch 'master' into issue-9509
HugoMario Feb 12, 2023
60cc187
Merge branch 'master' into okhttp4
HugoMario Feb 14, 2023
f9a1563
Merge branch 'master' into #11852-fix-override-in-typescript
viktorsml Feb 14, 2023
fc42aa8
Merge pull request #12017 from deepsan/okhttp4
HugoMario Feb 15, 2023
f388a60
bump core, parser, org.json versions
frantuma Feb 16, 2023
dfca333
prepare release 2.4.30
frantuma Feb 16, 2023
b15ec88
next snapshot 2.4.31-SNAPSHOT
frantuma Feb 16, 2023
a6b0175
added gh actions for okhttp4-gson
HugoMario Feb 19, 2023
10eebcf
tweaked java JSON.mustache template
HugoMario Feb 19, 2023
1a10163
Merge pull request #12070 from swagger-api/okhttp4-actions
HugoMario Feb 19, 2023
23f5124
Fix enum strings starting with numbers, unique enums in model.mustache
aethanol Mar 1, 2023
649a263
Regenerate go petstore with ./bin/go-petstore.sh
aethanol Mar 1, 2023
6b0c316
added latest versions for typescript-angular generator
HugoMario Mar 10, 2023
3396a17
removed not working link from nuget config file
HugoMario Mar 10, 2023
e611a06
Merge pull request #12088 from swagger-api/generators-tweaks
HugoMario Mar 10, 2023
70941d6
fix typescript-fetch typos
chrisdrifte Mar 14, 2023
d47d9f0
removed wrong reference to fix error in definition
HugoMario Mar 26, 2023
5796b80
Merge pull request #12096 from swagger-api/definition_tweak
HugoMario Mar 26, 2023
55f5016
Merge branch 'master' into chrisdrifte-fix-typescript-fetch-build
chrisdrifte Mar 27, 2023
7317b96
updated kotlin generator and templates
HugoMario Mar 29, 2023
fa0b752
updated kotlin samples
HugoMario Mar 29, 2023
ed5dec2
updated kotlin-server generator and template
HugoMario Mar 29, 2023
5ca80c5
added lambda to lowercase call in templates
HugoMario Mar 29, 2023
b473958
updated kotlin-server sample
HugoMario Mar 29, 2023
1bbe2d6
JDK 11+ - update dependencies
frantuma Mar 29, 2023
db6760d
JDK 11+ - update dependencies in modules POMs
frantuma Mar 31, 2023
137163a
JDK 11+ - fix push Action
frantuma Mar 31, 2023
cf9b3ca
JDK 11+ - fix push Action attempt 2
frantuma Mar 31, 2023
34388a3
Merge branch 'master' into issue-11234
HugoMario Apr 1, 2023
527c206
placed back missing pom file on kotlin-string sample
HugoMario Apr 1, 2023
0b044a5
removed kotlin samples fro jenkins since this is working with Gradle 4
HugoMario Apr 1, 2023
3a170bd
JDK 11+ - fix push Action attempt 3
frantuma Apr 1, 2023
a862792
JDK 11+ - fix push Action attempt 4
frantuma Apr 1, 2023
60ba8f9
update maven wrapper to 3.8.4/3.1.1
frantuma Apr 1, 2023
5f4dc48
JDK 11+ - fix push Action attempt 5
frantuma Apr 1, 2023
fa5e57c
JDK 11+ - fix push Action attempt 6
frantuma Apr 1, 2023
cbb98f8
Merge branch 'master' into issue-11234
frantuma Apr 1, 2023
6b92ae0
JDK 11+ - update workflows
frantuma Apr 1, 2023
844c455
Merge branch 'master' into issue-11234
HugoMario Apr 2, 2023
7080914
prepare release 2.4.31
frantuma Apr 1, 2023
303de59
bump snapshot 2.4.32-SNAPSHOT
frantuma Apr 2, 2023
3954108
fix docker JDK
frantuma Apr 4, 2023
399ae9d
Merge branch 'master' into issue-11234
HugoMario Apr 4, 2023
c6fa95a
Merge pull request #12100 from swagger-api/issue-11234
HugoMario Apr 4, 2023
05fe97a
added comment to file to avoid null bytes error
HugoMario Apr 5, 2023
d62f80a
Merge pull request #12113 from swagger-api/python-init-template-fix
HugoMario Apr 5, 2023
75a1c12
use camelize method for model names
HugoMario Apr 5, 2023
712f77d
Merge pull request #12117 from swagger-api/kotlin-test-fix
HugoMario Apr 5, 2023
e54af21
added jakarta option for java generator and templates
HugoMario Apr 19, 2023
035b94f
updated java inflector templates to work with jakarta option
HugoMario Apr 19, 2023
db1aaa9
updated jaxrs template to work with jakarta option
HugoMario Apr 21, 2023
fd06f61
update spring templates to work with jakarta option
HugoMario Apr 21, 2023
5d6f16f
updated scala templates to work with jakarta option
HugoMario Apr 21, 2023
9e3a107
fixed errors related to jakarta option in java templates
HugoMario Apr 23, 2023
b88fcdb
fixed errors found on jersey3 template and added missed template for …
HugoMario Apr 24, 2023
66d2c00
fixed generator option tests
HugoMario Apr 24, 2023
7a50501
Merge pull request #12131 from swagger-api/jakarta_jersey3_changes
HugoMario Apr 24, 2023
a3757dd
Merge branch 'master' into issue-9509
HugoMario Apr 26, 2023
8e15259
Merge pull request #12038 from swagger-api/issue-9509
HugoMario May 5, 2023
9137a48
Merge branch 'master' into #11852-fix-override-in-typescript
viktorsml May 11, 2023
7077161
update swagger and jackson versions
frantuma May 17, 2023
0b3f838
prepare release 2.4.32
frantuma May 17, 2023
d88bc1b
fix pattern test
frantuma May 17, 2023
72f3e0a
Fix typo in Java date options help string
joeshannon May 18, 2023
a620537
next snapshot 2.4.33-SNAPSHOT
frantuma May 22, 2023
7214bc6
Merge branch 'master' into #11852-fix-override-in-typescript
viktorsml May 27, 2023
14e12e3
Add Roche/Genentech as users of swagger-codegen
cicdguy Jun 22, 2023
4b34f12
Merge branch 'master' into go-fix-enum-numbers
HugoMario Aug 6, 2023
de33c6f
Merge pull request #12076 from aethanol/go-fix-enum-numbers
HugoMario Aug 6, 2023
558861b
Adding scanning of built container
keithbsb Aug 15, 2023
bb989ce
Adding scanning of built container
keithbsb Aug 15, 2023
08240c0
Adding scanning of build container
keithbsb Aug 15, 2023
e77aca8
Adding scanning of build container
keithbsb Aug 15, 2023
0ba698d
Merge pull request #12214 from swagger-api/add_scanning
keithbsb Aug 15, 2023
ae7a0cc
[python] Fix basic auth always being used
Aug 11, 2023
26e607c
[python] - update python-petstore sample
Aug 11, 2023
b1ca1b5
[python] - update python-petstore security
Aug 11, 2023
9525ba5
set default 'ignore mapping' option for java generators with 'false' …
HugoMario Sep 28, 2023
4ba4a65
Merge pull request #12234 from swagger-api/issue-10419
HugoMario Sep 28, 2023
435a478
prepare release 2.4.33
frantuma Oct 2, 2023
3d84bf9
Merge branch 'master' into #11852-fix-override-in-typescript
HugoMario Oct 4, 2023
d802458
Merge pull request #11930 from viktorsml/#11852-fix-override-in-types…
HugoMario Oct 4, 2023
471ffb8
Merge branch 'master' into javascript_infinite_loop
mjschuetze102 Oct 11, 2023
5b8649d
bump snapshot 2.4.34-SNAPSHOT
frantuma Oct 2, 2023
111d85d
update dependencies
frantuma Oct 19, 2023
b1b5ef2
prepare release 2.4.34
frantuma Oct 19, 2023
420e951
Update README.md with 3.0.0 release
frantuma Oct 23, 2023
c302e0d
escape quotes in paths
frantuma Oct 26, 2023
dd86f22
prepare release 2.4.35
frantuma Oct 26, 2023
d3406de
implement escapeQuotationMark in bash generator
frantuma Oct 26, 2023
6f7215a
update dependencies
frantuma Oct 26, 2023
ffcb732
prepare release 2.4.36
frantuma Oct 26, 2023
cde3b11
Merge branch 'master' into issue-5643-contribute
HugoMario Oct 27, 2023
c83bc76
bump to 2.4.37-SNAPSHOT
HugoMario Oct 29, 2023
c4daea3
Merge pull request #12266 from swagger-api/bump-to-2.4.37-snapshot
HugoMario Oct 29, 2023
653ad13
update parent version for modules
HugoMario Oct 29, 2023
4b96fd2
Merge pull request #12267 from swagger-api/bump-modules-to-2.4.37-sna…
HugoMario Oct 29, 2023
88e41a6
Merge branch 'master' into issue-5643-contribute
HugoMario Oct 31, 2023
933996b
Merge pull request #10887 from renanr0/issue-5643-contribute
HugoMario Oct 31, 2023
1938cbb
Fix urllib3 getheaders warning
pquentin Nov 6, 2023
a8fd0fe
Fix Java model imports generation for Jakarta
swurzinger Nov 9, 2023
953805c
fix org.json dependency version
frantuma Nov 15, 2023
fc810d2
CI and dependency management upgrade
frantuma Nov 21, 2023
15bd3af
fix dependabot file
frantuma Nov 21, 2023
d5a1ad8
CI build/test java 8
frantuma Nov 21, 2023
78b8638
prepare release 2.4.37
frantuma Nov 21, 2023
4304762
fix docker build/push action
frantuma Nov 22, 2023
a41f458
update docker build/push/deploy action
frantuma Nov 22, 2023
203902f
bump snapshot 2.4.38-SNAPSHOT
frantuma Nov 23, 2023
78061c6
Merge branch 'master' into java-model-jakarta-fix
HugoMario Nov 24, 2023
2a2b167
Merge pull request #12274 from swurzinger/java-model-jakarta-fix
HugoMario Nov 24, 2023
d97b455
Merge branch 'master' into pquentin-patch-1
HugoMario Nov 24, 2023
dc5f58b
Merge pull request #12272 from pquentin/pquentin-patch-1
HugoMario Nov 24, 2023
b36bcc9
Merge pull request #12212 from corytodd/fix-python-config-basic-auth
HugoMario Nov 24, 2023
c8ab7ac
Merge pull request #12153 from joeshannon/java-date-options-typo
HugoMario Nov 25, 2023
612f1d4
Merge branch 'master' into chrisdrifte-fix-typescript-fetch-build
HugoMario Nov 25, 2023
d97e6c6
Merge pull request #12091 from chrisdrifte/chrisdrifte-fix-typescript…
HugoMario Nov 25, 2023
4ca8f5b
multi platform docker images for snapshots
frantuma Nov 27, 2023
48597de
fix multi platform docker images for snapshots
frantuma Nov 27, 2023
707ac3e
fix multi platform docker images for snapshots
frantuma Nov 28, 2023
6273638
fix multi platform docker images for snapshots
frantuma Nov 28, 2023
d249140
multi platform docker images for releases
frantuma Nov 28, 2023
bf68ee6
updated jackson dependency version to solve vulnerability warning
HugoMario Dec 3, 2023
1c18d1c
Merge pull request #12301 from swagger-api/jackson-databind-CVE-2019-…
HugoMario Dec 3, 2023
6cab235
updated logback-classic dependency to fix vulnerability warning
HugoMario Dec 7, 2023
1a10f49
Merge pull request #12304 from swagger-api/logback-classic-vulnerability
HugoMario Dec 7, 2023
dc8866f
use URLSearchParams native node function
HEYGUL Aug 27, 2023
8628047
generate javascript and javascript-es6 samples
HEYGUL Aug 30, 2023
3af34fd
Merge pull request #11155 from mjschuetze102/javascript_infinite_loop
HugoMario Dec 16, 2023
cb94646
update deps
frantuma Dec 29, 2023
7bd0141
prepare-release-2.4.38
frantuma Dec 29, 2023
4e9ab3e
prepare-release-2.4.39
frantuma Jan 2, 2024
0051519
bump snapshot 2.4.40-SNAPSHOT
frantuma Jan 2, 2024
2eb75a8
use Object instead ERROR_UNKNOWN as default value for empty names
HugoMario Jan 24, 2024
16f539d
Merge pull request #12327 from swagger-api/issue-12305
HugoMario Jan 24, 2024
247ce22
Update README.md
kodonnell-heila Jan 30, 2024
c3f9fdd
typescript-fetch: nullify URL search field instead of delete
Jan 31, 2024
6c938fd
samples/typescript-fetch: regenerated
Jan 31, 2024
e68265c
use URLSearchParams instead of url.URLSeachParams
HugoMario Feb 7, 2024
d1dc253
Merge pull request #12338 from swagger-api/typescript-fetch-tweak
HugoMario Feb 7, 2024
cff2c41
Merge pull request #12189 from cicdguy/patch-1
HugoMario Feb 8, 2024
492a075
Merge branch 'master' into typescript-fetch-nullify-url-search
HugoMario Feb 10, 2024
7242d20
Merge pull request #12330 from simeonborko/typescript-fetch-nullify-u…
HugoMario Feb 10, 2024
986e90a
Merge branch 'patch-1' of https://github.com/kodonnell-heila/swagger-…
HugoMario Feb 10, 2024
478335b
added local variable prefix in codegen configurator.
HugoMario Feb 10, 2024
9602627
Merge branch 'master' into kodonnell-heila-patch-1
HugoMario Feb 10, 2024
67a018a
Merge pull request #12339 from swagger-api/kodonnell-heila-patch-1
HugoMario Feb 10, 2024
7aaf80d
Merge branch 'master' into remove-querystring
HugoMario Feb 10, 2024
0f7dea0
Merge pull request #12226 from HEYGUL/remove-querystring
HugoMario Feb 11, 2024
9987023
update dependencies
frantuma Apr 21, 2024
1c3cc0d
prepare release 2.4.40
frantuma Apr 22, 2024
4d6011c
prepare release 2.4.41
frantuma Apr 22, 2024
984d015
bump 2.4.42-SNAPSHOT
frantuma Apr 22, 2024
85108f5
Update Dockerfile base image
dreglad Apr 23, 2024
da36c80
Add GEN_DIR Build Argument to Dockerfile
dreglad Apr 23, 2024
8a02071
Add CodeQl workflow
micryc May 7, 2024
9462238
Add samples to ignored paths
micryc May 9, 2024
ebdd044
Merge pull request #12392 from swagger-api/CodeQl-attachment
micryc May 9, 2024
4482fe4
Update versions in README.md
frantuma May 11, 2024
50a5415
Update CodeQl
micryc May 14, 2024
02fa912
Delete on push/pull workflow trigger
micryc May 14, 2024
96b9a7d
Merge pull request #12398 from swagger-api/CodeQl-Workflow-FIX
micryc May 14, 2024
17c46b8
Apply Sarif Filter to CodeQl configuration
micryc May 15, 2024
be7735b
Merge pull request #12400 from swagger-api/CodeQl_Sarif_Filter-apply
micryc May 15, 2024
d51e61d
Update 3.0.0 version in readme
frantuma May 28, 2024
0d30fac
implement config priorities
frantuma Jul 29, 2024
f41ecbf
prepare release 2.4.42
frantuma Jul 29, 2024
2c5329a
update versions in README
frantuma Aug 1, 2024
0c5872a
jersey2 allow headers overrides - PLUS 498cef428
frantuma Aug 1, 2024
63c6bdd
bump snapshot 2.4.43-SNAPSHOT
frantuma Aug 8, 2024
61cfeac
prepare release 2.4.43
frantuma Aug 8, 2024
327873b
chore(repo): simplify README to aid navigation and docs
frankkilcommins Oct 11, 2024
d02d406
chore(repo): fix documentation typos
frankkilcommins Oct 16, 2024
f80f147
Update README.md
frantuma Nov 23, 2024
24892dc
Switch from deprecated openjdk to eclipse-temurin
fgreinacher Sep 25, 2024
35e6141
ci: switch to v4 artifact actions
fgreinacher Dec 12, 2024
3230def
prepare release 2.4.44
frantuma Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: 'Builder'
description: 'build project'
inputs:
path:
description: 'project root path'
required: true
job-name:
description: 'Job name'
required: true
build-commands:
description: 'Build Commands'
required: true
outputs:
logs:
description: "logs"
value: ${{ steps.build.outputs.logs }}
path:
description: "output path"
value: ${{ steps.build.outputs.path }}
runs:
using: "composite"
steps:
- id: build
name: build
run: |
buildlogfile=${{ inputs.job-name }}-build.log
echo "path=$(echo generated/${{ inputs.job-name }})" >> $GITHUB_OUTPUT
curdir=$(pwd)
echo -e "\n****** BUILD ******\n" >> $curdir/$buildlogfile
cd ${{ inputs.path }}
echo -e "${{ inputs.build-commands }}" > $curdir/buildcommands.log
echo "logs=$(echo $curdir/$buildlogfile)" >> $GITHUB_OUTPUT
buildcommands=$(cat $curdir/buildcommands.log)

while [ "$buildcommands" ] ;do
iter=${buildcommands%%__&&__*}
echo -e "\n****** executing: $iter ******\n"
echo -e "\n****** executing: $iter ******\n" >> $curdir/$buildlogfile
$iter 2>&1 | tee --append $curdir/$buildlogfile
[ "$buildcommands" = "$iter" ] && \
buildcommands='' || \
buildcommands="${buildcommands#*__&&__}"
done
echo -e "\n****** executed all buildcommands ******\n"
echo -e "\n****** executed all buildcommand ******\n" >> $curdir/$buildlogfile
cd ${curdir}
echo "logs=$(echo $curdir/$buildlogfile)" >> $GITHUB_OUTPUT
shell: bash
33 changes: 0 additions & 33 deletions .github/actions/dotnetbuild/action.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/actions/generate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ runs:
name: generate
run: |
logfile=${{ inputs.job-name }}.log
echo "::set-output name=logs::$(echo $logfile)"
chmod +x ${{ github.action_path }}/generate.sh
echo "${{ inputs.language }} ${{ inputs.job-name }} ${{ inputs.spec-url }} ${{ inputs.options }}"
echo -e "\n****** generate ******\n" > $logfile
${{ github.action_path }}/generate.sh ${{ inputs.language }} ${{ inputs.job-name }} ${{ inputs.spec-url }} ${{ inputs.options }} >> $logfile
echo "::set-output name=path::$(echo generated/${{ inputs.job-name }})"
echo "logs=$(echo $logfile)" >> $GITHUB_OUTPUT
${{ github.action_path }}/generate.sh ${{ inputs.language }} ${{ inputs.job-name }} ${{ inputs.spec-url }} ${{ inputs.options }} 2>&1 | tee --append $logfile
echo "path=$(echo generated/${{ inputs.job-name }})" >> $GITHUB_OUTPUT
echo "logs=$(echo $logfile)" >> $GITHUB_OUTPUT
shell: bash
12 changes: 11 additions & 1 deletion .github/actions/generate/generate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

SCRIPT="$0"

Expand All @@ -17,18 +17,28 @@ executable="swagger-codegen-cli.jar"

LANG=$1

echo "LANGUAGE $LANG"

JOB_NAME=$2

echo "JOB_NAME $JOB_NAME"

if [ -z "$JOB_NAME" ]
then
JOB_NAME=$LANG
fi

SPEC_URL=$3

echo "SPEC_URL PARAM $SPEC_URL"

if [[ $SPEC_URL == "null" ]];
then
SPEC_URL="https://petstore3.swagger.io/api/v3/openapi.json"
fi

echo "SPEC_URL $SPEC_URL"

shift;
shift;
shift;
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/generate/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<logger name="io.swagger" level="info"/>
<root level="error">
<logger name="io.swagger" level="debug"/>
<root level="debug">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
31 changes: 0 additions & 31 deletions .github/actions/javabuild/action.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/actions/jsbuild/action.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/actions/pythonbuild/action.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
76 changes: 76 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
schedule:
- cron: '16 04 * * 2'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (github.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
output: sarif-results
upload: failure-only

- name: filter-sarif
uses: advanced-security/filter-sarif@v1
with:
patterns: |
-**/samples/**
input: sarif-results/java.sarif
output: sarif-results/java.sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif-results/java.sarif

16 changes: 16 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v3
with:
fail-on-severity: high
Loading