Generate C# code from Mapping (#842)

* 1

* .

* v

* .

* .

* -

* b

* res b

* Fix UT

* .

* Verify

* v

* ...

* .

* .

* dir

* m
This commit is contained in:
Stef Heyenrath
2023-01-24 16:45:47 +01:00
committed by GitHub
parent b4c8779d68
commit 770a670e53
83 changed files with 3792 additions and 2942 deletions

View File

@@ -0,0 +1,16 @@
{
Request: {
ClientIP: ::1,
Path: /,
AbsolutePath: /,
Url: http://localhost/,
AbsoluteUrl: http://localhost/,
Method: post,
BodyAsBytes: AA==,
DetectedBodyType: Bytes
},
Response: {
BodyAsBytes: AA==,
DetectedBodyType: Bytes
}
}

View File

@@ -0,0 +1,14 @@
{
Request: {
ClientIP: ::1,
Path: /,
AbsolutePath: /,
Url: http://localhost/,
AbsoluteUrl: http://localhost/,
Method: get
},
Response: {
BodyAsFile: test,
DetectedBodyType: File
}
}

View File

@@ -0,0 +1,16 @@
{
Request: {
ClientIP: ::1,
Path: /,
AbsolutePath: /,
Url: http://localhost/,
AbsoluteUrl: http://localhost/,
Method: post,
BodyAsBytes: AA==,
DetectedBodyType: Bytes
},
Response: {
Body: Func<IRequestMessage, string>,
DetectedBodyType: String
}
}

View File

@@ -0,0 +1,16 @@
{
Request: {
ClientIP: ::1,
Path: /,
AbsolutePath: /,
Url: http://localhost/,
AbsoluteUrl: http://localhost/,
Method: get
},
Response: {
BodyAsFile: test,
DetectedBodyType: File,
FaultType: EMPTY_RESPONSE,
FaultPercentage: 0.5
}
}