tesses-webserver-extras/Tesses.WebServer.SwagmeTest/JsonClasses.cs

16 lines
386 B
C#
Raw Permalink Normal View History

2023-01-21 02:01:51 +00:00
public class ExampleRequest
{
public int NumberOfTimes {get;set;}=42;
public string Name {get;set;}="Demetria";
public string BeforeNumber {get;set;}="Drops a computer";
public string AfterNumber {get;set;}="Times";
}
public class ExampleResponse
{
public string YourMessage {get;set;}="Demetria Drops a Computer 42 Times";
public int Number {get;set;}=42;
}