@typespec/http 0.67.0-dev.5 → 0.67.0-dev.6

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.
@@ -43,7 +43,7 @@ export interface HttpAuthBase {
43
43
  */
44
44
  export interface BasicAuth extends HttpAuthBase {
45
45
  type: "http";
46
- scheme: "basic";
46
+ scheme: "Basic";
47
47
  }
48
48
  /**
49
49
  * Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
@@ -55,7 +55,7 @@ export interface BasicAuth extends HttpAuthBase {
55
55
  */
56
56
  export interface BearerAuth extends HttpAuthBase {
57
57
  type: "http";
58
- scheme: "bearer";
58
+ scheme: "Bearer";
59
59
  }
60
60
  type ApiKeyLocation = "header" | "query" | "cookie";
61
61
  /**
package/lib/auth.tsp CHANGED
@@ -32,7 +32,7 @@ model BasicAuth {
32
32
  type: AuthType.http;
33
33
 
34
34
  @doc("basic auth scheme")
35
- scheme: "basic";
35
+ scheme: "Basic";
36
36
  }
37
37
 
38
38
  /**
@@ -49,7 +49,7 @@ model BearerAuth {
49
49
  type: AuthType.http;
50
50
 
51
51
  @doc("bearer auth scheme")
52
- scheme: "bearer";
52
+ scheme: "Bearer";
53
53
  }
54
54
 
55
55
  @doc("Describes the location of the API key")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http",
3
- "version": "0.67.0-dev.5",
3
+ "version": "0.67.0-dev.6",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec HTTP protocol binding",
6
6
  "homepage": "https://github.com/microsoft/typespec",