Timothee Guerin
Timothee Guerin
query and path were updated to support uri template way of setting options `@header` remains with `format:` and taking a model instead of an object value.
Similar to how we have that for linter rules each diagnositc should be able to define their documentation url. With this PR https://github.com/microsoft/typespec/pull/4141 this would allow user to dig into...
2nd part of the migration Currently it emit a warning if you use the new value world in your decorator but don't have the $flags decoratorArgMarshalling set to `new` We...
If you have both of those they get treated differently ```tsp op a(@header contentType: "application/json;charset=utf-8", @body body: bytes): void; op b(@header contentType: "application/json", @body body: bytes): void; ``` in the...
To be able to use our extension on `vscode.dev` we need to make it a web extension Doc: https://code.visualstudio.com/api/extension-guides/web-extensions Example for LSP: https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-web-extension-sample There is also the issue that our...
Eslint vscode extension has this `SHow documentation` popup PR https://github.com/microsoft/typespec/pull/4141#event-13851423007 already added the link to the diagnostic but this could provide a more explicit option when clicking the code actions...
[Playground Link](https://cadlplayground.z22.web.core.windows.net/?c=ZW51bSBWaXNpIHsKICByZWFkLAp9CgoKbW9kZWwgRm9vxRhAdmlzaWJpbGl0eSjELS7EKSkKICBwcm9wOiBzdHJpbmc7Cn0%3D&e=%40typespec%2Fopenapi3&options=%7B%7D) Things to think about: - what to we do with existing string value(deprecate?) - change the api to use union? `@visibility(HttpVis.read | HttpVis.write)` - multiple `@visibility` does it...
This code should be valid ``` alias A = { a?: B; }; model B { b?: A; } ``` [Playground Link](https://typespec.io/playground?c=YWxpYXMgQSA9IHsKICBhPzogQjsKfTsKCm1vZGVsIELFF2I%2FOiBBOwp9Cg%3D%3D&e=%40typespec%2Fopenapi3&options=%7B%7D)