Skip to content

chore: document the Application models with XML comments - #14

Merged
stphnwlsh merged 1 commit into
mainfrom
chore/document-application-models
Oct 28, 2026
Merged

stphnwlsh merged 1 commit into
mainfrom
chore/document-application-models

Conversation

@stphnwlsh

@stphnwlsh stphnwlsh commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Keeps the Application layer identical to CleanMinimalApi and CleanWebApi, where these comments now feed the OpenAPI document shown in Scalar.

  • Adds XML comments (and examples on Version) to the Author, ReviewAuthor, Movie, ReviewedMovie, Review and Version models.
  • Turns on GenerateDocumentationFile for Application, with CS1591 suppressed like Presentation.
  • Fixes the NotFoundException.Throw comment, which referenced a parameter that doesn't exist.

No behaviour change.

Related issues

None.

Type of change

  • Bug fix
  • New feature
  • Breaking change (the generated solution or template parameters change in a way existing users will notice)
  • Refactoring or clean-up
  • Documentation
  • Build, pipeline or dependency update

Shared layers

  • This only touches the Presentation layer of this template.
  • This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates.

Checklist

  • dotnet build and dotnet test pass locally with no warnings.
  • I added or updated tests, and coverage stays at or above 95%.
  • I updated the README or docs where behaviour changed.
  • I checked the template still installs and creates a working solution (see CONTRIBUTING.md).

Matches the Application layer in CleanMinimalApi and CleanWebApi, where these
comments feed the OpenAPI document. Also fixes the NotFoundException.Throw
comment.
@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.72%. Comparing base (87a9d2f) to head (776d9bf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files          42       42           
  Lines         358      358           
  Branches       11       11           
=======================================
  Hits          357      357           
  Partials        1        1           

☔ 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.

@stphnwlsh
stphnwlsh merged commit ca4a125 into main Oct 28, 2026
12 checks passed
@stphnwlsh
stphnwlsh deleted the chore/document-application-models branch October 28, 2026 14:00
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