Skip to content

Commit 948652e

Browse files
committed
Merge branch 'main' into joshlove-msft/fix-csharp-azure-core-peer-dep
# Conflicts: # packages/http-client-csharp/package.json
2 parents 2c9ad44 + e145b7f commit 948652e

877 files changed

Lines changed: 38440 additions & 14358 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/openapi"
5+
- "@typespec/openapi3"
6+
---
7+
8+
Add `summary` and `kind` fields to `@tagMetadata` decorator.
9+
10+
For OpenAPI 3.2, these fields are emitted as native tag object fields. For OpenAPI 3.0/3.1, they are emitted as `x-oai-summary` and `x-oai-kind` extensions. The OpenAPI converter also supports importing `x-oai-summary`, `x-oai-kind` (from 3.0/3.1) and native `summary`, `kind` (from 3.2) back to TypeSpec.
11+
12+
```typespec
13+
@tagMetadata("foo", #{ summary: "all operations that allow doing Foo", kind: "FooGroup" })
14+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Add service/multiple-services generation and end-to-end test coverage in http-client-generator-test.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Add e2e tests
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@typespec/openapi3"
5+
---
6+
7+
Mark models as `@error` when imported from 4xx/5xx response body schema references.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@typespec/compiler"
5+
---
6+
7+
Fix spurious circular-base-type diagnostics after invalid 'model is' declarations.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@typespec/playground"
5+
---
6+
7+
Don't show file tree view in output when there is only a single file
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/openapi"
5+
- "@typespec/openapi3"
6+
---
7+
8+
Add array form for `@tagMetadata` decorator to allow explicit control of tag declaration order.
9+
10+
```typespec
11+
@service
12+
@tagMetadata(#[
13+
#{ name: "First Tag", description: "First tag description" },
14+
#{ name: "Second Tag", description: "Second tag description" },
15+
])
16+
namespace PetStore {}
17+
```
18+
19+
Using `@tagMetadata(#[...])` and `@tagMetadata("name", #{...})` on the same namespace is a diagnostic error.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: dependencies
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Update http-client-java Node.js dependencies and regenerate Java test assets
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/compiler"
5+
---
6+
7+
Add `kind: project` and `entrypoint` support to `tspconfig.yaml` for defining project boundaries and entrypoint resolution. See [Project Configuration](https://typespec.io/docs/handbook/configuration/configuration#project-configuration) for more details.
8+
9+
```yaml title=tspconfig.yaml
10+
kind: project
11+
entrypoint: src/service.tsp
12+
emit:
13+
- "@typespec/openapi3"
14+
```
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
3+
changeKind: fix
4+
packages:
5+
- "@typespec/compiler"
6+
---
7+
8+
Fix wrongly detected circular reference with alias and model properties

0 commit comments

Comments
 (0)