forked from prestodb/presto
-
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.
Add OpenAPI documentation for /v1/properties/session
- Loading branch information
Showing
2 changed files
with
39 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,20 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Presto session properties API | ||
description: API for retrieving session properties in Presto. | ||
version: "1" | ||
servers: | ||
- url: http://localhost:8080 | ||
description: Presto endpoint when running locally | ||
paths: | ||
/v1/properties/session: | ||
get: | ||
summary: Returns the list of session properties. | ||
description: This endpoint retrieves the supported session properties list from a Prestissimo cluster. | ||
responses: | ||
'200': | ||
description: List of session properties. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: './schemas.yaml/#/components/schemas/SessionPropertyMetadata' |