Skip to content

feat(Tagging): regenerated services with latest API definition#326

Open
stefano-rm wants to merge 1 commit intoIBM:mainfrom
stefano-rm:feat/add-message-field
Open

feat(Tagging): regenerated services with latest API definition#326
stefano-rm wants to merge 1 commit intoIBM:mainfrom
stefano-rm:feat/add-message-field

Conversation

@stefano-rm
Copy link

PR summary

Add optional message field to TagResultsItem interface to expose detailed error messages returned by the GhoST Tags API when tagging operations fail.

PR Checklist

  • The commit message follows the Angular Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Current behavior: When a tagging operation fails, the TagResultsItem only contains resource_id and is_error fields. Error details are not exposed to SDK users.

New behavior: The TagResultsItem now includes an optional message field that contains the error message returned by the API, providing better error diagnostics.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

  • Related to (IBM) task #29830
  • Changes are minimal: only adds the message?: string field to the interface
  • The field is optional and backward compatible
  • Swagger definition has been updated and merged in the ghost-for-resources repository

Signed-off-by: Stefano Roberto Mollica <stefano.mollica@it.ibm.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.

1 participant