Commit 8017656
committed
docs(compilers/openapi): drop a census deferral reason #293 settled
The path-item census is deferred for two stated reasons. The second no
longer holds: it said httpMethods is narrower than the library's method
set and has no `query`, so a census over what it does not name would
report a valid 3.2 query operation as undeclared. #293 added `query` to
the table and pathOperations reads additionalOperations beside it, so what
a path item can legally name is now fully spelled there.
The first reason is untouched and is the one that decides it: the library
folds an unrecognized key into the operations map rather than recording it
as undeclared, so there is no census to read — and the key is not lost in
silence, since folding it reports a validation-type-mismatch at error
severity naming the key at its own pointer. What is left is reading the
raw node, which #377 holds.1 parent eedd16d commit 8017656
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 516 | + | |
| 517 | + | |
520 | 518 | | |
521 | | - | |
522 | | - | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
| |||
0 commit comments