Skip to content

persistent openapi specification#3977

Open
kliushnichenko wants to merge 2 commits into
jooby-project:mainfrom
kliushnichenko:feat/persistent-openapi-spec
Open

persistent openapi specification#3977
kliushnichenko wants to merge 2 commits into
jooby-project:mainfrom
kliushnichenko:feat/persistent-openapi-spec

Conversation

@kliushnichenko

Copy link
Copy Markdown
Contributor

Sometimes it is useful to have your OpenAPI spec persisted in the repository (in addition to what we have in the jar). Especially nowadays, within an agentic engineering approach.

So, introducing an optional property, copyOpenApiSpecTo to the Maven plugin generating the spec.
Works only if the property is present; it copies the same output to the specified path.

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.15%. Comparing base (afd4742) to head (3cb392d).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3977      +/-   ##
============================================
- Coverage     94.17%   94.15%   -0.02%     
  Complexity     6652     6652              
============================================
  Files           432      432              
  Lines         20893    20893              
  Branches       2096     2096              
============================================
- Hits          19675    19672       -3     
- Misses          760      765       +5     
+ Partials        458      456       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jknack jknack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

look good, we need to add the new option to gradle openapi task too.

@kliushnichenko
kliushnichenko requested a review from jknack July 27, 2026 08:11
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