Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/http",
"comment": "",
"type": "none"
}
],
"packageName": "@typespec/http"
}
2 changes: 1 addition & 1 deletion docs/standard-library/http/reference/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ op create(): {@statusCode: 201 | 202}

### `@useAuth` {#@TypeSpec.Http.useAuth}

Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details.

```typespec
@TypeSpec.Http.useAuth(auth: {} | Union | {}[])
Expand Down
2 changes: 1 addition & 1 deletion packages/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ op create(): {@statusCode: 201 | 202}

#### `@useAuth`

Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details.

```typespec
@TypeSpec.Http.useAuth(auth: {} | Union | {}[])
Expand Down
2 changes: 1 addition & 1 deletion packages/http/lib/http-decorators.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ extern dec server(
);

/**
* Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
* Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details.
*
* @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)
* @example
Expand Down
2 changes: 1 addition & 1 deletion packages/http/src/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function getHttpService(
}

/**
* @deprecated use `getAllHttpServices` or `resolveHttpOperations` manually
* @deprecated use `getAllHttpServices` instead
*/
export function getAllRoutes(
program: Program,
Expand Down