Open
Description
Q&A (please complete the following information)
- OS: [Linux mint]
- Browser: [Firefox]
- Version: [136.0.1]
- Method of installation: [npm]
- Swagger-UI version: [3.20.1]
- Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0.4]
Content & configuration
- I open Swagger UI with a valid OpenAPI 3.0.4 spec.
- Select an endpoint that requires a request body.
- Enter a request body.
- Navigate to another endpoint, then return.
- The request body is not lost.
Example Swagger/OpenAPI definition:
# your YAML here
Swagger-UI configuration options:
SwaggerUI({
// your config options here
})
?yourQueryStringConfig
Describe the bug you're encountering
To reproduce...
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
The request body should persist even after navigating away and coming back to the endpoint.
Screenshots
Additional context or thoughts
- No errors appear in the console.
- updateRequestBody` action seems to fire, but the state does not persist.
- The issue does not occur in version X.Y.Z (if tested in an older version).
Metadata
Metadata
Assignees
Labels
No labels