Skip to content

feat: initial CoreSystem.OpenApi implementation - #1

Merged
FEDERIN merged 13 commits into
mainfrom
chore/initial-repo
Nov 7, 2026
Merged

FEDERIN merged 13 commits into
mainfrom
chore/initial-repo

Conversation

@FEDERIN

@FEDERIN FEDERIN commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

📄 Description

This PR brings the initial full implementation of CoreSystem.OpenApi, extracted from the CoreSystem monorepo. It adds the core OpenAPI/Swagger abstractions plus a Swashbuckle integration, samples, documentation, CI/CD, and repository tooling.

🔧 Type of Change

  • Feature
  • Docs
  • Tests added/updated

🆕 What's New

  • Core.OpenApi package: attributes (ProducesCreated, ProducesOk, ProducesNoContent, ProducesNotFoundProblem, ProducesValidationProblem, ProducesTooManyRequestsProblem), options (OpenApiOptions, BearerSecurityOptions, problem responses), CoreProblemDetails / CoreValidationProblemDetails, and unit tests.
  • Core.OpenApi.Swashbuckle package: DI registration (OpenApiRegistration), app-builder extensions, document patcher, CreatedWithLocationDocumentFilter, JsonOnlyResponsesOperationFilter, CoreOpenApiOptions, plus unit and integration tests.
  • Samples: Swashbuckle sample and a baseline sample (with Dockerfiles and docker-compose).
  • Docs: MkDocs site with getting started and OpenApi guides (configuration, problem responses).
  • CI/CD: GitHub Actions for CI, CodeQL, docs, publish, and sample smoke tests; dependabot; PR template.
  • Tooling: OpenCode commands and skills for quality, docs, docker samples, encoding, git workflow, solution testing, etc.
  • Repository infrastructure: multi-targeting (net8.0/9.0/10.0), centralized package versions, locked restore, global.json (SDK 10.0.201).

📋 Checklist

  • dotnet build CoreSystem.OpenApi.slnx -c Release succeeds
  • Tests added/updated (dotnet test)
  • Package README.md and docs/ updated if public surface changed
  • packages.lock.json regenerated if dependencies changed
  • No breaking changes, or breaking changes documented

🔗 References

  • Initial commit: dc80d7e

@github-advanced-security

Copy link
Copy Markdown
Contributor

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

FEDERIN and others added 6 commits November 7, 2026 13:51
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@FEDERIN
FEDERIN merged commit 8a797d6 into main Nov 7, 2026
6 checks passed
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