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

Java, generates all schemas #289

Merged
merged 65 commits into from
Nov 17, 2023
Merged

Java, generates all schemas #289

merged 65 commits into from
Nov 17, 2023

Conversation

spacether
Copy link
Contributor

@spacether spacether commented Nov 10, 2023

Java, generates all schemas

  • all schemas are classes with static (json schema) properties and a validate method
    • this allows classes to refer to themselves and others without requiring class instances and minimizes code
  • validate returns a validated payload
  • type/format/properties/required/additionalProperties/items support addded

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 November 10, 2023 19:55
@spacether spacether marked this pull request as ready for review November 17, 2023 21:11
@spacether spacether merged commit ae60db0 into master Nov 17, 2023
@spacether spacether deleted the feat_java_schema_gen branch November 17, 2023 21:11
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.

1 participant