Skip to content

Add support for resource inheritance in OpenAPI #1704

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

Merged
merged 4 commits into from
Mar 24, 2025

Consistency renames of parameters for schema types

c9bb868
Select commit
Loading
Failed to load commit list.
Merged

Add support for resource inheritance in OpenAPI #1704

Consistency renames of parameters for schema types
c9bb868
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 24, 2025 in 1s

90.41% (+0.07%) compared to fcca17d

View this Pull Request on Codecov

90.41% (+0.07%) compared to fcca17d

Details

Codecov Report

Attention: Patch coverage is 90.77615% with 82 lines in your changes missing coverage. Please review.

Project coverage is 90.41%. Comparing base (fcca17d) to head (c9bb868).

Files with missing lines Patch % Lines
...cuments/AtomicOperationsDocumentSchemaGenerator.cs 93.06% 7 Missing and 7 partials ⚠️
...nApi.Swashbuckle/OpenApiResourceObjectConverter.cs 73.68% 5 Missing and 5 partials ⚠️
...SchemaGenerators/Components/DataSchemaGenerator.cs 96.59% 4 Missing and 4 partials ⚠️
...penApi.Swashbuckle/UnusedComponentSchemaCleaner.cs 86.20% 5 Missing and 3 partials ⚠️
...JsonApiObjects/AtomicOperations/UpdateOperation.cs 0.00% 2 Missing ⚠️
...ApiObjects/Documents/CollectionResponseDocument.cs 0.00% 2 Missing ⚠️
...cts/Documents/NullableSecondaryResponseDocument.cs 0.00% 2 Missing ⚠️
...sonApiObjects/Documents/PrimaryResponseDocument.cs 0.00% 2 Missing ⚠️
...nApiObjects/Documents/SecondaryResponseDocument.cs 0.00% 2 Missing ⚠️
...nApiObjects/ResourceObjects/DataInCreateRequest.cs 0.00% 2 Missing ⚠️
... and 26 more
Additional details and impacted files
@@             Coverage Diff             @@
##           openapi    #1704      +/-   ##
===========================================
+ Coverage    90.34%   90.41%   +0.07%     
===========================================
  Files          462      466       +4     
  Lines        14080    14434     +354     
  Branches      2198     2283      +85     
===========================================
+ Hits         12720    13050     +330     
- Misses         921      933      +12     
- Partials       439      451      +12     

☔ View full report in Codecov by Sentry.
📢 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.