@typespec/http 0.57.0-dev.0 → 0.57.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -405,7 +405,7 @@ it will be used as a prefix to the route URI of the operation.
405
405
  `@route` can only be applied to operations, namespaces, and interfaces.
406
406
 
407
407
  ```typespec
408
- @TypeSpec.Http.route(path: valueof string, options?: (anonymous model))
408
+ @TypeSpec.Http.route(path: valueof string, options?: { shared: boolean })
409
409
  ```
410
410
 
411
411
  ##### Target
package/lib/auth.tsp CHANGED
@@ -111,7 +111,7 @@ model ApiKeyAuth<Location extends ApiKeyLocation, Name extends string> {
111
111
  * @template Scopes The list of OAuth2 scopes, which are common for every flow from `Flows`. This list is combined with the scopes defined in specific OAuth2 flows.
112
112
  */
113
113
  @doc("")
114
- model OAuth2Auth<Flows extends OAuth2Flow[], Scopes extends valueof string[] = []> {
114
+ model OAuth2Auth<Flows extends OAuth2Flow[], Scopes extends string[] = []> {
115
115
  @doc("OAuth2 authentication")
116
116
  type: AuthType.oauth2;
117
117
 
@@ -212,7 +212,7 @@ model ClientCredentialsFlow {
212
212
  * https://server.com/.well-known/openid-configuration
213
213
  * ```
214
214
  */
215
- model OpenIdConnectAuth<ConnectUrl extends valueof string> {
215
+ model OpenIdConnectAuth<ConnectUrl extends string> {
216
216
  /** Auth type */
217
217
  type: AuthType.openIdConnect;
218
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http",
3
- "version": "0.57.0-dev.0",
3
+ "version": "0.57.0-dev.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec HTTP protocol binding",
6
6
  "homepage": "https://github.com/microsoft/typespec",