FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix readonly+required property by florentchauveau · Pull Request #605 · oapi-codegen/oapi-codegen · GitHub

Fix readonly+required property - #605

Merged
2 commits merged into
oapi-codegen:masterfrom
florentchauveau:fix-readonly-required
Jul 25, 2022
Merged

Fix readonly+required property#605
2 commits merged into
oapi-codegen:masterfrom
florentchauveau:fix-readonly-required

Conversation

florentchauveau commented Jun 2, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

This fixes #604. Properties that are both readonly and required should not be pointers on server-side code. Also, they should not be marked as "omitEmpty".

florentchauveau force-pushed the fix-readonly-required branch 3 times, most recently from 058bbfb to 5f2116a Compare June 3, 2022 10:23
florentchauveau force-pushed the fix-readonly-required branch from 513d7d1 to f542a2f Compare June 8, 2022 12:08
florentchauveau force-pushed the fix-readonly-required branch 4 times, most recently from c91f581 to 34b3268 Compare July 15, 2022 15:54
ghost merged commit 6273e1a into oapi-codegen:master Jul 25, 2022
glrf added a commit to projectsyn/lieutenant-api that referenced this pull request Jul 29, 2022
This version introduces many breaking changes, but the old code gen
behaviour can be restored with the correct configuration.

However there is currently a bug, preventing us from completely switching
back to the old behaviour. The provided config should generate
equivalent code as soon as oapi-codegen/oapi-codegen#605
is released.
adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
…ters (oapi-codegen#605)

This fixes oapi-codegen#604.

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
bastjan pushed a commit to projectsyn/lieutenant-api that referenced this pull request May 24, 2024
This version introduces many breaking changes, but the old code gen
behaviour can be restored with the correct configuration.

However there is currently a bug, preventing us from completely switching
back to the old behaviour. The provided config should generate
equivalent code as soon as oapi-codegen/oapi-codegen#605
is released.
adrianpk added a commit to foorester/oapi-codegen that referenced this pull request May 31, 2024
…ters (oapi-codegen#605)

This fixes oapi-codegen#604.

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

AllOf does not respect required for referenced properties

1 participant


Back | FazBrowse Home | New Git URL