We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/micronaut-projects/micronaut-servlet/blob/3.4.x/test-suite-http-server-tck-jetty/src/test/java/io/micronaut/http/server/tck/jetty/tests/JettytHttpServerTestSuite.java#L11
The text was updated successfully, but these errors were encountered:
For all 3 failures here, it seems the @Produces is ignored for the @Error handler methods, ie:
@Produces
@Error
@Error @Produces({"text/plain"}) @Status(HttpStatus.OK) String localHandler(AnotherException throwable) { return throwable.getMessage(); }
or
@Error @Produces(io.micronaut.http.MediaType.TEXT_PLAIN) @Status(HttpStatus.OK) String localHandler(AnotherException throwable) { return throwable.getMessage(); }
Has the correct response, but it isn't text-plain
text-plain
Sorry, something went wrong.
Right, that looks like a bug.
@timyates can we close this?
remove exclusions
98469be
Close #/378 Close #377 Close #376
remove exclusions (#388)
62dbc09
timyates
Successfully merging a pull request may close this issue.
Issue description
https://github.com/micronaut-projects/micronaut-servlet/blob/3.4.x/test-suite-http-server-tck-jetty/src/test/java/io/micronaut/http/server/tck/jetty/tests/JettytHttpServerTestSuite.java#L11
The text was updated successfully, but these errors were encountered: