Skip to content

fix: remove password field from git get request#1028

Merged
j-zimnowoda merged 3 commits into
mainfrom
APL-1984
Jun 30, 2026
Merged

fix: remove password field from git get request#1028
j-zimnowoda merged 3 commits into
mainfrom
APL-1984

Conversation

@dennisvankekem

Copy link
Copy Markdown
Contributor

No description provided.

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

Updates the Git settings API contract so GET /v2/git no longer advertises (or requires) a password field in its response schema, aligning the OpenAPI spec with the intended behavior.

Changes:

  • Introduces a dedicated GetGitSettings OpenAPI schema (without password) and wires GET /v2/git to it.
  • Adds the new schema to OpenAPI components for reuse/reference.
  • Minor import reordering in src/otomi-stack.ts.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/otomi-stack.ts Reorders the getAuthenticatedUrl import (no functional change).
src/openapi/git.yaml Removes teamAdmin ACL from AplGit and adds new GetGitSettings schema (without password).
src/openapi/api.yaml Switches GET /v2/git to use GetGitSettings schema and registers it under components.

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

Comment thread src/openapi/git.yaml
Comment thread src/openapi/git.yaml Outdated
Comment thread src/openapi/git.yaml Outdated
dennisvankekem and others added 2 commits June 30, 2026 15:06
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@j-zimnowoda j-zimnowoda merged commit 656655c into main Jun 30, 2026
8 checks passed
@j-zimnowoda j-zimnowoda deleted the APL-1984 branch June 30, 2026 13:19
j-zimnowoda pushed a commit that referenced this pull request Jul 1, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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