|
Download Evaluate/projects/iceberg/java/open-api/README.md from SYSUSELab/RustRepoTrans: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/iceberg/java/open-api/README.md
- Command line
-
hf download hf://datasets/SYSUSELab/RustRepoTrans/Evaluate/projects/iceberg/java/open-api/README.md
-
curl -L -o README.md https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/iceberg/java/open-api/README.md
1.4 kB
Open API spec
The rest-catalog-open-api.yaml defines the REST catalog interface.
Lint
To make sure that the open-api definition is valid, you can run the lint command:
make install
make lint
Generate Python code
When updating rest-catalog-open-api.yaml, make sure to update rest-catalog-open-api.py with the spec changes by running the following commands:
make install
make generate
The generated code is not being used in the project, but helps to see what the changes in the open-API definition are in the generated code.