Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Java adds security to ApiClient #384

Merged
merged 27 commits into from
Feb 2, 2024
Merged

Java adds security to ApiClient #384

merged 27 commits into from
Feb 2, 2024

Conversation

spacether
Copy link
Contributor

@spacether spacether commented Jan 28, 2024

  • Generates one class for each security entry (security requirement object)
  • Generates one XSecurityInfo class per security key, allows saving instances of all security requirement objects. Public builder requires that a minimum of 1 security requirement object is defined.
  • Integrates XSecurityInfo classes into the ApiConfiguration class
  • This allows security configuration info to be set in the ApiConfiguration class, which will be used later

Future Work

  • add documentation for Java root security

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    mvn clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/python*.
    For Windows users, please run the script in Git BASH.

@spacether spacether marked this pull request as draft January 28, 2024 02:35
@spacether spacether changed the title Java adds securty to ApiClient Java adds security to ApiClient Jan 28, 2024
@spacether spacether force-pushed the java_adds_securityInfo branch from 1483928 to c551007 Compare January 31, 2024 17:44
@spacether spacether marked this pull request as ready for review February 2, 2024 20:25
@spacether spacether merged commit 262d435 into master Feb 2, 2024
@spacether spacether deleted the java_adds_securityInfo branch February 2, 2024 20:38
@spacether spacether mentioned this pull request Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java client integrate component security schemes into ApiConfiguration
1 participant