Skip to content

Commit d8bcbd5

Browse files
rwinchrstoyanchev
authored andcommitted
Fix invalid attributes
1 parent 6993a9e commit d8bcbd5

File tree

4 files changed

+23
-29
lines changed

4 files changed

+23
-29
lines changed

framework-docs/modules/ROOT/pages/web/web-uris.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[id={chapter}.web-uricomponents]
21
[[uricomponents]]
32
= UriComponents
43
[.small]#Spring MVC and Spring WebFlux#
@@ -102,12 +101,11 @@ You can shorten it further still with a full URI template, as the following exam
102101

103102

104103

105-
[id={chapter}.web-uribuilder]
106104
[[uribuilder]]
107105
= UriBuilder
108106
[.small]#Spring MVC and Spring WebFlux#
109107

110-
<<{chapter}.web-uricomponents, `UriComponentsBuilder`>> implements `UriBuilder`. You can create a
108+
<<web-uricomponents, `UriComponentsBuilder`>> implements `UriBuilder`. You can create a
111109
`UriBuilder`, in turn, with a `UriBuilderFactory`. Together, `UriBuilderFactory` and
112110
`UriBuilder` provide a pluggable mechanism to build URIs from URI templates, based on
113111
shared configuration, such as a base URL, encoding preferences, and other details.
@@ -195,7 +193,6 @@ that holds configuration and preferences, as the following example shows:
195193
----
196194

197195

198-
[id={chapter}.web-uri-encoding]
199196
[[uri-encoding]]
200197
= URI Encoding
201198
[.small]#Spring MVC and Spring WebFlux#

framework-docs/modules/ROOT/pages/web/webflux/ann-rest-exceptions.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ to customize the problem details for Spring WebFlux exceptions. This is supporte
7676
- Each `ErrorResponse` exposes a message code and arguments to resolve the "detail" field
7777
through a xref:core/beans/context-introduction.adoc#context-functionality-messagesource[MessageSource].
7878
The actual message code value is parameterized with placeholders, e.g.
79-
`"HTTP method {0} not supported"` to be expanded from the arguments.
79+
`+"HTTP method {0} not supported"+` to be expanded from the arguments.
8080
- Each `ErrorResponse` also exposes a message code to resolve the "title" field.
8181
- `ResponseEntityExceptionHandler` uses the message code and arguments to resolve the
8282
"detail" and the "title" fields.
@@ -93,41 +93,41 @@ arguments and codes for Spring WebFlux exceptions:
9393

9494
| `UnsupportedMediaTypeStatusException`
9595
| (default)
96-
| `{0}` the media type that is not supported, `{1}` list of supported media types
96+
| `+{0}+` the media type that is not supported, `+{1}+` list of supported media types
9797

9898
| `UnsupportedMediaTypeStatusException`
9999
| (default) + ".parseError"
100100
|
101101

102102
| `MissingRequestValueException`
103103
| (default)
104-
| `{0}` a label for the value (e.g. "request header", "cookie value", ...), `{1}` the value name
104+
| `+{0}+` a label for the value (e.g. "request header", "cookie value", ...), `+{1}+` the value name
105105

106106
| `UnsatisfiedRequestParameterException`
107107
| (default)
108-
| `{0}` the list of parameter conditions
108+
| `+{0}+` the list of parameter conditions
109109

110110
| `WebExchangeBindException`
111111
| (default)
112-
| `{0}` the list of global errors, `{1}` the list of field errors.
112+
| `+{0}+` the list of global errors, `+{1}+` the list of field errors.
113113
Message codes and arguments for each error within the `BindingResult` are also resolved
114114
via `MessageSource`.
115115

116116
| `NotAcceptableStatusException`
117117
| (default)
118-
| `{0}` list of supported media types
118+
| `+{0}+` list of supported media types
119119

120120
| `NotAcceptableStatusException`
121121
| (default) + ".parseError"
122122
|
123123

124124
| `ServerErrorException`
125125
| (default)
126-
| `{0}` the failure reason provided to the class constructor
126+
| `+{0}+` the failure reason provided to the class constructor
127127

128128
| `MethodNotAllowedException`
129129
| (default)
130-
| `{0}` the current HTTP method, `{1}` the list of supported HTTP methods
130+
| `+{0}+` the current HTTP method, `+{1}+` the list of supported HTTP methods
131131

132132
|===
133133

framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-rest-exceptions.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ to customize the problem details for Spring MVC exceptions. This is supported as
7676
- Each `ErrorResponse` exposes a message code and arguments to resolve the "detail" field
7777
through a xref:core/beans/context-introduction.adoc#context-functionality-messagesource[MessageSource].
7878
The actual message code value is parameterized with placeholders, e.g.
79-
`"HTTP method {0} not supported"` to be expanded from the arguments.
79+
`+"HTTP method {0} not supported"+` to be expanded from the arguments.
8080
- Each `ErrorResponse` also exposes a message code to resolve the "title" field.
8181
- `ResponseEntityExceptionHandler` uses the message code and arguments to resolve the
8282
"detail" and the "title" fields.
@@ -97,19 +97,19 @@ arguments and codes for Spring MVC exceptions:
9797

9898
| `ConversionNotSupportedException`
9999
| (default)
100-
| `{0}` property name, `{1}` property value
100+
| `+{0}+` property name, `+{1}+` property value
101101

102102
| `HttpMediaTypeNotAcceptableException`
103103
| (default)
104-
| `{0}` list of supported media types
104+
| `+{0}+` list of supported media types
105105

106106
| `HttpMediaTypeNotAcceptableException`
107107
| (default) + ".parseError"
108108
|
109109

110110
| `HttpMediaTypeNotSupportedException`
111111
| (default)
112-
| `{0}` the media type that is not supported, `{1}` list of supported media types
112+
| `+{0}+` the media type that is not supported, `+{1}+` list of supported media types
113113

114114
| `HttpMediaTypeNotSupportedException`
115115
| (default) + ".parseError"
@@ -125,49 +125,49 @@ arguments and codes for Spring MVC exceptions:
125125

126126
| `HttpRequestMethodNotSupportedException`
127127
| (default)
128-
| `{0}` the current HTTP method, `{1}` the list of supported HTTP methods
128+
| `+{0}+` the current HTTP method, `+{1}+` the list of supported HTTP methods
129129

130130
| `MethodArgumentNotValidException`
131131
| (default)
132-
| `{0}` the list of global errors, `{1}` the list of field errors.
132+
| `+{0}+` the list of global errors, `+{1}+` the list of field errors.
133133
Message codes and arguments for each error within the `BindingResult` are also resolved
134134
via `MessageSource`.
135135

136136
| `MissingRequestHeaderException`
137137
| (default)
138-
| `{0}` the header name
138+
| `+{0}+` the header name
139139

140140
| `MissingServletRequestParameterException`
141141
| (default)
142-
| `{0}` the request parameter name
142+
| `+{0}+` the request parameter name
143143

144144
| `MissingMatrixVariableException`
145145
| (default)
146-
| `{0}` the matrix variable name
146+
| `+{0}+` the matrix variable name
147147

148148
| `MissingPathVariableException`
149149
| (default)
150-
| `{0}` the path variable name
150+
| `+{0}+` the path variable name
151151

152152
| `MissingRequestCookieException`
153153
| (default)
154-
| `{0}` the cookie name
154+
| `+{0}+` the cookie name
155155

156156
| `MissingServletRequestPartException`
157157
| (default)
158-
| `{0}` the part name
158+
| `+{0}+` the part name
159159

160160
| `NoHandlerFoundException`
161161
| (default)
162162
|
163163

164164
| `TypeMismatchException`
165165
| (default)
166-
| `{0}` property name, `{1}` property value
166+
| `+{0}+` property name, `+{1}+` property value
167167

168168
| `UnsatisfiedServletRequestParameterException`
169169
| (default)
170-
| `{0}` the list of parameter conditions
170+
| `+{0}+` the list of parameter conditions
171171

172172
|===
173173

framework-docs/modules/ROOT/pages/web/websocket-intro.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[id={chapter}.websocket-intro]
21
[[introduction-to-websocket]]
32
= Introduction to WebSocket
43

@@ -55,7 +54,6 @@ instructions of the cloud provider related to WebSocket support.
5554

5655

5756

58-
[id={chapter}.websocket-intro-architecture]
5957
[[http-versus-websocket]]
6058
== HTTP Versus WebSocket
6159

@@ -82,7 +80,6 @@ In the absence of that, they need to come up with their own conventions.
8280

8381

8482

85-
[id={chapter}.websocket-intro-when-to-use]
8683
[[when-to-use-websockets]]
8784
== When to Use WebSockets
8885

0 commit comments

Comments
 (0)