Examples rendering for 'multipart/form-data' and 'application/x-www-form-urlencoded'#1315
Examples rendering for 'multipart/form-data' and 'application/x-www-form-urlencoded'#1315v50553490-cyber wants to merge 2 commits intoPaloAltoNetworks:mainfrom
Conversation
PR Review — "Examples rendering for
|
| # | Severity | Issue |
|---|---|---|
| 3 | Bug | example.value[schemaKey] should be example[schemaKey] |
| 4 | Design | Tab switching doesn't re-sync Redux state (last-mounted tab wins) |
| 1 | Minor | useEffect([]) missing eslint-disable comment |
| 2 | Minor | Object fields without examples now always render LiveApp (undocumented change) |
| 5 | Informational | application/x-www-form-urlencoded is also affected, not just multipart/form-data |
The dead-code removal in FileArrayFormBodyItem is a nice cleanup. Items 3 and 4 should be resolved before merging.
|
Hi @sserrata, could you please re-check point 4 regarding design and Redux synchronization? I see that the useEffect part is called every time a tab is selected, so sync is applied. Here is a screen recording: I agree with the rest comments. |
|
Fixed points 1 and 3. Comments on other: |
Description
Motivation and Context
The commit makes it possible to render named or unnamed examples using SchemaTabs for 'multipart/form-data' + 'application/x-www-form-urlencoded'.
How Has This Been Tested?
Screenshots (if appropriate)
Types of changes
Checklist