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

docs(engine-rest): return stacktrace as text/plain #3487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicoruti
Copy link
Contributor

@nicoruti nicoruti commented Jun 8, 2023

Specifies the schema for plain text responses as type 'string'. This is required for generated API clients to work properly, as they usually default to application/json.

Fixed:

  • history/job-log/{id}/stacktrace
  • /job/{id}/stacktrace

Specifies the schema for plain text responses as type 'string'. This is required for generated API clients to work properly, as they usually default to application/json.

Fixed:
* history/job-log/{id}/stacktrace
* /job/{id}/stacktrace
@mboskamp
Copy link
Member

Hi @nicoruti, thank you for your contribution. 🚀
I will take a look at it as soon as possible.

Copy link
Member

@mboskamp mboskamp left a comment

Choose a reason for hiding this comment

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

Hi @nicoruti, sorry for the long wait.
It looks like your change breaks the template in some ways. Could you check this again? Please make sure that mvn clean install still works in the engine-rest-openapi project.
It is also not clear to me why this change should be necessary as both endpoints already declare mediaType= "text/plain". Could you elaborate on this as well?

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.

None yet

2 participants