@typespec/http 0.48.0-dev.4 → 0.48.0-dev.5

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
@@ -423,7 +423,7 @@ op create(): {@statusCode: 201 | 202}
423
423
 
424
424
  #### `@useAuth`
425
425
 
426
- Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
426
+ Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details.
427
427
 
428
428
  ```typespec
429
429
  @TypeSpec.Http.useAuth(auth: {} | Union | {}[])
@@ -20,7 +20,7 @@ export declare function listHttpOperationsIn(program: Program, container: Operat
20
20
  export declare function getAllHttpServices(program: Program, options?: RouteResolutionOptions): [HttpService[], readonly Diagnostic[]];
21
21
  export declare function getHttpService(program: Program, serviceNamespace: Namespace, options?: RouteResolutionOptions): [HttpService, readonly Diagnostic[]];
22
22
  /**
23
- * @deprecated use `getAllHttpServices` or `resolveHttpOperations` manually
23
+ * @deprecated use `getAllHttpServices` instead
24
24
  */
25
25
  export declare function getAllRoutes(program: Program, options?: RouteResolutionOptions): [HttpOperation[], readonly Diagnostic[]];
26
26
  export declare function reportIfNoRoutes(program: Program, routes: HttpOperation[]): void;
@@ -53,7 +53,7 @@ export function getHttpService(program, serviceNamespace, options) {
53
53
  return diagnostics.wrap(service);
54
54
  }
55
55
  /**
56
- * @deprecated use `getAllHttpServices` or `resolveHttpOperations` manually
56
+ * @deprecated use `getAllHttpServices` instead
57
57
  */
58
58
  export function getAllRoutes(program, options) {
59
59
  const [services, diagnostics] = getAllHttpServices(program, options);
@@ -202,7 +202,7 @@ extern dec server(
202
202
  );
203
203
 
204
204
  /**
205
- * Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
205
+ * Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details.
206
206
  *
207
207
  * @param auth Authentication configuration. Can be a single security scheme, a union(either option is valid authentication) or a tuple(Must use all authentication together)
208
208
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http",
3
- "version": "0.48.0-dev.4",
3
+ "version": "0.48.0-dev.5",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec HTTP protocol binding",
6
6
  "homepage": "https://github.com/microsoft/typespec",