Closed Petersoj closed 4 years ago
@Petersoj just verifying -- should I be merging this or are you still working it?
@mainstringargs yes please merge this. I’ll mark my PRs that are still in progress as PR drafts and then mark those as ready for review when I’m done.
This allows certain sample JSONs to be either schemas or sources. Schemas allow for JSON POJO inheritance (for API endpoints that return complex JSON data that contains objects of dynamic structure), object referencing, javadocs, custom getter/setter names (to prevent name collisions), etc. The reference for schemas can be found here. You can change whether a sample JSON file is a schema or a JSON source file with the
sampleJSONPOJOs
variable in thebuild.gradle
file. This PR also organizes the sample JSON into a structure that correlates with the various Alpaca and Polygon endpoint URLs for API consistency. I'll be using this heavily for my other PRs so there is likely quite a few bugs right now, but those will be resolved by my other PRs.