@nxgt/typespec 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/roadmap.md +12 -10
- package/package.json +1 -1
package/docs/roadmap.md
CHANGED
|
@@ -6,16 +6,7 @@ generated by `@nxgt/openapi-codegen` in CI before it ships.
|
|
|
6
6
|
|
|
7
7
|
## Now
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
verb takes the interface's resource: `list` in `Users` is `listUsers`,
|
|
11
|
-
`create` is `createUser`, `findById` is `findUserById`, so a resource's
|
|
12
|
-
operations are written once as `list`, `get`, `create`, and each
|
|
13
|
-
interface names its own. The singular comes from a short English rule
|
|
14
|
-
(`Categories`, `People`), and `singular`, `plural` and `verbs` options name
|
|
15
|
-
what the rule does not know. Any other name, and any operation outside an
|
|
16
|
-
interface, keeps its id as written; an operation named exactly a verb,
|
|
17
|
-
or a verb followed by `By…` (`findById`), changes id, and keeps the old
|
|
18
|
-
one with an `@operationId`; a `list` beside a `listUsers` now collides.
|
|
9
|
+
Nothing in progress.
|
|
19
10
|
|
|
20
11
|
## Later
|
|
21
12
|
|
|
@@ -25,6 +16,17 @@ generated by `@nxgt/openapi-codegen` in CI before it ships.
|
|
|
25
16
|
|
|
26
17
|
## Shipped
|
|
27
18
|
|
|
19
|
+
### 0.5.0
|
|
20
|
+
|
|
21
|
+
- **Verbs in operation ids.** In an interface `@operationIds` marks, a known
|
|
22
|
+
verb takes the interface's resource: `list` in `Users` is `listUsers`,
|
|
23
|
+
`create` is `createUser`, `findById` is `findUserById`, so a resource's
|
|
24
|
+
operations are written once as `list`, `get`, `create`, and each
|
|
25
|
+
interface names its own. The singular comes from a short English rule
|
|
26
|
+
(`Categories`, `People`), and `singular`, `plural` and `verbs` options name
|
|
27
|
+
what the rule does not know. Any other name, and any operation outside an
|
|
28
|
+
interface, keeps its id as written.
|
|
29
|
+
|
|
28
30
|
### 0.4.0
|
|
29
31
|
|
|
30
32
|
- **Operation ids as written.** `@operationIds` names each operation
|