Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
c8d87d7
feat: adds the new spec version to the enum
baywet Sep 24, 2025
7f869d0
feat: adds the new 3.2 serialization infrastructure
baywet Sep 24, 2025
5d365c0
feat: adds parsing infrastructure for version 3.2
baywet Sep 24, 2025
e992717
chore: updates existing failing tests
baywet Sep 24, 2025
8ad6bfa
Update default OpenApiVersion to 3_2
kilifu Sep 24, 2025
7406953
Update version service documentation to V3.2
kilifu Sep 24, 2025
c3aa16d
Merge pull request #19 from BinkyLabs/feat/enum-version
baywet Sep 24, 2025
ec30262
duplicate V31 tests for V32
kilifu Sep 24, 2025
c765816
missing 3.1 => 3.2
kilifu Sep 24, 2025
263a8d9
fix: a bug where json schema keywords would be missing from serialize…
baywet Sep 26, 2025
d4f9a4f
Merge pull request #21 from BinkyLabs/main
baywet Sep 26, 2025
6ed161f
Merge pull request #22 from BinkyLabs/chore/20-add-serializationdeser…
baywet Sep 26, 2025
2e2c3cf
feat: Add support for response summary in OpenAPI 3.2.0 (#23)
Copilot Sep 29, 2025
9f0b322
chore: updates benchmark results
baywet Sep 29, 2025
bc9758e
Initial plan
Copilot Sep 29, 2025
ef92cc1
Implement OpenAPI 3.2.0 server name field with backward compatibility
Copilot Sep 29, 2025
6485aa6
Apply suggestions from code review
baywet Sep 29, 2025
a60bb84
Update src/Microsoft.OpenApi/Models/OpenApiServer.cs
baywet Sep 29, 2025
c9fe497
chore: adds missing using
baywet Sep 29, 2025
ac6d8b6
add defaultMapping in discriminator
kilifu Sep 29, 2025
fa354ba
Merge pull request #24 from BinkyLabs/chore/benchmark-results
baywet Sep 29, 2025
1b54b85
Merge branch 'feat/oai-3-2-support' into copilot/fix-e82b7370-b029-4d…
kilifu Sep 29, 2025
90d463c
Merge branch 'feat/oai-3-2-support' into feat/Add-support-defaultMapping
kilifu Sep 29, 2025
def8b92
public api
kilifu Sep 29, 2025
d964404
chore: update EmptyModels benchmark results
Copilot Sep 29, 2025
9bba39f
Merge pull request #25 from BinkyLabs/copilot/fix-e82b7370-b029-4de8-…
baywet Sep 30, 2025
4cb0347
Initial plan
Copilot Sep 30, 2025
8637a83
Add Deprecated property to SecurityScheme with serialization/deserial…
Copilot Sep 30, 2025
aaf4c36
Add tests for SecurityScheme deprecated field and update public API
Copilot Sep 30, 2025
4819c0c
Merge branch 'feat/oai-3-2-support' into feat/Add-support-defaultMapping
kilifu Sep 30, 2025
c6b79aa
Apply suggestions from code review
baywet Sep 30, 2025
9924957
chore: adds missing using
baywet Sep 30, 2025
0a2c16c
Initial plan
Copilot Sep 30, 2025
4991360
Add $self property to OpenApiDocument with serialization/deserializat…
Copilot Sep 30, 2025
585903d
Add tests for $self property serialization and deserialization
Copilot Sep 30, 2025
5f06b5a
Complete $self property implementation with passing tests
Copilot Sep 30, 2025
518abac
Apply suggestions from code review
baywet Sep 30, 2025
82a4229
Add deserialization support for $self in V31 and V32 deserializers an…
Copilot Sep 30, 2025
91d3626
Add deserialization unit tests for $self property in V31 and V32
Copilot Sep 30, 2025
269181b
chore: updates benchmark results
baywet Sep 30, 2025
44e1bb8
Merge pull request #27 from BinkyLabs/copilot/fix-b37e3c64-4c57-4b84-…
baywet Sep 30, 2025
5ec066a
Merge branch 'feat/oai-3-2-support' into copilot/fix-441fec3f-fb43-40…
baywet Sep 30, 2025
ee26c50
chore: updates benchmark results
baywet Sep 30, 2025
bfbd065
ignore DefaultMapping if V3
kilifu Sep 30, 2025
292a28b
Merge pull request #28 from BinkyLabs/copilot/fix-441fec3f-fb43-40b7-…
baywet Sep 30, 2025
ada5f32
Initial plan
Copilot Sep 30, 2025
ec52ba6
Add deviceAuthorizationUrl field to OAuthFlow object
Copilot Sep 30, 2025
e055a60
chore: adds missing import
baywet Sep 30, 2025
224648b
Apply suggestions from code review
baywet Sep 30, 2025
1542284
test: adds missing unit test definitions for security schemes in OAI …
baywet Sep 30, 2025
6be5fcd
chore: documentation links updates
baywet Sep 30, 2025
cf745f3
chore: removes extra files
baywet Sep 30, 2025
9877815
chore: refactors the extension parsing to live in extensions
baywet Sep 30, 2025
39ed5b7
chore: updates benchmark information
baywet Sep 30, 2025
29273c6
Merge branch 'feat/oai-3-2-support' into feat/Add-support-defaultMapping
baywet Sep 30, 2025
f84e5de
Initial plan
Copilot Sep 30, 2025
8ff3d23
Add DeviceAuthorization field to OpenApiOAuthFlows with v3.2 support …
Copilot Sep 30, 2025
beb5805
chore: updates benchmark results
baywet Sep 30, 2025
a2e7ef2
Add tests for DeviceAuthorization serialization and update public API
Copilot Sep 30, 2025
25b54f6
Merge branch 'feat/Add-support-defaultMapping' into copilot/fix-df8b3…
baywet Sep 30, 2025
14936d6
Merge pull request #26 from BinkyLabs/feat/Add-support-defaultMapping
baywet Sep 30, 2025
e49e0a9
chore: updates benchmark results
baywet Sep 30, 2025
0b42395
Merge branch 'feat/oai-3-2-support' into copilot/fix-df8b3b6b-3cac-4f…
baywet Sep 30, 2025
264eaf8
Merge pull request #29 from BinkyLabs/copilot/fix-df8b3b6b-3cac-4fec-…
baywet Sep 30, 2025
126c86f
chore: adds missing import
baywet Oct 1, 2025
f6a7b9e
Apply suggestions from code review
baywet Oct 1, 2025
df17114
Merge branch 'feat/oai-3-2-support' into copilot/fix-e4662d23-2ea0-4a…
baywet Oct 1, 2025
b50a07d
Initial plan
Copilot Oct 1, 2025
6966be5
Add DataValue and SerializedValue properties to OpenApiExample
Copilot Oct 1, 2025
c39da76
Add serialization and deserialization tests for new OpenApiExample fi…
Copilot Oct 1, 2025
33a219e
Update public API export file for new OpenApiExample properties
Copilot Oct 1, 2025
434cfc0
chore: updates benchmark results
baywet Oct 1, 2025
688fcc5
Rewrite test assertions to use Assert methods instead of FluentAssert…
Copilot Oct 1, 2025
093737e
Initial plan
Copilot Oct 1, 2025
af42279
Add support for mediaType itemSchema property (OAI 3.2.0)
Copilot Oct 1, 2025
1a49d95
Merge pull request #30 from BinkyLabs/copilot/fix-e4662d23-2ea0-4a85-…
baywet Oct 1, 2025
31610db
Merge branch 'feat/oai-3-2-support' into copilot/fix-74a1e771-9ced-4e…
baywet Oct 1, 2025
ccef12b
chore: updates benchmark results
baywet Oct 1, 2025
bb156b8
Merge pull request #31 from BinkyLabs/copilot/fix-74a1e771-9ced-4ec8-…
baywet Oct 1, 2025
e791bf6
add V3.2 properties on OpenApiTag
kilifu Oct 1, 2025
77d2c23
fix serializeAsVX
kilifu Oct 1, 2025
4d780a6
add models/openapitagtests
kilifu Oct 1, 2025
93d8a47
add new v32 properties for Path Items
kilifu Oct 1, 2025
3b3356b
Add support for Cookie Parameter style
kilifu Oct 1, 2025
73c3353
Apply suggestions from code review
baywet Oct 1, 2025
27a986c
Replace FluentAssertions with Assert.Equivalent in MediaType tests
Copilot Oct 1, 2025
3645ba1
Add support for querystring parameter location
kilifu Oct 1, 2025
db49258
public api
kilifu Oct 1, 2025
8480542
test: adds missing unit tests for media type
baywet Oct 1, 2025
0b88c3b
chore: refreshes benchmarks
baywet Oct 1, 2025
9f8bd0f
Merge branch 'feat/oai-3-2-support' into copilot/fix-3c317057-370e-4d…
baywet Oct 1, 2025
bd98ad7
chore: refreshes benchmarks
baywet Oct 1, 2025
6952bfc
Initial plan
Copilot Oct 1, 2025
85697f1
Add itemEncoding and prefixEncoding fields with serialization/deseria…
Copilot Oct 1, 2025
8fd882d
Update PublicApi.approved.txt with new properties
Copilot Oct 1, 2025
ced60c9
Merge pull request #32 from BinkyLabs/copilot/fix-3c317057-370e-4d33-…
baywet Oct 1, 2025
1852b87
Merge branch 'feat/oai-3-2-support' into feat/add-new-fields-tags
baywet Oct 2, 2025
9f0d2c1
Merge branch 'feat/oai-3-2-support' into feat/5-new-fields-path-item
baywet Oct 2, 2025
08f0754
Merge branch 'feat/oai-3-2-support' into feat/6-Add-support-for-Cooki…
baywet Oct 2, 2025
ecfa0c7
chore: removes extraneous file
baywet Oct 2, 2025
3ec086f
Apply suggestions from code review
baywet Oct 2, 2025
7c14e8c
Merge branch 'feat/oai-3-2-support' into feat/7-Add-support-for-query…
baywet Oct 2, 2025
ec9b962
Merge pull request #35 from BinkyLabs/feat/6-Add-support-for-Cookie-P…
baywet Oct 2, 2025
6e5c402
Merge pull request #36 from BinkyLabs/feat/7-Add-support-for-querystr…
baywet Oct 2, 2025
d14936c
chore: use deep equals for json comparison in media type tests
baywet Oct 2, 2025
5d4d684
Merge branch 'feat/oai-3-2-support' into copilot/fix-ea45d0db-41a9-4e…
baywet Oct 2, 2025
65fe644
Initial plan
Copilot Oct 2, 2025
b4eec89
Add deserialization tests for itemEncoding and prefixEncoding fields
Copilot Oct 2, 2025
5f514b5
chore: refreshes benchmarks
baywet Oct 2, 2025
956a47e
Merge branch 'copilot/fix-ea45d0db-41a9-4eb8-ab64-a899005cb84b' of ht…
baywet Oct 2, 2025
46dbfbb
Add OpenApiXmlNodeType enum and update OpenApiXml for OAI 3.2.0
Copilot Oct 2, 2025
61bf18b
chore: removes fields to avoid multi-state issues
baywet Oct 2, 2025
1125d61
fix!: hides the attribute and wrapped properties on the xml node to a…
baywet Oct 2, 2025
c1a3afb
Merge pull request #37 from BinkyLabs/copilot/fix-ea45d0db-41a9-4eb8-…
baywet Oct 2, 2025
d8a9e28
chore: use deep equals for unit tests
baywet Oct 2, 2025
358c921
Merge branch 'feat/oai-3-2-support' into copilot/fix-89dde62e-35c4-4c…
baywet Oct 2, 2025
dd8b848
chore: updates the public api export
baywet Oct 2, 2025
1b57b16
chore: use serialization infrastructure for enums
baywet Oct 2, 2025
161605f
Initial plan
Copilot Oct 2, 2025
31b3821
Add support for media types components in OAS 3.2.0
Copilot Oct 2, 2025
41a231e
Add comprehensive tests for media types components support
Copilot Oct 2, 2025
fdb9548
Merge pull request #38 from BinkyLabs/copilot/fix-89dde62e-35c4-4c9f-…
baywet Oct 2, 2025
66a1f12
ci: adds definitions for support/v2 branch
baywet Oct 2, 2025
50f7fc0
ci: adds missing condition for github releases
baywet Oct 2, 2025
fb5c92f
Merge pull request #40 from BinkyLabs/ci/additional-major-version
baywet Oct 2, 2025
c1a7106
Merge branch 'feat/oai-3-2-support' into copilot/fix-1e80ce48-c500-40…
baywet Oct 2, 2025
9928a7b
chore: partial fix of the walker implementation for media type support
baywet Oct 2, 2025
3461332
Address code review feedback: use inheritdoc and StringComparer.Ordinal
Copilot Oct 2, 2025
b7e91fe
retour PR
kilifu Oct 2, 2025
c7f9120
Merge branch 'feat/add-new-fields-tags' of https://github.com/BinkyLa…
kilifu Oct 2, 2025
02cf2b8
chore: use json node deep equals for comparison
baywet Oct 3, 2025
834e41f
feat: make response request body, header and parameter content refere…
baywet Oct 3, 2025
fda6621
Add media type reference tests for various usage scenarios
Copilot Oct 3, 2025
2837c4a
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
kilifu Oct 3, 2025
60e9b13
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
kilifu Oct 3, 2025
6b99fc0
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
kilifu Oct 3, 2025
c28e858
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
kilifu Oct 3, 2025
9ab8890
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
kilifu Oct 3, 2025
b9976d4
if the Target is a reference, and reference equals this, return null,…
kilifu Oct 3, 2025
ab8286e
Merge branch 'feat/oai-3-2-support' into feat/add-new-fields-tags
baywet Oct 3, 2025
f550dc8
chore: fixes reference comparison
baywet Oct 3, 2025
75b009d
chore: refreshes benchmarks
baywet Oct 3, 2025
b310c6c
Merge pull request #33 from BinkyLabs/feat/add-new-fields-tags
baywet Oct 3, 2025
1d80375
chore: fixes is component information while walking media types
baywet Oct 3, 2025
c574203
fix: content property for header is not getting deserialized v3/3.1/3.2
baywet Oct 3, 2025
c4238b6
feat: implements media types references resolution
baywet Oct 3, 2025
c7d7753
chore: do not serialize media type components in version prior to 3.2
baywet Oct 3, 2025
a10eec7
chore: updates comment
baywet Oct 3, 2025
de83a99
Merge branch 'feat/oai-3-2-support' into copilot/fix-1e80ce48-c500-40…
baywet Oct 3, 2025
86f4e83
chore: avoid serializing media types components for anything bellow v…
baywet Oct 3, 2025
7ebed6d
chore: refreshes benchmarks
baywet Oct 3, 2025
91f51bb
test: adds unit tests for header content property deserialization
baywet Oct 3, 2025
2980d58
Merge branch 'main' into chore/main-to-feat-3-2
baywet Oct 3, 2025
0f84c3e
Merge pull request #42 from BinkyLabs/chore/main-to-feat-3-2
baywet Oct 3, 2025
1cac1a2
move query and AdditionalOperations to OpenApiOperation
kilifu Oct 3, 2025
e3ae554
Merge branch 'feat/5-new-fields-path-item' of https://github.com/Bink…
kilifu Oct 3, 2025
40a22f8
Merge branch 'feat/oai-3-2-support' into feat/5-new-fields-path-item
kilifu Oct 3, 2025
1fc5629
Merge branch 'feat/oai-3-2-support' into copilot/fix-1e80ce48-c500-40…
baywet Oct 3, 2025
b29f5da
chore: adds missing unit tests for 32 after main refresh
baywet Oct 3, 2025
ef540cd
chore: updates outdated comment
baywet Oct 3, 2025
78458e8
test: adds serialization tests for 32 media type reference serialization
baywet Oct 3, 2025
6c5f86f
test: fixes media type inlining behaviour based on settings
baywet Oct 3, 2025
49f3921
feat: implements inlining of referenced media types when serializing …
baywet Oct 3, 2025
13e2ee9
chore: updates public api export
baywet Oct 3, 2025
a256053
chore: reverts some undesired changes
baywet Oct 3, 2025
c1a76e5
Merge pull request #43 from BinkyLabs/chore/missing-v32-tests
baywet Oct 3, 2025
f7dc7ee
feat: adds support for additional operations in OAI 3.2
baywet Oct 3, 2025
d608cdc
chore: linting
baywet Oct 3, 2025
1a104d9
chore: fixes test files for path item additional operations
baywet Oct 3, 2025
c6b1b0e
chore: updates public export
baywet Oct 3, 2025
4801b06
chore: make new unit tests build
baywet Oct 3, 2025
0520443
chore: refactoring
baywet Oct 3, 2025
4f47916
tests: fixes additional operation test file
baywet Oct 3, 2025
fd0c76a
Merge pull request #39 from BinkyLabs/copilot/fix-1e80ce48-c500-4024-…
baywet Oct 3, 2025
71e51ea
tests: fixes test definitions
baywet Oct 3, 2025
cbc2934
fix: do not serialized extraneous operations in v2
baywet Oct 3, 2025
39f300d
tests: fixes unit tests for path item serialization
baywet Oct 3, 2025
30227ef
Merge branch 'feat/oai-3-2-support' into feat/5-new-fields-path-item
baywet Oct 3, 2025
1dbd8bc
chore: disables WPF solution on non windows platforms
baywet Oct 5, 2025
fefec09
test: adds tests for 30 deserialization of path items with extra ops
baywet Oct 5, 2025
0781a89
chore: moves tests definitions to the right location
baywet Oct 5, 2025
49f9560
tests: adds deserialization tests for 3.1 path item extra operations
baywet Oct 5, 2025
396779e
Merge pull request #34 from BinkyLabs/feat/5-new-fields-path-item
baywet Oct 5, 2025
b3967d3
docs: adds the v3 upgrade guide
baywet Oct 5, 2025
01544f9
Merge pull request #45 from BinkyLabs/chore/non-windows
baywet Oct 6, 2025
e29b387
Merge pull request #46 from BinkyLabs/docs/upgrade-guide
baywet Oct 6, 2025
e964e9a
docs: adds guidance regarding branches
baywet Oct 7, 2025
0468d5c
Merge branch 'main' into chore/main-to-feat-3-2
baywet Oct 7, 2025
79b8df9
chore: use linq where possible
baywet Oct 7, 2025
53face2
chore: reworks enum version switch
baywet Oct 7, 2025
54ebe44
Initial plan
Copilot Oct 9, 2025
aebb9db
Add encoding Dictionary field to OpenApiEncoding class for OpenAPI 3.…
Copilot Oct 9, 2025
a584014
Add itemEncoding and prefixEncoding properties, fix version checks fo…
Copilot Oct 9, 2025
c27dd93
Merge pull request #48 from BinkyLabs/docs/contributing-updates
baywet Oct 9, 2025
0d124c2
Merge pull request #49 from BinkyLabs/chore/main-to-feat-3-2
baywet Oct 9, 2025
e6da67f
Merge pull request #50 from BinkyLabs/chore/pr-automated-feedback
baywet Oct 9, 2025
4c8a380
Apply suggestions from code review
baywet Oct 9, 2025
865295a
Apply suggestions from code review
baywet Oct 9, 2025
54f10eb
test: reverts yaml parsing to json
baywet Oct 9, 2025
82552fe
chore: refreshes benchmarks
baywet Oct 10, 2025
aae50eb
Merge pull request #52 from BinkyLabs/copilot/add-encoding-object-fields
baywet Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ trigger:
include:
- main
- support/v1
- support/v2
tags:
include:
- 'v*'
Expand All @@ -15,6 +16,7 @@ pr:
include:
- main
- support/v1
- support/v2

variables:
buildPlatform: 'Any CPU'
Expand Down Expand Up @@ -307,6 +309,7 @@ extends:
publishFeedCredentials: 'OpenAPI Nuget Connection'

- deployment: create_github_release
condition: and(contains(variables['build.SourceBranch'], 'refs/tags/v'), succeeded())
templateContext:
type: releaseJob
isProduction: true
Expand Down
36 changes: 36 additions & 0 deletions .github/policies/OpenAPI.NET-branch-protection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,39 @@ configuration:
# Restrict who can dismiss pull request reviews. boolean
restrictsReviewDismissals: false

- branchNamePattern: support/v2
# This branch pattern applies to the following branches as of approximately 02/27/2025 15:28:20:
# support/v1

# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
# Specifies whether forced pushes are allowed on this branch. boolean
allowsForcePushes: false
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
dismissStaleReviews: true
# Specifies whether admins can overwrite branch protection. boolean
isAdminEnforced: true
# Indicates whether "Require a pull request before merging" is enabled. boolean
requiresPullRequestBeforeMerging: true
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
requiredApprovingReviewsCount: 1
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
requireCodeOwnersReview: true
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
requiresCommitSignatures: false
# Are conversations required to be resolved before merging? boolean
requiresConversationResolution: true
# Are merge commits prohibited from being pushed to this branch. boolean
requiresLinearHistory: false
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
requiredStatusChecks:
- license/cla
- CodeQL
- Continuous Integration
# Require branches to be up to date before merging. boolean
requiresStrictStatusChecks: false
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
restrictsPushes: false
# Restrict who can dismiss pull request reviews. boolean
restrictsReviewDismissals: false

54 changes: 54 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Pull Request

<!--
Thank you for contributing to OpenAPI.NET!
Please fill out the template below to help us review your pull request.
-->

## Description
<!-- Provide a brief description of your changes -->

## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Other (please describe):

## Related Issue(s)
<!-- Link to any related issues using "Fixes #123" or "Closes #123" -->

## Changes Made
<!-- List the main changes made in this PR -->
-
-
-

## Testing
<!-- Describe how you tested your changes -->
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] All existing tests pass

## Checklist
<!-- Mark completed items with an "x" -->
- [ ] My code follows the code style of this project
- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes

## Versions applicability

- [ ] My change applies to the version 1.X of the library, if so PR link:
- [ ] My change applies to the version 2.X of the library, if so PR link:
- [ ] My change applies to the version 3.X of the library, if so PR link:
- [ ] I have evaluated the applicability of my change against the other versions above.

See [the contributing guidelines](https://github.com/microsoft/OpenAPI.NET/blob/main/CONTRIBUTING.md) for more information about how patches are applied across multiple versions.

## Additional Notes
<!-- Add any additional information that reviewers should know -->
3 changes: 3 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ primaryBranch: main
handleGHRelease: true
branches:
- branch: support/v1
manifest: true
handleGHRelease: true
- branch: support/v2
manifest: true
handleGHRelease: true
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CodeQL Analysis

on:
push:
branches: [ main, support/v1 ]
branches: [ main, support/v1, support/v2 ]
pull_request:
schedule:
- cron: '0 8 * * *'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-please-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
branches:
- main
- support/v1
- support/v2

jobs:
release:
Expand Down
26 changes: 25 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,31 @@ The best way to get started with a contribution is to start a dialog with the ow

## Submit pull requests for bug fixes and features

Feel free to submit a pull request with a linked issue against the __main__ branch. The main branch will be updated frequently.
Feel free to submit a pull request with a linked issue.

### Branches and support policy

Because one major consumer of these libraries is ASP.net, the support policy of this repository is aligned with [dotnet support policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core#lifecycle).

The following table outlines the mapping between package major versions, dotnet versions, and which contributions are accepted. As a consumer, make sure the version of this library your application is using is aligned with the version of ASP.net described in the table below.

| Major version | Branch | Supported ASP.NET versions | Supported OpenAPI versions | Changes provided by Microsoft | Accepted contributions | End of support date |
| ------------- | ---------- | -------------------------- | -------------------------- | ------------------------------------------- | ------------------------------------------- | --------------- |
| 1.X | support/v1 | < 10 | 2.0, 3.0 | security fixes | security and bugfixes | net 9 (Nov 2026) |
| 2.X | support/v2 | = 10 * | 2.0, 3.0, 3.1 | security and bugfixes | security and bugfixes | net 10 (Nov 2028) * |
| 3.X | main | not available | 2.0, 3.0, 3.1, 3.2 | security, bugfixes and feature improvements | security, bugfixes and feature improvements | TBD ** |

> Notes:
>
> * This assumes that NET 11 and above will adopt version 3 or above of this library, otherwise, it'd expand the support date for version 2 of this library.
> ** This will be conditioned by new releases of OpenAPI, this library, asp.net and asp.net's adoptions of new versions of this library.

### Multi-versions requirement for contributions

When contributing to the library, start by making a contribution to the main branch first, or the uppermost version it applies to. During the review process you'll be asked to demonstrate your contribution cannot apply to prior versions or to port your contribution to the branches for prior versions before the initial pull request can get merged.

This approach helps maintain a similar behavior across all versions under active support.

## Commit message format

To support our automated release process, pull requests are required to follow the [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/)
Expand Down
Loading
Loading