Skip to content

LAB-2750 - Open API spec for shield operation mode endpoint#193

Merged
pr0uxx merged 1 commit into
mainfrom
LAB-2750
Jul 14, 2026
Merged

LAB-2750 - Open API spec for shield operation mode endpoint#193
pr0uxx merged 1 commit into
mainfrom
LAB-2750

Conversation

@Loop-infinity

Copy link
Copy Markdown
Contributor

This pull request adds support for exposing the current operation mode of the SHIELD application via the API. The main changes include the introduction of a new schema for representing the operation mode and the addition of a new API endpoint to retrieve this information.

API Enhancements:

  • Added a new schema Core.OperationMode to SHIELD.json to represent the operation mode state, including possible values like "normal" and "discover".
  • Introduced a new endpoint /Api/Core/OperationMode (GET) to retrieve the current operation mode, with an example response and appropriate documentation in the OpenAPI spec.

Copilot AI review requested due to automatic review settings July 14, 2026 09:30
@Loop-infinity Ruman Mulla (Loop-infinity) changed the title Shield - Open Api spec for Shield Operation mode endpoint LAB-2750 - Open API spec for shield operation mode endpoint Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the SHIELD OpenAPI 3.1 specification to expose the application’s current operation mode via a dedicated schema and a new Core API endpoint.

Changes:

  • Added a new response schema Core.OperationMode to represent the SHIELD operation mode payload.
  • Added a new GET /Api/Core/OperationMode endpoint returning Core.OperationMode with an example response.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pr0uxx
pr0uxx merged commit 3e224dd into main Jul 14, 2026
9 checks passed
@pr0uxx
pr0uxx deleted the LAB-2750 branch July 14, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants