Skip to content

Commit 42f01a7

Browse files
bieluclaude
andcommitted
chore: drop nullable annotations outside a nullable context (CS8632)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2bb38df commit 42f01a7

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/ByteBard.AsyncAPI.Bindings/Sns/Statement.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Statement : IAsyncApiExtensible
2626
/// <summary>
2727
/// The resource(s) that this policy applies to.
2828
/// </summary>
29-
public StringOrStringList? Resource { get; set; }
29+
public StringOrStringList Resource { get; set; }
3030

3131
/// <summary>
3232
/// Specific circumstances under which the policy grants permission.

‎src/ByteBard.AsyncAPI.Bindings/Sqs/Statement.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Statement : IAsyncApiExtensible
2626
/// <summary>
2727
/// The resource(s) that this policy applies to.
2828
/// </summary>
29-
public StringOrStringList? Resource { get; set; }
29+
public StringOrStringList Resource { get; set; }
3030

3131
/// <summary>
3232
/// Specific circumstances under which the policy grants permission.

‎src/ByteBard.AsyncAPI.Readers/AsyncApiReaderSettings.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public ICollection<IBindingParser<IBinding>>
7373
/// <summary>
7474
/// Uri where relative references should be resolved from when using the External Reference Loader.
7575
/// </summary>
76-
public Uri? BaseUri { get; set; }
76+
public Uri BaseUri { get; set; }
7777

7878
/// <summary>
7979
/// External reference reader implementation provided by users for reading external resources.

‎src/ByteBard.AsyncAPI/Models/AsyncApiChannel.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class AsyncApiChannel : IAsyncApiSerializable, IAsyncApiExtensible
1515
/// <summary>
1616
/// An optional string representation of this channel's address. The address is typically the "topic name", "routing key", "event type", or "path". When null or absent, it MUST be interpreted as unknown. This is useful when the address is generated dynamically at runtime or can't be known upfront. It MAY contain Channel Address Expressions. Query parameters and fragments SHALL NOT be used, instead use bindings to define them.
1717
/// </summary>
18-
public virtual string? Address { get; set; }
18+
public virtual string Address { get; set; }
1919

2020
/// <summary>
2121
/// A map of the messages that will be sent to this channel by any application at any time. Every message sent to this channel MUST be valid against one, and only one, of the message objects defined in this map.

0 commit comments

Comments
 (0)