Commit fc5b3e7
committed
fix: remove humanized descriptions from API Blueprint output
When parameters or attributes are defined without explicit descriptions,
the DSL auto-generates humanized descriptions (e.g., "option" -> "Option").
This change ensures these auto-generated descriptions are not included
in the API Blueprint output, providing cleaner documentation.
- Added humanize check to description_blank? method
- Updated RSpec tests to expect nil for auto-generated descriptions
- Fixes failing cucumber test for API Blueprint documentation1 parent 50f0de7 commit fc5b3e7
File tree
2 files changed
+4
-3
lines changed- lib/rspec_api_documentation/views
- spec/views
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments