Skip to content

Commit a9e3fe2

Browse files
committed
Add concrete example showing the bug location in current HTML sample
1 parent b61ac00 commit a9e3fe2

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

TESTING_STEPS.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,30 @@ git push origin claude/fix-html-array-types-aPDDX
7070

7171
## Verification
7272

73-
To verify the fix is working correctly, look for any endpoint in the generated HTML that has an array body parameter. For example, in the Petstore spec, the `/user/createWithArray` endpoint should show:
73+
### Concrete Example from Current Sample
74+
75+
In the existing `samples/documentation/html/index.html` at **line 1037**, the `createUsersWithArrayInput` endpoint currently shows:
7476

7577
```html
76-
<div class="param">user array[<a href="#User">User</a>] (required)</div>
78+
<div class="param">User <a href="#User">User</a> (required)</div>
7779
```
7880

79-
Instead of:
81+
**Problem**: This endpoint accepts an `array[User]` but only displays "User"
82+
83+
After regeneration with the fix, line 1037 should show:
8084

8185
```html
82-
<div class="param">user <a href="#User">User</a> (required)</div>
86+
<div class="param">User array[<a href="#User">User</a>] (required)</div>
8387
```
8488

89+
**Result**: Will correctly display "User array[User] (required)"
90+
91+
### How to Verify
92+
93+
1. After regenerating samples, open `samples/documentation/html/index.html`
94+
2. Navigate to line 1037 (or search for "createUsersWithArrayInput" and look at the Request body section)
95+
3. Confirm the body parameter shows `array[User]` instead of just `User`
96+
8597
## Current Status
8698

8799
✅ Template fix committed

0 commit comments

Comments
 (0)