Skip to content

Conversation

@zdunecki
Copy link

@zdunecki zdunecki commented Sep 5, 2025

Hi,

It's a concept only but we need this at @livesession.
The case is like that:

Let's say we have a core structures defined schema.yaml in our core golang package and want to reuse that so we have to:

generate ./schema.yaml inside our core package
then in our api we need to import that schemas to our openapi and based on that schema generate a golang server too
We would like to have references to core instead of a new objects. Plus we want to have schema.gen.go inside core package.

Why it's needed? Because x-go-type overwrite what type is generated so using this method inside core package we would get types that does not exists. If we use that from api perspective (which use core it's fine cuz the references are already generated)

@zdunecki zdunecki requested a review from a team as a code owner September 5, 2025 18:58
@kusari-inspector
Copy link

kusari-inspector bot commented Sep 5, 2025

Kusari Inspector

Kusari Analysis Results:

Proceed with these changes

✅ No Flagged Issues Detected
All values appear to be within acceptable risk parameters.

No pinned version dependency changes, code issues or exposed secrets detected!

@kusari-inspector rerun - Trigger a re-analysis of this PR
@kusari-inspector feedback [your message] - Send feedback to our AI and team
See Kusari's documentation for setup and configuration.
Commit: db2c6aa, performed at: 2025-09-05T18:58:57Z

Found this helpful? Give it a 👍 or 👎 reaction!

@kusari-inspector
Copy link

Kusari PR Analysis rerun based on - db2c6aa performed at: 2025-09-05T20:24:10Z - link to updated analysis

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