# 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: ```sh 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: ```sh 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.