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

add option x-go-allof-embed-refs by lahabana · Pull Request #1295 · oapi-codegen/oapi-codegen · GitHub

add option x-go-allof-embed-refs - #1295

Closed
lahabana wants to merge 1 commit into
oapi-codegen:mainfrom
lahabana:xEmbedRef
Closed

add option x-go-allof-embed-refs#1295
lahabana wants to merge 1 commit into
oapi-codegen:mainfrom
lahabana:xEmbedRef

Conversation

Copy link
Copy Markdown

This is useful when working with extending APIs

I'm opening this as draft as it's missing:

  • Docs
  • More tests

This is useful for us as we have apis that expand APIs already defined externally. This enables us to avoid a lot of mapping code.

I didn't want to extend old-merge-schemas as this seems likely to be removed in the future.
We handle the original issue by just refusing the generate go code which would result in a non openAPI compliant (which was the original motivation for not using embedded objects ref: #531)

Signed-off-by: Charly Molter charly.molter@konghq.com

This is useful when working with extending APIs

Signed-off-by: Charly Molter <charly.molter@konghq.com>

Copy link
Copy Markdown
Author

There seems to be more recent options

lahabana deleted the xEmbedRef branch September 30, 2025 18:53
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.

1 participant


Back | FazBrowse Home | New Git URL