Skip to content

Tags: ByteBardOrg/AsyncAPI.NET

Tags

v2.1.2

Toggle v2.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

v2.1.1

Toggle v2.1.1's commit message

Verified

This commit was signed with the committer’s verified signature.
VisualBean Alex Wichmann
fix: large number parsing and add non-negative validation.

There is an issue where the deserializer throws due to the int.parse if specs contain large numbers.
at the same time we are fixing a validation issue for jsonSchema where the min/max properties should be non-negative

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: update release permissions

Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>

v2.0.1

Toggle v2.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
VisualBean Alex Wichmann
fix: readd netstandard target to ensure source generator compat

also added polyfills for language features missing in netstandard2.0

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update release-package.yml

Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>

v1.0.1

Toggle v1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: update release-package.yml

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
VisualBean Alex Wichmann
ci: ensure build and versions align.