tree: 530f11d9d07690fc904f2c20e92662de42d0ddbd [path history] [tgz]
  1. header.txt
  2. Makefile
  3. README.md
  4. requirements.txt
  5. rest-catalog-open-api.py
  6. rest-catalog-open-api.yaml
open-api/README.md

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.