Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Custom Headers - Make them persistent #163

Open
prime-gram opened this issue Nov 28, 2016 · 2 comments
Open

Custom Headers - Make them persistent #163

prime-gram opened this issue Nov 28, 2016 · 2 comments

Comments

@prime-gram
Copy link

Currently, custom headers get erased after a refresh, and we have to fill them over and over again.

It would be great if we could persist them, so we can use api explorer right away.

@danielbcorreia
Copy link
Contributor

danielbcorreia commented Nov 28, 2016

You can also add API-specific headers on the configuration DSL, such as:

APIExplorer
  .config(c => {
      c.swagger2API('petshop', 'https://api.swaggerhub.com/apis/anil614sagar/petStore/1.0.0', true)
      c.addHeader('HeaderName', 'HeaderValue')
    }
  .start()

Did you try that?

@cguedes
Copy link
Contributor

cguedes commented Nov 28, 2016

AFAIK, he want to have persistent, per user, header values. Right @pedrofmanuel-sky?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants