You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This utility solves all of these problems and produces three outputs:
17
17
18
18
1.**Bundled spec** (`rest-api.bundle.json`) — A single, clean OpenAPI 3 JSON file with all schemas as proper `#/components/schemas/...` refs
19
19
2.**Metadata IR** (`spec-metadata.json`) — A structured intermediate representation of domain-specific information extracted from the spec
20
-
3.**Endpoint map** (`endpoint-map.json`) — A mapping of each API operation (method + path) to its source YAML file, useful for tracing endpoints back to their origin
20
+
3.**Endpoint map** (`endpoint-map.json`) — _Deprecated, removed in 3.0.0._ Each `OperationSummary` in `spec-metadata.json` now carries `sourceFile` directly, so consumers no longer need to read this file or join on `"METHOD /path"`. Still emitted (with a deprecation warning) when `--output-endpoint-map` is set, for one minor cycle.
|`--entry-file <name>`| Entry YAML file name (default: `rest-api.yaml`) |
104
104
|`--output-spec <path>`| Output path for the bundled JSON spec |
105
105
|`--output-metadata <path>`| Output path for the metadata IR JSON |
106
-
|`--output-endpoint-map <path>`| Output path for the endpoint map JSON (method + path → source file) |
106
+
|`--output-endpoint-map <path>`|_Deprecated, removed in 3.0.0._Output path for the endpoint map JSON (method + path → source file). Use `OperationSummary.sourceFile` in `spec-metadata.json` instead.|
107
107
|`--deref-path-local`| Inline remaining path-local `$ref`s (needed for Microsoft.OpenApi) |
108
108
|`--allow-like-refs`| Don't fail on surviving path-local `$like` refs |
109
109
|**General**||
@@ -259,19 +259,30 @@ Operations marked with `x-eventually-consistent: true`:
259
259
260
260
### Operation Summaries
261
261
262
-
Every operation with metadata about body shape and union variants:
262
+
Every operation with metadata about body shape, union variants, source file, and response shape:
0 commit comments