-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Java playframework: add support for oauth2 accesstoken validation #10901
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
Merged
wing328
merged 80 commits into
OpenAPITools:master
from
bflamand:java_playframework_add_support_for_oauth2_accesstoken_validation
Jan 2, 2022
Merged
Changes from 76 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
ac55b6c
first commit: add cli option for saga and records. Added dummy sagas.…
bflamand-work 61a3033
More progress with default values. First prototype for isEntity and i…
bflamand-work 2e3a04e
record generation complete
bflamand-work 9411143
record generation complete
bflamand-work 6e867ee
progress with saga generation
bflamand-work 3da2805
progress with saga generation
bflamand-work 7b42777
Merge pull request #1 from OpenAPITools/master
bflamand 9a3160c
first fully working saga generation
bflamand-work 84c702c
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work 5554245
merge with latest master
bflamand-work f8030fb
removed unneeded "items" properties.
bflamand-work 8f33935
moved global CodegenModel modifications into subclass ExtendedCodegen…
bflamand-work f387d06
moved global CodegenOperation modifications into subclass ExtendedCod…
bflamand-work c586da2
moved global CodegenProperty modifications into subclass ExtendedCode…
bflamand-work b273409
moved global CodegenParameter modifications into subclass ExtendedCod…
bflamand-work 9b48cf2
added the missing "allSagas" export.
bflamand-work 1796282
renamed & reworked "meta data response" flags to a more useful genera…
bflamand-work a82ff31
added vendor flag keepAsJSObject as escape hatch to support circular …
bflamand-work 549797d
added autodetection for passthrough to simplify standardised specs.
bflamand-work 1706006
fix small issue with passthrough void
bflamand-work 32c97a4
fix small issues with passthrough void and missing passthrough import…
bflamand-work e6c5ef3
fix small issues with passthrough void and missing passthrough import…
bflamand-work ea5a5eb
Merge pull request #3 from OpenAPITools/master
bflamand e86c81f
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work 9160502
Added "reservedRecordField" feature to support remapping fields names…
bflamand-work a77f17e
added uniqueId inference. Fix small generation when uniqueId property…
bflamand-work 8925de1
removed feature "reservedRecordField" and replaced it with existing b…
bflamand-work 090150b
Changed api recType names to make them less likely to cause name conf…
bflamand-work 76eef30
Moved location of ApiEntities related files and fix issues with exports.
bflamand-work 47e06dd
Merge pull request #4 from OpenAPITools/master
bflamand 8e2b99c
merge master
bflamand-work 0e2b574
- merge latest master
bflamand-work 1c67357
- missing ganarate sampless
bflamand-work 1fb2e4f
Merge pull request #5 from OpenAPITools/master
bflamand 639d687
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work 6ab1fba
- Modified way to export apiEntitiesSelectpr to reduce typescript ana…
bflamand-work bff46e0
- added markErrorsAsHandled property to api sagas. Increased typescri…
bflamand-work e72f84f
- fix bug in saga interfaces. Upgraded to typescript "strict" mode to…
bflamand-work b13159b
- added optional id for apiEntity selectors. Added toInlined() suppor…
bflamand-work 33cf0d4
- minor tweak for apiEntitySelector to accept null id
bflamand-work 0389c3a
- minor tweak for apiEntitySelector
bflamand-work b2bfad9
Merge pull request #6 from OpenAPITools/master
bflamand d87cff8
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work ea9b4ae
- runned ensure up to date.
bflamand-work ace4139
Revert "- runned ensure up to date."
bflamand-work bf12bb2
- runned ensure up to date.
bflamand-work ec78ed9
- runned ensure up to date.
bflamand-work a73767b
- added more enhancements: New "toInlined" functionality. Support for…
bflamand-work d593421
Merge pull request #23 from OpenAPITools/master
bflamand dbfd307
Merge pull request #24 from OpenAPITools/master
bflamand b3948f7
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work f6de53f
- merge master
bflamand-work 520f7c8
- fix generated api bug in some cases for typescript fetch when no re…
bflamand-work 135fdd6
Merge pull request #25 from OpenAPITools/master
bflamand 5de2c43
Merge remote-tracking branch 'origin/master' into typescript-saga-imm…
bflamand-work 79d0ebf
- commented broken tests
bflamand-work 98c8b41
- fix generate samples analysis.
bflamand-work 2cec373
- work in progress for playframework swagger upgrade
bflamand-work 3ec717f
- first working output for playframework with oauth support for acces…
bflamand-work e5c43ec
update surefire to newer version
wing328 3db8f8a
Merge pull request #26 from OpenAPITools/surefire-fix
bflamand e9bfec1
added new sample project "...playframework-with-security.yaml" and im…
bflamand-work fbf9368
Merge pull request #28 from OpenAPITools/master
bflamand e32ef68
Merge pull request #29 from OpenAPITools/master
bflamand ae028f0
Merge remote-tracking branch 'origin/master' into java_playframework_…
bflamand-work e991817
split SecurityAPIUtil into more granular and useful functions.
bflamand-work e874d06
minor fix to have tab instead of spaces in securityapiutils mustache …
bflamand-work 6ba1d9f
added missing generated samples.
bflamand-work 7d34d3b
added missing securityAPIUtils injection in generated "Controller" cl…
bflamand-work 85ea0fa
added missing securityAPIUtils import
bflamand-work 4d06d39
added missing securityAPIUtils import for no-interface samples files.
bflamand-work 4676532
minor tweak: changed order of import for securityApiUtils
bflamand-work 2a98f96
minor tweak: changed order of import for securityApiUtils
bflamand-work 2001d0b
fix: securityApiUtils was incorrectly declared with "throws Exception"
bflamand-work a9a3793
minor code tweak.
bflamand-work 5d1cf9e
fix potential runtime throw in SecurityApiUtils if playframework conf…
bflamand-work b72ec9a
Merge pull request #34 from OpenAPITools/master
bflamand ef13b28
Merge remote-tracking branch 'origin/master' into java_playframework_…
bflamand-work da4d3ac
run ensure-up-to-date and generate-samples
bflamand-work e781521
Revert "run ensure-up-to-date and generate-samples"
bflamand-work File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
bin/configs/java-play-framework-fake-endpoints-with-security.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| generatorName: java-play-framework | ||
| outputDir: samples/server/petstore/java-play-framework-fake-endpoints-with-security | ||
| inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml | ||
| templateDir: modules/openapi-generator/src/main/resources/JavaPlayFramework | ||
| additionalProperties: | ||
| hideGenerationTimestamp: "true" |
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
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.