docusaurus-openapi-docs icon indicating copy to clipboard operation
docusaurus-openapi-docs copied to clipboard

Save Params while navigating

Open ActionalyDev opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

When setting a request param, the value is removed anytime you navigate away from the page except for the Auth Bearer Token (which is saved in session storage apparently)

Describe the solution you'd like

Is there a way to save the other parameters in session storage too so that when we navigate back to the same page they get populated from the previous input?

Describe alternatives you've considered

It would be great also to have an option to populate the value on param with the same name on other pages. For example we have a parameter that basically gives a scope (which is not the same as the user scope) and we set this param on every api call Params.

Additional context

We are trying to make the documentation easier to use, by not copy pasting Params constantly (with some Params never changing even among different api calls)

If there is already a way to customize that by adding some code in the config I am open to suggestions on where to start

ActionalyDev avatar Apr 22 '24 17:04 ActionalyDev