forked from apache/polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate Polaris-native API from Iceberg Rest Catalog API spec (apach…
- Loading branch information
Showing
5 changed files
with
3,959 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Polaris API Specifications | ||
Polaris provides two sets of OpenAPI specifications: | ||
- `polaris-management-service.yml` - Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals | ||
- `polaris-catalog-service.yaml` - Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API | ||
and Polaris-native API. | ||
- `polaris-apis` - Contains the specifications of Polaris-native API | ||
- `rest-catalog-open-api.yaml` - Contains the specification for Iceberg Rest Catalog API | ||
|
||
## Generated Specification Files | ||
The specification files in the generated folder are automatically created using OpenAPI bundling tools such as | ||
[Redocly CLI](https://github.com/Redocly/redocly-cli). | ||
|
||
These files should not be manually edited (except adding license header). They are intended for preview purposes only, | ||
such as rendering a preview on a website. | ||
|
||
Whenever the source specification files are updated, the generated files must be re-generated to reflect those changes. | ||
|
||
Below are steps to generate `bundled-polaris-catalog-service.yaml` | ||
### Install redocly-cli | ||
``` | ||
npm install @redocly/cli -g | ||
``` | ||
|
||
### Generate the Bundle | ||
``` | ||
redocly bundle spec/polaris-catalog-open-api.yaml -o spec/generated/generated-polaris-catalog-service.yaml | ||
``` | ||
|
||
|
Oops, something went wrong.