Class MockCrudRoute

Namespace
Kuestenlogik.Bowire.Mocking
Assembly
Kuestenlogik.Bowire.dll

A REST resource over a MockDataBucket (#1096). For an array bucket, Path is the collection (GET, POST, PUT, DELETE) and Path/{id} a record (GET, PUT, PATCH, DELETE); for an object bucket, Path answers GET, PUT, PATCH and DELETE on the whole.

public sealed class MockCrudRoute
Inheritance
MockCrudRoute
Inherited Members

Constructors

MockCrudRoute()

public MockCrudRoute()

Properties

Bucket

The bucket it reads and writes.

[JsonPropertyName("bucket")]
public string Bucket { get; set; }

Property Value

string

Path

The collection path, e.g. /api/users.

[JsonPropertyName("path")]
public string Path { get; set; }

Property Value

string