public override void Parse(OpenApiObject data, IEndpointParser parser) { base.Parse(data, parser); RequestSchema = data.GetSchema("request-schema"); ResponseSchema = data.GetSchema("response-schema"); }
public override void Parse(OpenApiObject data, IEndpointParser parser) { base.Parse(data, parser); Schema = data.GetSchema("schema"); Separator = data.GetString("separator"); }
public override void Parse(OpenApiObject data, IEndpointParser parser) { base.Parse(data, parser); Schema = data.GetSchema("schema"); if (data.TryGetObject("element", out var element)) { Element = parser.Parse(element, defaultKind: "element") as ElementEndpoint; } }
public override void Parse(OpenApiObject data, IEndpointsParser parser) { base.Parse(data, parser); Schema = data.GetSchema("schema"); }