Commit 9bc31ae
authored
docs: fix incorrect filename in BlogPostRequestConverter code block (#6510)
### Motivation
While following Armeria’s REST tutorial, I was confused when reading
this code block because the filename shown in the block was
BlogRequestConverter.java, but the actual class inside the snippet was
BlogPostRequestConverter.
As a beginner, I initially thought I needed to create an additional
class or that I was doing something wrong.
<img width="755" height="255" alt="issue#6509"
src="https://github.com/user-attachments/assets/3c0d09f3-d0a0-4bf0-9cfd-94a0a41fe716"
/>
To reduce such confusion for new users, I would like to fix this typo in
the tutorial documentation.
### Modifications
Updated the code block filename in
armeria/site/src/pages/tutorials/rest/blog/implement-create.mdx
from BlogRequestConverter.java to BlogPostRequestConverter.java.
Before
```
java filename=BlogRequestConverter.java highlight=10-22
...
final class BlogPostRequestConverter implements RequestConverterFunction {
```
After
```
java filename="BlogPostRequestConverter.java" highlight=10-22
...
final class BlogPostRequestConverter implements RequestConverterFunction {
```
### Result
- Fixes a documentation typo and prevents confusion for new users
following the REST tutorial.
- No behavioral or code changes; documentation-only change
- ---
- - Closes #65091 parent 3230db8 commit 9bc31ae
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments