Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AllowReserved in Path #1318

Open
8 of 11 tasks
lmazuel opened this issue Aug 7, 2024 · 1 comment
Open
8 of 11 tasks

Support AllowReserved in Path #1318

lmazuel opened this issue Aug 7, 2024 · 1 comment

Comments

@lmazuel
Copy link
Member

lmazuel commented Aug 7, 2024

Support:

@route("/c1/here") op c1(@path(#{ allowReserved: true }) path: string): void;

to mean that the path parameter should be escaped (skip url encoding)

TypeSpec

  1. compiler:core deprecation design:accepted lib:http
    archerzz timotheeguerin

Spec

  1. docs lib:tcgc
    tadelesh

Implementation

  1. lib:tcgc
    tadelesh
  2. tadelesh
  3. weidongxu-microsoft
  4. 1 of 3
    HRLC RLC p0
    MaryGao
  5. DPG DPG/RLC v2.1
    pshao25
  6. tadelesh
@tadelesh
Copy link
Member

tadelesh commented Aug 8, 2024

also this feature could cover the following uri template case:

@route("/{+scope}/action") op action(scope: string): void;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants