Skip to content

Do not return a body for no content responses (#644) #1977

Do not return a body for no content responses (#644)

Do not return a body for no content responses (#644) #1977

Triggered via push February 27, 2025 15:29
Status Success
Total duration 2m 37s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: API/Infrastructure/BuilderMissingPropertyException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'BuilderMissingPropertyException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Infrastructure/BindingException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'BindingException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Protocol/ProtocolException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'ProtocolException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Protocol/ResponseStatus.cs#L78
Remove or rename this enum member. (https://rules.sonarsource.com/csharp/RSPEC-4016)
build: API/Content/ProviderException.cs#L11
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'ProviderException(SerializationInfo, StreamingContext)'. Override 'GetObjectData(SerializationInfo, StreamingContext)' and serialize '<Modifications>k__BackingField'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Infrastructure/BuilderMissingPropertyException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'BuilderMissingPropertyException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Infrastructure/BindingException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'BindingException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Protocol/ProtocolException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'ProtocolException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: API/Protocol/ResponseStatus.cs#L78
Remove or rename this enum member. (https://rules.sonarsource.com/csharp/RSPEC-4016)
build: API/Content/ProviderException.cs#L11
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'ProviderException(SerializationInfo, StreamingContext)'. Override 'GetObjectData(SerializationInfo, StreamingContext)' and serialize '<Modifications>k__BackingField'. (https://rules.sonarsource.com/csharp/RSPEC-3925)