Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ByteBardOrg/AsyncAPI.NET
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: test
Choose a base ref
...
head repository: ByteBardOrg/AsyncAPI.NET
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: vnext
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 67 files changed
  • 5 contributors

Commits on Dec 7, 2025

  1. 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>
    VisualBean and coderabbitai[bot] authored Dec 7, 2025
    Configuration menu
    Copy the full SHA
    07d912d View commit details
    Browse the repository at this point in the history
  2. 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>
    VisualBean and coderabbitai[bot] authored Dec 7, 2025
    Configuration menu
    Copy the full SHA
    7085d23 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2026

  1. chore: upgrade to 3.1.0 (#26)

    * 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>
    VisualBean authored Feb 11, 2026
    Configuration menu
    Copy the full SHA
    1985b38 View commit details
    Browse the repository at this point in the history
  2. fix: add ApplicableVersions property 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>
    VisualBean and coderabbitai[bot] authored Feb 11, 2026
    Configuration menu
    Copy the full SHA
    5e4ed51 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2026

  1. 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>
    VisualBean and coderabbitai[bot] authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    7cea38b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2026

  1. 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
    bielu authored Feb 25, 2026
    Configuration menu
    Copy the full SHA
    eeb9d8f View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2026

  1. Configuration menu
    Copy the full SHA
    46671f6 View commit details
    Browse the repository at this point in the history
  2. Update ci.yml

    Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
    VisualBean authored Jun 8, 2026
    Configuration menu
    Copy the full SHA
    5a27618 View commit details
    Browse the repository at this point in the history
  3. 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
    VisualBean authored Jun 8, 2026
    Configuration menu
    Copy the full SHA
    310868a View commit details
    Browse the repository at this point in the history
  4. build: update build .net build targets (#33)

    * build: update build .net build targets
    
    * reset ci.yml
    VisualBean authored Jun 8, 2026
    Configuration menu
    Copy the full SHA
    723a99d View commit details
    Browse the repository at this point in the history
  5. 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
    Copy the full SHA
    d60f7c1 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2026

  1. Update description in .asyncapi-tool file

    Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
    VisualBean authored Jun 21, 2026
    Configuration menu
    Copy the full SHA
    5935b76 View commit details
    Browse the repository at this point in the history
Loading