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

fix(openApi): add missing schema declarations #4808

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

PHWaechtler
Copy link
Contributor

@PHWaechtler PHWaechtler commented Nov 22, 2024

related to #3298

Adds missing schema declarations for:

  • /job/aJobId/stacktrace
  • history/job-log/someId/stacktrace

I noticed that there was no attribute for the response macro to add this declaration for string responses, instead of defaulting to the "manual" approach I adjusted the macro to add a contenctDesc field as that seemed cleaner to me - let me know if there is a reason not to have this added there though and we can instead rewrite the above without using the macros.

While I was there I also noticed it was missing for history/external-task-log/someId/error-details so this adds it for that too. Also adjusts the equivalent in external-task/someId/errorDetails just for consistency.

Copy link
Member

@tasso94 tasso94 left a comment

Choose a reason for hiding this comment

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

Looks good to me! 🙂 👍

@PHWaechtler PHWaechtler merged commit 736692f into master Nov 28, 2024
6 checks passed
@PHWaechtler PHWaechtler deleted the 3298-add-missing-schema-declaration branch November 28, 2024 11:12
@ap-development-workflow
Copy link

Successfully created backport PR for 7.22:

  • camunda/camunda-bpm-platform-maintenance#1329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants