mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-19 07:43:48 +01:00
An OpenApi (swagger) parser to generate MappingModel or mapping.json file (#479)
* wip * . * . * nuget * . * . * WithMappingModel * tests * json * codefactor * sign * . * interface * sln * comments
This commit is contained in:
25
src/WireMock.Net.OpenApiParser/Types/SchemaFormat.cs
Normal file
25
src/WireMock.Net.OpenApiParser/Types/SchemaFormat.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace WireMock.Net.OpenApiParser.Types
|
||||
{
|
||||
internal enum SchemaFormat
|
||||
{
|
||||
Float,
|
||||
|
||||
Double,
|
||||
|
||||
Int32,
|
||||
|
||||
Int64,
|
||||
|
||||
Date,
|
||||
|
||||
DateTime,
|
||||
|
||||
Password,
|
||||
|
||||
Byte,
|
||||
|
||||
Binary,
|
||||
|
||||
Undefined
|
||||
}
|
||||
}
|
||||
21
src/WireMock.Net.OpenApiParser/Types/SchemaType.cs
Normal file
21
src/WireMock.Net.OpenApiParser/Types/SchemaType.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace WireMock.Net.OpenApiParser.Types
|
||||
{
|
||||
internal enum SchemaType
|
||||
{
|
||||
Object,
|
||||
|
||||
Array,
|
||||
|
||||
String,
|
||||
|
||||
Integer,
|
||||
|
||||
Number,
|
||||
|
||||
Boolean,
|
||||
|
||||
File,
|
||||
|
||||
Unknown
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user