Skip to content

Commit

Permalink
Merge pull request #39522 from fdlane/lane-rest-grammar
Browse files Browse the repository at this point in the history
Fix typos in rest doc
  • Loading branch information
gsmet authored Mar 18, 2024
2 parents 82234f6 + 17910e6 commit 352c88f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/main/asciidoc/rest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ Resource:: Represents your domain object. This is what your API serves and modif
Representation:: How your resource is represented on the wire, can vary depending on content types
Content type:: Designates a particular representation (also called a media type), for example `text/plain` or `application/json`
HTTP:: Underlying wire protocol for routing REST calls (see https://tools.ietf.org/html/rfc7230[HTTP specifications])
HTTP request:: the request part of the HTTP call, consisting of an HTTP method, a target URI, headers and an optional message body
HTTP response:: the response part of the HTTP call, consisting of an HTTP response status, headers and an optional message body
HTTP request:: The request part of the HTTP call, consisting of an HTTP method, a target URI, headers and an optional message body
HTTP response:: The response part of the HTTP call, consisting of an HTTP response status, headers and an optional message body

=== Declaring endpoints: URI mapping

Expand Down Expand Up @@ -2310,9 +2310,9 @@ quarkus.log.category."org.jboss.resteasy.reactive.common.core.AbstractResteasyRe

==== Via annotations

You can declare functions which are invoked in the following phases of the request processing:
You can declare functions that are invoked in the following phases of the request processing:

- Before the endpoint method is identified: pre-routing request filter
- Before the endpoint method is identified: pre-matching request filter
- After routing, but before the endpoint method is called: normal request filter
- After the endpoint method is called: response filter

Expand Down Expand Up @@ -2491,7 +2491,7 @@ A `ContainerResponseFilter` will also be called for <<exception-mapping, handled

[[readers-writers]]

Whenever your endpoint methods return an object (of when they return a
Whenever your endpoint methods return an object (or when they return a
link:{resteasy-reactive-common-api}/org/jboss/resteasy/reactive/RestResponse.html[`RestResponse<?>`]
or link:{jaxrsapi}/jakarta/ws/rs/core/Response.html[`Response`] with
an entity), Quarkus REST will look for a way to map that into an HTTP response body.
Expand Down

0 comments on commit 352c88f

Please sign in to comment.