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

Java client, adds responses #391

Merged
merged 50 commits into from
Feb 25, 2024
Merged

Java client, adds responses #391

merged 50 commits into from
Feb 25, 2024

Conversation

spacether
Copy link
Contributor

@spacether spacether commented Feb 16, 2024

Java client, adds response object implementation which allows for de-serialization of responses

  • schema sealed class changed to selaed interface to reduce qty of generated code
  • schema implementing sealed classes now use records to reduce amount of generated code
  • request bodies updated to use sealed interface and record classes to reduce amount of generated code
  • responses use sealed interfaces for response bodies and media types

Future Work

  • Implement a class that stores responses

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 February 16, 2024 23:28
@spacether spacether linked an issue Feb 22, 2024 that may be closed by this pull request
@spacether spacether added the java Pull requests that update Java code label Feb 22, 2024
@spacether spacether marked this pull request as ready for review February 25, 2024 17:58
@spacether spacether merged commit c981617 into master Feb 25, 2024
@spacether spacether deleted the feat_java_adds_responses branch February 25, 2024 17:59
@spacether spacether mentioned this pull request Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java client: add Response Object
1 participant