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

Optional Header can be undefined #324

Open
jacopocarlini opened this issue Nov 23, 2023 · 0 comments
Open

Optional Header can be undefined #324

jacopocarlini opened this issue Nov 23, 2023 · 0 comments

Comments

@jacopocarlini
Copy link

Issue

If in the openapi v3 there is an optional header for the request the generated client expects it as param (can be undefined)

Example openapi:

 "headers" : {
    "X-Request-Id" : {
      "description" : "This header identifies the call",
      "schema" : {
        "type" : "string"
      }
    }
  }

Expected:

I want to ignore the optional header. Now I'm forced to pass it to the client.

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

1 participant