Skip to content

Commit

Permalink
Bump core from 12c67ef to 3b21ce9 (#1667)
Browse files Browse the repository at this point in the history
Bumps [core](https://github.com/microsoft/typespec) from `12c67ef` to
`3b21ce9`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/typespec/commit/3b21ce90d68d920beb2d4d5d5fd4d26a346123f0"><code>3b21ce9</code></a>
http-client-java, report TCGC diagnostics (<a
href="https://redirect.github.com/microsoft/typespec/issues/4382">#4382</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/fd9d7d77c2066db213353e7525f267fd6db4122b"><code>fd9d7d7</code></a>
Include Jinja templates in wheel (<a
href="https://redirect.github.com/microsoft/typespec/issues/4684">#4684</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/70532377475d5c476eda47a55c67211bfb6a337d"><code>7053237</code></a>
http-client-java, upgrade tcgc to 0.47.1 (<a
href="https://redirect.github.com/microsoft/typespec/issues/4688">#4688</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/0c3cd362f57bf238e087ba319ed5846fcf09b35d"><code>0c3cd36</code></a>
Migrate website to astro [Step 1] (<a
href="https://redirect.github.com/microsoft/typespec/issues/4587">#4587</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/3f7204c0a4e05aa04126ac736f640b2c0047b3b4"><code>3f7204c</code></a>
Rename spec-core to spector (<a
href="https://redirect.github.com/microsoft/typespec/issues/4683">#4683</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/52beb60a6b9a490891d2f94eb328cf35159f5168"><code>52beb60</code></a>
add missing packages to upload-bundler (<a
href="https://redirect.github.com/microsoft/typespec/issues/4681">#4681</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/5caa9138ce3c0ea0ce1601e267ba07a30fece188"><code>5caa913</code></a>
[<code>@​typespec/http-specs</code>] - Fix explode query check of
mockapi for routes test c...</li>
<li><a
href="https://github.com/microsoft/typespec/commit/58bd612c17c8eae68755c228518bfd65001133f5"><code>58bd612</code></a>
Remove duplicate title heading for generated docs (<a
href="https://redirect.github.com/microsoft/typespec/issues/4666">#4666</a>)</li>
<li>See full diff in <a
href="https://github.com/microsoft/typespec/compare/12c67ef552b34fb436d5a81fb5d7cbff043d314b...3b21ce90d68d920beb2d4d5d5fd4d26a346123f0">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]>
Co-authored-by: Timothee Guerin <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent dedf76c commit 0b875bf
Show file tree
Hide file tree
Showing 37 changed files with 2,510 additions and 384 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ core/packages/website/versioned_docs/**/standard-library/built-in-data-types.md
# Auto generated version list
packages/website/playground-versions.json
core/packages/website/playground-versions.json
core/packages/website-astro/playground-versions.json

/core/eng/feeds/

Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 382 files
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Emitter

## Usage

1. Via the command line
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-autorest-canonical/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec library for emitting canonical swagger

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-autorest/reference/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Decorators

## Autorest

### `@example` {#@Autorest.example}
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-autorest/reference/emitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Emitter

## Usage

1. Via the command line
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-autorest/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec library for emitting openapi from the TypeSpec REST protocol binding

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-azure-rulesets/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec ruleset for Azure specs

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-azure-rulesets/reference/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Linter

## Usage

Add the following in `tspconfig.yaml`:
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-service-csharp/reference/emitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Emitter

## Usage

1. Via the command line
Expand Down
2 changes: 0 additions & 2 deletions docs/emitters/typespec-service-csharp/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

Azure TypeSpec service code generator for c-sharp

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-core/reference/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Data types

## Azure.Core

### `AadOauth2Auth` {#Azure.Core.AadOauth2Auth}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-core/reference/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Decorators

## Azure.Core

### `@finalLocation` {#@Azure.Core.finalLocation}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-core/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec Azure Core library

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-core/reference/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Interfaces and Operations

## Azure.Core

### `ResourceOperations` {#Azure.Core.ResourceOperations}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-core/reference/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Linter

## Usage

Add the following in `tspconfig.yaml`:
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-portal-core/reference/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Data types

## Azure.Portal

### `AboutOptions` {#Azure.Portal.AboutOptions}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-portal-core/reference/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Decorators

## Azure.Portal

### `@about` {#@Azure.Portal.about}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-portal-core/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec Azure Portal Core library

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-resource-manager/reference/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Data types

## Azure.ResourceManager

### `ArmAcceptedLroResponse` {#Azure.ResourceManager.ArmAcceptedLroResponse}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-resource-manager/reference/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Decorators

## Azure.ResourceManager

### `@armCommonTypesVersion` {#@Azure.ResourceManager.armCommonTypesVersion}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-resource-manager/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec Azure Resource Manager library

## Install
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-resource-manager/reference/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Interfaces and Operations

## Azure.ResourceManager

### `ExtensionResourceCollectionOperations` {#Azure.ResourceManager.ExtensionResourceCollectionOperations}
Expand Down
2 changes: 0 additions & 2 deletions docs/libraries/azure-resource-manager/reference/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Linter

## Usage

Add the following in `tspconfig.yaml`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 3
---

# Decorators

## Azure.ClientGenerator.Core

### `@access` {#@Azure.ClientGenerator.Core.access}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ toc_max_heading_level: 3
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec Data Plane Generation library

## Install
Expand Down
4 changes: 4 additions & 0 deletions eng/CredScanSuppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
{
"file": ["packages/website/docusaurus.config.ts"],
"_justification": "Files contains publicly disclosed application key."
},
{
"file": ["core/packages/website-astro/algolia.ts"],
"_justification": "Files contains publicly disclosed application key."
}
]
}
16 changes: 8 additions & 8 deletions packages/azure-http-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"build": "tsc -p ./tsconfig.build.json",
"clean": "rimraf dist/ temp/",
"test:e2e": "pnpm validate-scenarios && pnpm validate-mock-apis && pnpm validate-client-server",
"validate-scenarios": "spec-core validate-scenarios ./specs",
"generate-scenarios-summary": "spec-core generate-scenarios-summary ./specs",
"validate-mock-apis": "spec-core validate-mock-apis ./specs",
"check-scenario-coverage": "spec-core check-coverage ./specs",
"validate-client-server": "concurrently \"spec-core server start ./specs\" \"npm run client\" && spec-core server stop",
"client": "spec-core server-test ./specs",
"serve": "spec-core serve ./specs",
"validate-scenarios": "tsp-spector validate-scenarios ./specs",
"generate-scenarios-summary": "tsp-spector generate-scenarios-summary ./specs",
"validate-mock-apis": "tsp-spector validate-mock-apis ./specs",
"check-scenario-coverage": "tsp-spector check-coverage ./specs",
"validate-client-server": "concurrently \"tsp-spector server start ./specs\" \"npm run client\" && tsp-spector server stop",
"client": "tsp-spector server-test ./specs",
"serve": "tsp-spector serve ./specs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
Expand All @@ -33,7 +33,7 @@
},
"homepage": "https://azure.github.io/typespec-azure",
"dependencies": {
"@typespec/spec-core": "workspace:~",
"@typespec/spector": "workspace:~",
"@typespec/spec-api": "workspace:~",
"@typespec/spec-lib": "workspace:~"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/azure-http-specs/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"references": [
{ "path": "../../core/packages/spec-api/tsconfig.build.json" },
{ "path": "../../core/packages/spec-lib/tsconfig.build.json" },
{ "path": "../../core/packages/spec-core/tsconfig.build.json" }
{ "path": "../../core/packages/spector/tsconfig.build.json" }
],
"exclude": ["**/*.test.*", "test/**/*"]
}
18 changes: 8 additions & 10 deletions packages/typespec-autorest-canonical/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ TypeSpec library for emitting canonical swagger
npm install @azure-tools/typespec-autorest-canonical
```

## Emitter

### Usage
## Usage

1. Via the command line

Expand All @@ -35,9 +33,9 @@ options:
option: value
```
### Emitter options
## Emitter options
#### `output-file`
### `output-file`

**Type:** `string`

Expand All @@ -58,29 +56,29 @@ Example: Multiple services
- `Service1.canonical.openapi.json`
- `Service2.canonical.openapi.json`

#### `azure-resource-provider-folder`
### `azure-resource-provider-folder`

**Type:** `string`

#### `arm-types-dir`
### `arm-types-dir`

**Type:** `string`

Path to the common-types.json file folder. Default: '${project-root}/../../common-types/resource-management'

#### `new-line`
### `new-line`

**Type:** `"crlf" | "lf"`

Set the newline character for emitting files.

#### `omit-unreachable-types`
### `omit-unreachable-types`

**Type:** `boolean`

Omit unreachable types. By default all types declared under the service namespace will be included. With this flag on only types references in an operation will be emitted.

#### `include-x-typespec-name`
### `include-x-typespec-name`

**Type:** `"inline-only" | "never"`

Expand Down
Loading

0 comments on commit 0b875bf

Please sign in to comment.