-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix!: generate and load openapi.json to/from build dir root in dev mode #2163
Conversation
ccfa683
to
b7850aa
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2163 +/- ##
=======================================
Coverage 93.78% 93.78%
=======================================
Files 64 64
Lines 1624 1624
Branches 365 365
=======================================
Hits 1523 1523
Misses 66 66
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* This moves the location of generating and loading openapi.json file to the root of build dir in dev mode to prevent unwanted restarts being triggered by Spring devtools. * In production mode, however, the openapi.json is generated to and loaded from the root of the classes dir to keep it available for the runtime to load it as a resource. Fixes #842
Quality Gate passedIssues Measures |
This ticket/PR has been released with Hilla 24.4.0.alpha14 and is also targeting the upcoming stable 24.4.0 version. |
…de (#2163) * fix: Put hilla-openapi.json outside classes Fixes #842 * fix!: generate and load openapi.json to/from build dir root in dev mode * This moves the location of generating and loading openapi.json file to the root of build dir in dev mode to prevent unwanted restarts being triggered by Spring devtools. * In production mode, however, the openapi.json is generated to and loaded from the root of the classes dir to keep it available for the runtime to load it as a resource. Fixes #842 --------- Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
This moves the location of generating and loading openapi.json file
to the root of build dir in dev mode to prevent unwanted restarts
being triggered by Spring devtools.
In production mode, however, the openapi.json is generated to and
loaded from the root of the classes dir to keep it available for the
runtime to load it as a resource.
This renames the
openapi.json
file tohilla-openapi.json
and nolonger puts it under any package.
Fixes #842