Skip to content

Optional response header#1412

Open
ShouheiNishi wants to merge 9 commits intooapi-codegen:mainfrom
ShouheiNishi:fix/optional-response-header
Open

Optional response header#1412
ShouheiNishi wants to merge 9 commits intooapi-codegen:mainfrom
ShouheiNishi:fix/optional-response-header

Conversation

@ShouheiNishi
Copy link
Copy Markdown
Contributor

@ShouheiNishi ShouheiNishi commented Dec 28, 2023

To fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*.
However, this change introduce some incompatibility.
So we add compatibility option.

And this PR included PR #1411.

@ShouheiNishi ShouheiNishi marked this pull request as ready for review December 28, 2023 04:16
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

Successfully merging this pull request may close these issues.

1 participant