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
The Get request @PathVariable should support the url containing paranthesis
Currently its not supported and throws "Page Not Found" exception from micronaut
Note: Used to support this behaviour in micronaut 3
Code I used
@get( value = "/entities/{externalEntityRef}/document/{documentId}/name/{documentName}") @nonnull public Flowable<byte[]> getDocument( @nonnull @PathVariable final String ref, @nonnull @PathVariable @parameter(required = true, description = "The document id.") final String documentId, @nonnull @PathVariable @parameter(required = true, description = "The document name.") final String documentName)
Get Request from postman
http://localhost:8080/entities/resource_58cda705-67ce-429a-885c-d48a12c833b9/document/c94fb4e8-2db9-41d6-9ed1-9c161ce9897e/name/Request%20a%20panel%20form%202024-09-30%2010-44 (1).pdf
JDK Version - 21
No response
4.5.0
The text was updated successfully, but these errors were encountered:
Please create a sample app
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
The Get request @PathVariable should support the url containing paranthesis
Actual Behaviour
Currently its not supported and throws "Page Not Found" exception from micronaut
Note: Used to support this behaviour in micronaut 3
Steps To Reproduce
Code I used
@get(
value = "/entities/{externalEntityRef}/document/{documentId}/name/{documentName}")
@nonnull
public Flowable<byte[]> getDocument(
@nonnull
@PathVariable
final String ref,
@nonnull @PathVariable @parameter(required = true, description = "The document id.")
final String documentId,
@nonnull @PathVariable @parameter(required = true, description = "The document name.")
final String documentName)
Get Request from postman
http://localhost:8080/entities/resource_58cda705-67ce-429a-885c-d48a12c833b9/document/c94fb4e8-2db9-41d6-9ed1-9c161ce9897e/name/Request%20a%20panel%20form%202024-09-30%2010-44 (1).pdf
Environment Information
JDK Version - 21
Example Application
No response
Version
4.5.0
The text was updated successfully, but these errors were encountered: