public void WriteOpenApiNullAsJsonWorks() { // Arrange var nullValue = new OpenApiNull(); var json = WriteAsJson(nullValue); // Assert json.Should().Be("null"); }
public void WriteOpenApiNullAsJsonWorks(bool produceTerseOutput) { // Arrange var nullValue = new OpenApiNull(); var json = WriteAsJson(nullValue, produceTerseOutput); // Assert json.Should().Be("null"); }
public QueryStringParameterAttribute(string name, string description) { Initialise(name, description); Example = new OpenApiNull(); }