No manual code changes should be made. All .java files are generated with the OpenAPI Generator CLI. If there are updates you think should be made to the generated client then they should be handled through patches. The patching process is detailed below.
- Make changes in
spec/services/fabricv4/oas3.patched/swagger.yamldir. - Create a patch file in equinix-sdk-java:
cd spec/services/fabricv4 git diff oas3.patched/ > ../patches/spec.fetched.json/<patchfilename> cd .. patchfilenameshould be in format:<patch_index>-<short_patch_decription_or_identifier>.patch- Run
make -f Makefile.fabricv4 generateto reapply the changes to oas spec. - Before pushing changes, commit
spec/services/fabricv4/oas3.patched/swagger.yamlalong with the patch file.