Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response headers to mock #46

Open
jormaechea opened this issue Jul 22, 2019 · 2 comments
Open

Add response headers to mock #46

jormaechea opened this issue Jul 22, 2019 · 2 comments

Comments

@jormaechea
Copy link

Currently, responses don't include the headers defined in the schema.

For example:

paths:
  /hello:
    get:
      summary: Hello world
      responses:
        '200':
          description: OK
          headers:
            x-foo:
              schema:
                type: string
                example: bar
          content:
            application/json:
              schema:
                type: object
                properties:
                  foo:
                    type: string

Should return x-foo: bar as a response header.

@sem4phor
Copy link

Any reasons why the commit which is solving this isnt released yet?

@jormaechea
Copy link
Author

@danielgtaylor I saw you had already made this in you last commit.
Unfortunately, we are using you docker image and we need a new release.

When do you think you could tackle that?
Thanks in advance!

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

No branches or pull requests

2 participants