Skip to content

Fix duplicated security section for api doc#2196

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main
Nov 3, 2025
Merged

Fix duplicated security section for api doc#2196
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Copilot AI review requested due to automatic review settings November 3, 2025 10:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request removes redundant and unnecessary OpenAPI specification fields from the Swagger documentation. The changes streamline the API documentation by removing default parameter styling attributes (style, explode) that are automatically inferred by OpenAPI 3.0, removing required: false declarations (which is the default), and removing global security declarations that were previously appended via a script.

Key Changes:

  • Removed redundant style and explode parameter attributes throughout the API endpoints
  • Removed explicit required: false declarations from optional parameters
  • Removed global security declarations from both the YAML file and the conversion script

Reviewed Changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/interface/rest/docs/swagger.yaml Removed redundant OpenAPI parameter attributes (style, explode, required: false) and global security declarations from the API specification
scripts/misc/convert-swagger-version.sh Removed script logic that was appending security declarations to the swagger.yaml file

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

@seokho-son
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Nov 3, 2025
@cb-github-robot cb-github-robot merged commit 9f44128 into cloud-barista:main Nov 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants