Add Settings.QueryParameterMultipleValueSupport (#836)

* QueryParameterMultipleValueSupport

* .

* ,

* ,
This commit is contained in:
Stef Heyenrath
2022-11-08 19:27:44 +01:00
committed by GitHub
parent 1e44f52ad6
commit ef5f988786
33 changed files with 1387 additions and 1235 deletions

View File

@@ -1,20 +1,19 @@
namespace WireMock.Net.OpenApiParser.Types
namespace WireMock.Net.OpenApiParser.Types;
/// <summary>
/// The example value to use
/// </summary>
public enum ExampleValueType
{
/// <summary>
/// The example value to use
/// 1. Use a generated example value based on the SchemaType (default).
/// 2. If there is no example value defined in the schema,
/// then the <see cref="Settings.IWireMockOpenApiParserExampleValues"/> will be used (custom, fixed or dynamic).
/// </summary>
public enum ExampleValueType
{
/// <summary>
/// 1. Use a generated example value based on the SchemaType (default).
/// 2. If there is no example value defined in the schema,
/// then the <see cref="Settings.IWireMockOpenApiParserExampleValues"/> will be used (custom, fixed or dynamic).
/// </summary>
Value,
Value,
/// <summary>
/// Just use a Wildcard (*) character.
/// </summary>
Wildcard
}
/// <summary>
/// Just use a Wildcard (*) character.
/// </summary>
Wildcard
}

View File

@@ -1,25 +1,24 @@
namespace WireMock.Net.OpenApiParser.Types
namespace WireMock.Net.OpenApiParser.Types;
internal enum SchemaFormat
{
internal enum SchemaFormat
{
Float,
Float,
Double,
Double,
Int32,
Int32,
Int64,
Int64,
Date,
Date,
DateTime,
DateTime,
Password,
Password,
Byte,
Byte,
Binary,
Binary,
Undefined
}
Undefined
}

View File

@@ -1,21 +1,20 @@
namespace WireMock.Net.OpenApiParser.Types
namespace WireMock.Net.OpenApiParser.Types;
internal enum SchemaType
{
internal enum SchemaType
{
Object,
Object,
Array,
Array,
String,
String,
Integer,
Integer,
Number,
Number,
Boolean,
Boolean,
File,
File,
Unknown
}
Unknown
}