Skip to content

Commit 18a0fa4

Browse files
committed
Will's suggestions
1 parent c1de4c1 commit 18a0fa4

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

articles/typespec/includes/quickstart/file-structure-typescript.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,33 @@ ms.date: 04/23/2025
66
The Express.js project structure found at `tsp-output/server/` includes the generated server, the package.json, and the middleware for your Azure integration.
77

88
```console
9-
├── docs
10-
├── generated
11-
├── mocks
12-
├── server.ts
13-
├── README.md
9+
server
1410
├── package.json
15-
├── openapi3.json
11+
├── package-lock.json
12+
├── src
13+
│ ├── controllers
14+
│ │ └── widgets.ts
15+
│ ├── generated
16+
│ │ ├── helpers
17+
│ │ │ ├── datetime.ts
18+
│ │ │ ├── header.ts
19+
│ │ │ ├── http.ts
20+
│ │ │ ├── multipart.ts
21+
│ │ │ ├── router.ts
22+
│ │ │ └── temporal
23+
│ │ │ ├── native.ts
24+
│ │ │ └── polyfill.ts
25+
│ │ ├── http
26+
│ │ │ ├── openapi3.ts
27+
│ │ │ ├── operations
28+
│ │ │ │ └── server-raw.ts
29+
│ │ │ └── router.ts
30+
│ │ └── models
31+
│ │ └── all
32+
│ │ ├── demo-service.ts
33+
│ │ └── typespec.ts
34+
│ ├── index.ts
35+
│ └── swagger-ui.ts
1636
```
1737

1838
The file structure for the parent TypeSpec project includes this Express.js project in `tsp-output`:

articles/typespec/quickstart-scaffold-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ Create the files needed to have a repeatable deployment with [Azure Developer CL
568568
```yml
569569
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
570570
571-
name: azure-typespec-scaffold-dotnet
571+
name: azure-typespec-scaffold-javascript
572572
metadata:
573573
574574
services:

0 commit comments

Comments
 (0)