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

16 lines
386 B
C#

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;
}