Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tags to openapi for frontend. #163

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions api/installer/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ tags:
- name: Common methods
description: |-
methods for common usage
- name: OTA methods
description: |-
methods for OTA usage

x-tagGroups:
- name: Methods
tags:
- Common methods
- OTA methods
- Web methods

security:
Expand All @@ -31,6 +35,7 @@ paths:
- $ref: "#/components/parameters/Version"
tags:
- Web methods
- OTA methods
responses:
"200":
description: OK
Expand All @@ -50,6 +55,7 @@ paths:
operationId: getRelease
tags:
- Web methods
- OTA methods
parameters:
- $ref: "#/components/parameters/Version"
responses:
Expand All @@ -65,6 +71,7 @@ paths:
operationId: installRelease
tags:
- Common methods
- OTA methods
parameters:
- $ref: "#/components/parameters/Version"
responses:
Expand All @@ -81,6 +88,7 @@ paths:
operationId: getInstall
tags:
- Common methods
- OTA methods
responses:
"200":
$ref: "#/components/responses/InstallInfoOk"
Expand All @@ -93,6 +101,7 @@ paths:
summary: Get the status of the OTA program.
tags:
- Common methods
- OTA methods
operationId: getStatus
responses:
"200":
Expand All @@ -107,6 +116,7 @@ paths:
operationId: resetStatus
tags:
- Web methods
- OTA methods
responses:
"200":
$ref: "#/components/responses/ResponseOK"
Expand All @@ -119,6 +129,7 @@ paths:
operationId: getNoticeInfo
tags:
- Web methods
- OTA methods
responses:
"200":
$ref: "#/components/responses/NoticeInfoOK"
Expand Down
Loading