Skip to content

Commit

Permalink
Bump core from aa6e53f to 8b062e3 (#331)
Browse files Browse the repository at this point in the history
Bumps [core](https://github.com/microsoft/typespec) from `aa6e53f` to
`8b062e3`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/typespec/commit/8b062e33bbc4273d2470fa9fbc182df8ce1ef0b7"><code>8b062e3</code></a>
Update http authentication docs with new operation level auth and scopes
(<a
href="https://redirect.github.com/microsoft/typespec/issues/2960">#2960</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/628517e0c2b341e9940d7e7b533f852e078a5970"><code>628517e</code></a>
Remove prettier2.0 support in prettier plugin (<a
href="https://redirect.github.com/microsoft/typespec/issues/2956">#2956</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/66c2df18e2c29b36571aafb5d9793963bce855ed"><code>66c2df1</code></a>
Do not run decorators that have missing args (<a
href="https://redirect.github.com/microsoft/typespec/issues/2959">#2959</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/d2d397cb67186e18a08ac556676580fa45dc4185"><code>d2d397c</code></a>
Operation level authentication and scopes (<a
href="https://redirect.github.com/microsoft/typespec/issues/2901">#2901</a>)</li>
<li>See full diff in <a
href="https://github.com/microsoft/typespec/compare/aa6e53f4ab9a12dde617900cb1c4c68152527b61...8b062e33bbc4273d2470fa9fbc182df8ce1ef0b7">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timothee Guerin <[email protected]>
  • Loading branch information
dependabot[bot] and timotheeguerin authored Feb 28, 2024
1 parent 4144b82 commit 7a4d23f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion core
Submodule core updated 37 files
+8 −0 .chronus/changes/docs-operation-level-2024-1-27-19-50-39.md
+8 −0 .chronus/changes/fix-dont-run-decorator-missing-args-2024-1-27-18-6-41.md
+8 −0 .chronus/changes/flexible-auth-2024-1-9-0-8-11.md
+8 −0 .chronus/changes/flexible-auth-2024-1-9-0-8-12.md
+7 −0 .chronus/changes/remove-prettier2.0-support-2024-1-26-14-18-55.md
+7 −0 .chronus/changes/remove-prettier2.0-support-2024-1-26-14-19-25.md
+1 −0 cspell.yaml
+95 −23 docs/libraries/http/authentication.md
+14 −4 docs/libraries/http/reference/data-types.md
+2 −2 docs/libraries/http/reference/decorators.md
+1 −0 docs/libraries/http/reference/index.mdx
+6 −0 packages/compiler/src/core/checker.ts
+1 −2 packages/compiler/src/formatter/print/needs-parens.ts
+51 −53 packages/compiler/src/formatter/print/printer.ts
+17 −5 packages/compiler/test/checker/decorators.test.ts
+2 −2 packages/http/README.md
+21 −5 packages/http/lib/auth.tsp
+2 −2 packages/http/lib/http-decorators.tsp
+185 −0 packages/http/src/auth.ts
+20 −15 packages/http/src/decorators.ts
+1 −0 packages/http/src/index.ts
+7 −1 packages/http/src/operations.ts
+21 −2 packages/http/src/types.ts
+98 −14 packages/http/test/http-decorators.test.ts
+75 −53 packages/openapi3/src/openapi.ts
+1 −0 packages/openapi3/src/types.ts
+140 −0 packages/openapi3/test/security.test.ts
+0 −1 packages/prettier-plugin-typespec/package.json
+0 −9 packages/prettier-plugin-typespec/test/smoke.test.ts
+20 −0 packages/samples/specs/authentication/interface-auth.tsp
+3 −24 packages/samples/specs/authentication/main.tsp
+34 −0 packages/samples/specs/authentication/operation-auth.tsp
+24 −0 packages/samples/specs/authentication/service-auth.tsp
+32 −0 packages/samples/test/output/authentication/@typespec/openapi3/openapi.TypeSpec.InterfaceAuth.yaml
+57 −0 packages/samples/test/output/authentication/@typespec/openapi3/openapi.TypeSpec.OperationAuth.yaml
+0 −0 packages/samples/test/output/authentication/@typespec/openapi3/openapi.TypeSpec.ServiceAuth.yaml
+0 −9 pnpm-lock.yaml
4 changes: 2 additions & 2 deletions packages/typespec-autorest/src/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ import {
stringTemplateToString,
} from "@typespec/compiler";
import {
Authentication,
HttpAuth,
HttpOperation,
HttpOperationParameters,
Expand All @@ -98,7 +99,6 @@ import {
HttpStatusCodesEntry,
MetadataInfo,
OAuth2FlowType,
ServiceAuthentication,
Visibility,
createMetadataInfo,
getAllHttpServices,
Expand Down Expand Up @@ -2189,7 +2189,7 @@ function createOAPIEmitter(
}

function processServiceAuthentication(
authentication: ServiceAuthentication,
authentication: Authentication,
serviceNamespace: Namespace
): {
securitySchemes: Record<string, OpenAPI2SecurityScheme>;
Expand Down
9 changes: 0 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a4d23f

Please sign in to comment.