Skip to content

Fix empty parameter example not generated#3932

Merged
martincostello merged 2 commits into
domaindrivendev:masterfrom
dldl-cmd:3931_fix_parameter_example_empty
Jun 16, 2026
Merged

Fix empty parameter example not generated#3932
martincostello merged 2 commits into
domaindrivendev:masterfrom
dldl-cmd:3931_fix_parameter_example_empty

Conversation

@dldl-cmd

Copy link
Copy Markdown
Contributor

Pull Request

The issue or feature being addressed

Fixes: #3931

Details on the issue fix or feature implementation

Add example also when example string is empty. This allows an empty example to be documented on a parameter.

@dldl-cmd dldl-cmd marked this pull request as draft April 28, 2026 18:18
@codecov

codecov Bot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.04%. Comparing base (812a448) to head (8e004e3).
⚠️ Report is 48 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3932   +/-   ##
=======================================
  Coverage   95.04%   95.04%           
=======================================
  Files         111      111           
  Lines        3958     3958           
  Branches      801      801           
=======================================
  Hits         3762     3762           
  Misses        196      196           
Flag Coverage Δ
Linux 95.04% <100.00%> (ø)
Windows 95.04% <100.00%> (ø)
macOS 95.04% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dldl-cmd dldl-cmd marked this pull request as ready for review April 28, 2026 18:59
@martincostello martincostello added this to the v10.2.2 milestone Jun 16, 2026
@martincostello martincostello merged commit c544f11 into domaindrivendev:master Jun 16, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution @dldl-cmd - the changes from this pull request have been published as part of version 10.2.2 📦, which is now available from NuGet.org 🚀

This was referenced Jun 19, 2026
This was referenced Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Empty example is not always transferred into OpenApi document

2 participants