Skip to content

[tooling]: Generate all openapi-to-go files; make setAuthError generated only when needed#1455

Merged
mickmis merged 1 commit into
interuss:masterfrom
Orbitalize:fix_generation
May 13, 2026
Merged

[tooling]: Generate all openapi-to-go files; make setAuthError generated only when needed#1455
mickmis merged 1 commit into
interuss:masterfrom
Orbitalize:fix_generation

Conversation

@the-glu
Copy link
Copy Markdown
Contributor

@the-glu the-glu commented May 6, 2026

This PR follow #1454 because generated files changed.

I noticed when working on previous PR that some files generated by openapi-to-go have not been updated correctly (make apis vs make dss_api).

This:

  • Make openapi-to-go working with dummy-oauth
    • There are no authorization and requiered structs for setAuthError)
    • setAuthError is only created when needed
  • Update example's go.mod
  • Generate everything

Follow up PR will enforce up-to-date generated files in CI.

Copy link
Copy Markdown
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo comments

Comment thread interfaces/openapi-to-go-server/generate.py Outdated
Comment thread interfaces/openapi-to-go-server/rendering.py
@the-glu the-glu requested a review from mickmis May 12, 2026 09:08
@mickmis mickmis merged commit 3434a1e into interuss:master May 13, 2026
12 checks passed
@mickmis mickmis deleted the fix_generation branch May 13, 2026 06:58
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.

2 participants