Bumped package version to 1.4.5 and modified ClientGenerator to include System.Net assembly as a DotNet type.

This commit is contained in:
2023-03-30 10:36:51 -07:00
parent 71941f5dd0
commit 4bc388d86b
3 changed files with 32 additions and 10 deletions

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using FluentAssertions;
using MontoyaTech.Rest.Net;
using System.Net;
namespace Rest.Net.Tests
{
public class RestClientGeneratorTests
{
[Fact]
public void RestClientGenerator_HttpStatusCode_Should_BeSystemType()
{
var generator = new RestClientGenerator();
generator.IsTypeDotNet(typeof(HttpStatusCode)).Should().BeTrue();
}
}
}