Table of Contents

Class PathParameters

Namespace
Olve.TypeSpec
Assembly
Olve.TypeSpec.dll

Route-value helpers the generated binding uses.

public static class PathParameters
Inheritance
PathParameters
Inherited Members

Methods

CatchAll(string)

A {+path} (catch-all) value: the server decodes every escape in a path except %2F, and OpenAPI can't express reserved expansion, so generated clients send a%2Fb where a browser link sends a/b. Both mean the same path. The server removes . and .. segments before routing but not ones hidden behind %2F, so a value that decodes to one is a binding failure rather than a path that climbs out of its prefix.

public static string CatchAll(string value)

Parameters

value string

Returns

string