-
-
Notifications
You must be signed in to change notification settings - Fork 3
Comparing changes
Open a pull request
base repository: ByteBardOrg/AsyncAPI.NET
base: test
head repository: ByteBardOrg/AsyncAPI.NET
compare: vnext
- 12 commits
- 67 files changed
- 5 contributors
Commits on Dec 7, 2025
-
fix: try read relative uri's as files. (#21)
* Fix: Try read relative uri's as files. Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Update src/ByteBard.AsyncAPI.Readers/Services/DefaultStreamLoader.cs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Refactor method signatures to include `baseUri` parameter Updated all methods in `IStreamLoader`, `DefaultStreamLoader`, and related tests to accept both `baseUri` and `uri`. Added a new property `BaseUri` to `AsyncApiReaderSettings` for resolving relative references. Adjusted the implementation of external reference loading in `AsyncApiJsonDocumentReader`. --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 07d912d - Browse repository at this point
Copy the full SHA 07d912dView commit details -
fix: nullref on walking optional reply property refs (#23)
* Fix: Try read relative uri's as files. Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Update src/ByteBard.AsyncAPI.Readers/Services/DefaultStreamLoader.cs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Apply suggestion from @VisualBean Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Refactor method signatures to include `baseUri` parameter Updated all methods in `IStreamLoader`, `DefaultStreamLoader`, and related tests to accept both `baseUri` and `uri`. Added a new property `BaseUri` to `AsyncApiReaderSettings` for resolving relative references. Adjusted the implementation of external reference loading in `AsyncApiJsonDocumentReader`. * Refactor `AsyncApiWalker` to ensure null checks before walking references Added explicit null checks for `reply.Address` and `reply.Channel`. This prevents potential NullReferenceException when these properties are not initialized. This change ensures that the walker safely handles cases where optional fields might be missing, improving robustness of the code. --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7085d23 - Browse repository at this point
Copy the full SHA 7085d23View commit details
Commits on Feb 11, 2026
-
* upgrade to 3.1.0 * Delete .todo directory Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1985b38 - Browse repository at this point
Copy the full SHA 1985b38View commit details -
fix: add
ApplicableVersionsproperty to validation rules (#25)* Add `ApplicableVersions` property to validation rules Added a new public property `AsyncApiVersion[] ApplicableVersions` in the base class `ValidationRule`. Updated existing rule classes (`OperationRequiredFields`, etc.) with `[AsyncApiVersionRule]` attributes. Modified `ValidationRuleSet` to set applicable versions for each rule based on custom attribute. * Update test/ByteBard.AsyncAPI.Tests/Validation/ValidationRuleTests.cs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * fix coderabbit fubar * refactor validate to keep version --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5e4ed51 - Browse repository at this point
Copy the full SHA 5e4ed51View commit details
Commits on Feb 15, 2026
-
refactor(bindings)!: binding serialization for AsyncAPI v2/v3 (#27)
* Refactors binding serialization for AsyncAPI v2/v3 Consolidates binding serialization logic for AsyncAPI v2 and v3. The change introduces `SerializeV2` and `SerializeV3` methods in binding classes, deprecating the old `SerializeProperties` to streamline the serialization process. Additionally, it adds a `SerializationContext` to the `AsyncApiWorkspace` to enable bindings to access parent context during serialization. This addresses inconsistencies in binding serialization across different AsyncAPI versions, and allows http bindings to serialize according to the spec. * Update src/ByteBard.AsyncAPI.Bindings/Http/HttpMessageBinding.cs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Update src/ByteBard.AsyncAPI/Models/AsyncApiChannel.cs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7cea38b - Browse repository at this point
Copy the full SHA 7cea38bView commit details
Commits on Feb 25, 2026
-
fix: small adjustments in deserialization validation (#29)
* Small adjustments in deserialization validation * fix: correct validation rules for v2 * fix: remove redudant rule * fix: add v3 host property to map There is bug that validation parse v2 twice, it causes url to be already mapped to host which cause issues. As dirty fix i added 2 properties related to v3... * Revert "fix: add v3 host property to map" This reverts commit df52c06. * fix: add server to components * fix: solve variable conflict * fix: make sure nesting is correct * fix: correcred reference name
Configuration menu - View commit details
-
Copy full SHA for eeb9d8f - Browse repository at this point
Copy the full SHA eeb9d8fView commit details
Commits on Jun 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 46671f6 - Browse repository at this point
Copy the full SHA 46671f6View commit details -
Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a27618 - Browse repository at this point
Copy the full SHA 5a27618View commit details -
fix(avro)!: support named type references (#32)
* feat: add Obfuscan workflow for pull requests Adds a new job named Obfuscan to the CI workflow to scan the pull request diff using the ByteBardOrg/obfuscan-action. This job runs only when a pull request is opened, and it uses the head SHA of the pull request to check for potential issues in the code changes before the main build proceeds. * fix(avro)!: support named type references Adds Avro-specific named type handling for schemas that reference previously defined records, enums, or fixed types by name. Introduces `AvroNamedType`, keeps AsyncAPI `$ref` handling unchanged, supports recursive schemas like `LongList`, and widens map `values` to accept any Avro schema instead of only primitive types. Existing construction with `AvroPrimitiveType` is preserved through the existing implicit conversion to `AsyncApiAvroSchema`, and primitive schema values can be converted back with an explicit cast. BREAKING CHANGE: `AvroMap.Values` now uses `AsyncApiAvroSchema` instead of `AvroPrimitiveType`. * refactor: error and warning collection in document reader Changed how validation errors and warnings are added to the diagnostic collection. Previously, all items from the validation result were iterated over. This change explicitly separates the handling of AsyncApiValidatorError into diagnostic.Errors and AsyncApiValidatorWarning into diagnostic.Warnings, ensuring correct categorization of validation feedback. * docs: add schema wiki page * remove docs file
Configuration menu - View commit details
-
Copy full SHA for 310868a - Browse repository at this point
Copy the full SHA 310868aView commit details -
build: update build .net build targets (#33)
* build: update build .net build targets * reset ci.yml
Configuration menu - View commit details
-
Copy full SHA for 723a99d - Browse repository at this point
Copy the full SHA 723a99dView commit details -
Potential fix for code scanning alert no. 4: Workflow does not contai…
…n permissions (#34) Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d60f7c1 - Browse repository at this point
Copy the full SHA d60f7c1View commit details
Commits on Jun 21, 2026
-
Update description in .asyncapi-tool file
Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5935b76 - Browse repository at this point
Copy the full SHA 5935b76View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff test...vnext