Coverage for tests/test_include_router_defaults_overrides.py: 100%

181 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-08-08 03:53 +0000

1import warnings 1abcde

2 

3import pytest 1abcde

4from fastapi import APIRouter, Depends, FastAPI, Response 1abcde

5from fastapi.responses import JSONResponse 1abcde

6from fastapi.testclient import TestClient 1abcde

7 

8 

9class ResponseLevel0(JSONResponse): 1abcde

10 media_type = "application/x-level-0" 1abcde

11 

12 

13class ResponseLevel1(JSONResponse): 1abcde

14 media_type = "application/x-level-1" 1abcde

15 

16 

17class ResponseLevel2(JSONResponse): 1abcde

18 media_type = "application/x-level-2" 1abcde

19 

20 

21class ResponseLevel3(JSONResponse): 1abcde

22 media_type = "application/x-level-3" 1abcde

23 

24 

25class ResponseLevel4(JSONResponse): 1abcde

26 media_type = "application/x-level-4" 1abcde

27 

28 

29class ResponseLevel5(JSONResponse): 1abcde

30 media_type = "application/x-level-5" 1abcde

31 

32 

33async def dep0(response: Response): 1abcde

34 response.headers["x-level0"] = "True" 1abcde

35 

36 

37async def dep1(response: Response): 1abcde

38 response.headers["x-level1"] = "True" 1abcde

39 

40 

41async def dep2(response: Response): 1abcde

42 response.headers["x-level2"] = "True" 1abcde

43 

44 

45async def dep3(response: Response): 1abcde

46 response.headers["x-level3"] = "True" 1abcde

47 

48 

49async def dep4(response: Response): 1abcde

50 response.headers["x-level4"] = "True" 1abcde

51 

52 

53async def dep5(response: Response): 1abcde

54 response.headers["x-level5"] = "True" 1abcde

55 

56 

57callback_router0 = APIRouter() 1abcde

58 

59 

60@callback_router0.get("/") 1abcde

61async def callback0(level0: str): 1abcde

62 pass # pragma: nocover 

63 

64 

65callback_router1 = APIRouter() 1abcde

66 

67 

68@callback_router1.get("/") 1abcde

69async def callback1(level1: str): 1abcde

70 pass # pragma: nocover 

71 

72 

73callback_router2 = APIRouter() 1abcde

74 

75 

76@callback_router2.get("/") 1abcde

77async def callback2(level2: str): 1abcde

78 pass # pragma: nocover 

79 

80 

81callback_router3 = APIRouter() 1abcde

82 

83 

84@callback_router3.get("/") 1abcde

85async def callback3(level3: str): 1abcde

86 pass # pragma: nocover 

87 

88 

89callback_router4 = APIRouter() 1abcde

90 

91 

92@callback_router4.get("/") 1abcde

93async def callback4(level4: str): 1abcde

94 pass # pragma: nocover 

95 

96 

97callback_router5 = APIRouter() 1abcde

98 

99 

100@callback_router5.get("/") 1abcde

101async def callback5(level5: str): 1abcde

102 pass # pragma: nocover 

103 

104 

105app = FastAPI( 1abcde

106 dependencies=[Depends(dep0)], 

107 responses={ 

108 400: {"description": "Client error level 0"}, 

109 500: {"description": "Server error level 0"}, 

110 }, 

111 default_response_class=ResponseLevel0, 

112 callbacks=callback_router0.routes, 

113) 

114 

115router2_override = APIRouter( 1abcde

116 prefix="/level2", 

117 tags=["level2a", "level2b"], 

118 dependencies=[Depends(dep2)], 

119 responses={ 

120 402: {"description": "Client error level 2"}, 

121 502: {"description": "Server error level 2"}, 

122 }, 

123 default_response_class=ResponseLevel2, 

124 callbacks=callback_router2.routes, 

125 deprecated=True, 

126) 

127router2_default = APIRouter() 1abcde

128router4_override = APIRouter( 1abcde

129 prefix="/level4", 

130 tags=["level4a", "level4b"], 

131 dependencies=[Depends(dep4)], 

132 responses={ 

133 404: {"description": "Client error level 4"}, 

134 504: {"description": "Server error level 4"}, 

135 }, 

136 default_response_class=ResponseLevel4, 

137 callbacks=callback_router4.routes, 

138 deprecated=True, 

139) 

140router4_default = APIRouter() 1abcde

141 

142 

143@app.get( 1abcde

144 "/override1", 

145 tags=["path1a", "path1b"], 

146 responses={ 

147 401: {"description": "Client error level 1"}, 

148 501: {"description": "Server error level 1"}, 

149 }, 

150 deprecated=True, 

151 callbacks=callback_router1.routes, 

152 dependencies=[Depends(dep1)], 

153 response_class=ResponseLevel1, 

154) 

155async def path1_override(level1: str): 1abcde

156 return level1 1abcde

157 

158 

159@app.get("/default1") 1abcde

160async def path1_default(level1: str): 1abcde

161 return level1 1abcde

162 

163 

164@router2_override.get( 1abcde

165 "/override3", 

166 tags=["path3a", "path3b"], 

167 responses={ 

168 403: {"description": "Client error level 3"}, 

169 503: {"description": "Server error level 3"}, 

170 }, 

171 deprecated=True, 

172 callbacks=callback_router3.routes, 

173 dependencies=[Depends(dep3)], 

174 response_class=ResponseLevel3, 

175) 

176async def path3_override_router2_override(level3: str): 1abcde

177 return level3 1abcde

178 

179 

180@router2_override.get("/default3") 1abcde

181async def path3_default_router2_override(level3: str): 1abcde

182 return level3 1abcde

183 

184 

185@router2_default.get( 1abcde

186 "/override3", 

187 tags=["path3a", "path3b"], 

188 responses={ 

189 403: {"description": "Client error level 3"}, 

190 503: {"description": "Server error level 3"}, 

191 }, 

192 deprecated=True, 

193 callbacks=callback_router3.routes, 

194 dependencies=[Depends(dep3)], 

195 response_class=ResponseLevel3, 

196) 

197async def path3_override_router2_default(level3: str): 1abcde

198 return level3 1abcde

199 

200 

201@router2_default.get("/default3") 1abcde

202async def path3_default_router2_default(level3: str): 1abcde

203 return level3 1abcde

204 

205 

206@router4_override.get( 1abcde

207 "/override5", 

208 tags=["path5a", "path5b"], 

209 responses={ 

210 405: {"description": "Client error level 5"}, 

211 505: {"description": "Server error level 5"}, 

212 }, 

213 deprecated=True, 

214 callbacks=callback_router5.routes, 

215 dependencies=[Depends(dep5)], 

216 response_class=ResponseLevel5, 

217) 

218async def path5_override_router4_override(level5: str): 1abcde

219 return level5 1abcde

220 

221 

222@router4_override.get( 1abcde

223 "/default5", 

224) 

225async def path5_default_router4_override(level5: str): 1abcde

226 return level5 1abcde

227 

228 

229@router4_default.get( 1abcde

230 "/override5", 

231 tags=["path5a", "path5b"], 

232 responses={ 

233 405: {"description": "Client error level 5"}, 

234 505: {"description": "Server error level 5"}, 

235 }, 

236 deprecated=True, 

237 callbacks=callback_router5.routes, 

238 dependencies=[Depends(dep5)], 

239 response_class=ResponseLevel5, 

240) 

241async def path5_override_router4_default(level5: str): 1abcde

242 return level5 1abcde

243 

244 

245@router4_default.get( 1abcde

246 "/default5", 

247) 

248async def path5_default_router4_default(level5: str): 1abcde

249 return level5 1abcde

250 

251 

252router2_override.include_router( 1abcde

253 router4_override, 

254 prefix="/level3", 

255 tags=["level3a", "level3b"], 

256 dependencies=[Depends(dep3)], 

257 responses={ 

258 403: {"description": "Client error level 3"}, 

259 503: {"description": "Server error level 3"}, 

260 }, 

261 default_response_class=ResponseLevel3, 

262 callbacks=callback_router3.routes, 

263) 

264 

265router2_override.include_router( 1abcde

266 router4_default, 

267 prefix="/level3", 

268 tags=["level3a", "level3b"], 

269 dependencies=[Depends(dep3)], 

270 responses={ 

271 403: {"description": "Client error level 3"}, 

272 503: {"description": "Server error level 3"}, 

273 }, 

274 default_response_class=ResponseLevel3, 

275 callbacks=callback_router3.routes, 

276) 

277 

278router2_override.include_router(router4_override) 1abcde

279 

280router2_override.include_router(router4_default) 1abcde

281 

282router2_default.include_router( 1abcde

283 router4_override, 

284 prefix="/level3", 

285 tags=["level3a", "level3b"], 

286 dependencies=[Depends(dep3)], 

287 responses={ 

288 403: {"description": "Client error level 3"}, 

289 503: {"description": "Server error level 3"}, 

290 }, 

291 default_response_class=ResponseLevel3, 

292 callbacks=callback_router3.routes, 

293) 

294 

295router2_default.include_router( 1abcde

296 router4_default, 

297 prefix="/level3", 

298 tags=["level3a", "level3b"], 

299 dependencies=[Depends(dep3)], 

300 responses={ 

301 403: {"description": "Client error level 3"}, 

302 503: {"description": "Server error level 3"}, 

303 }, 

304 default_response_class=ResponseLevel3, 

305 callbacks=callback_router3.routes, 

306) 

307 

308router2_default.include_router(router4_override) 1abcde

309 

310router2_default.include_router(router4_default) 1abcde

311 

312 

313app.include_router( 1abcde

314 router2_override, 

315 prefix="/level1", 

316 tags=["level1a", "level1b"], 

317 dependencies=[Depends(dep1)], 

318 responses={ 

319 401: {"description": "Client error level 1"}, 

320 501: {"description": "Server error level 1"}, 

321 }, 

322 default_response_class=ResponseLevel1, 

323 callbacks=callback_router1.routes, 

324) 

325 

326app.include_router( 1abcde

327 router2_default, 

328 prefix="/level1", 

329 tags=["level1a", "level1b"], 

330 dependencies=[Depends(dep1)], 

331 responses={ 

332 401: {"description": "Client error level 1"}, 

333 501: {"description": "Server error level 1"}, 

334 }, 

335 default_response_class=ResponseLevel1, 

336 callbacks=callback_router1.routes, 

337) 

338 

339app.include_router(router2_override) 1abcde

340 

341app.include_router(router2_default) 1abcde

342 

343client = TestClient(app) 1abcde

344 

345 

346def test_level1_override(): 1abcde

347 response = client.get("/override1?level1=foo") 1abcde

348 assert response.json() == "foo" 1abcde

349 assert response.headers["content-type"] == "application/x-level-1" 1abcde

350 assert "x-level0" in response.headers 1abcde

351 assert "x-level1" in response.headers 1abcde

352 assert "x-level2" not in response.headers 1abcde

353 assert "x-level3" not in response.headers 1abcde

354 assert "x-level4" not in response.headers 1abcde

355 assert "x-level5" not in response.headers 1abcde

356 

357 

358def test_level1_default(): 1abcde

359 response = client.get("/default1?level1=foo") 1abcde

360 assert response.json() == "foo" 1abcde

361 assert response.headers["content-type"] == "application/x-level-0" 1abcde

362 assert "x-level0" in response.headers 1abcde

363 assert "x-level1" not in response.headers 1abcde

364 assert "x-level2" not in response.headers 1abcde

365 assert "x-level3" not in response.headers 1abcde

366 assert "x-level4" not in response.headers 1abcde

367 assert "x-level5" not in response.headers 1abcde

368 

369 

370@pytest.mark.parametrize("override1", [True, False]) 1abcde

371@pytest.mark.parametrize("override2", [True, False]) 1abcde

372@pytest.mark.parametrize("override3", [True, False]) 1abcde

373def test_paths_level3(override1, override2, override3): 1abcde

374 url = "" 1abcde

375 content_type_level = "0" 1abcde

376 if override1: 1abcde

377 url += "/level1" 1abcde

378 content_type_level = "1" 1abcde

379 if override2: 1abcde

380 url += "/level2" 1abcde

381 content_type_level = "2" 1abcde

382 if override3: 1abcde

383 url += "/override3" 1abcde

384 content_type_level = "3" 1abcde

385 else: 

386 url += "/default3" 1abcde

387 url += "?level3=foo" 1abcde

388 response = client.get(url) 1abcde

389 assert response.json() == "foo" 1abcde

390 assert ( 1abcde

391 response.headers["content-type"] == f"application/x-level-{content_type_level}" 

392 ) 

393 assert "x-level0" in response.headers 1abcde

394 assert not override1 or "x-level1" in response.headers 1abcde

395 assert not override2 or "x-level2" in response.headers 1abcde

396 assert not override3 or "x-level3" in response.headers 1abcde

397 

398 

399@pytest.mark.parametrize("override1", [True, False]) 1abcde

400@pytest.mark.parametrize("override2", [True, False]) 1abcde

401@pytest.mark.parametrize("override3", [True, False]) 1abcde

402@pytest.mark.parametrize("override4", [True, False]) 1abcde

403@pytest.mark.parametrize("override5", [True, False]) 1abcde

404def test_paths_level5(override1, override2, override3, override4, override5): 1abcde

405 url = "" 1abcde

406 content_type_level = "0" 1abcde

407 if override1: 1abcde

408 url += "/level1" 1abcde

409 content_type_level = "1" 1abcde

410 if override2: 1abcde

411 url += "/level2" 1abcde

412 content_type_level = "2" 1abcde

413 if override3: 1abcde

414 url += "/level3" 1abcde

415 content_type_level = "3" 1abcde

416 if override4: 1abcde

417 url += "/level4" 1abcde

418 content_type_level = "4" 1abcde

419 if override5: 1abcde

420 url += "/override5" 1abcde

421 content_type_level = "5" 1abcde

422 else: 

423 url += "/default5" 1abcde

424 url += "?level5=foo" 1abcde

425 response = client.get(url) 1abcde

426 assert response.json() == "foo" 1abcde

427 assert ( 1abcde

428 response.headers["content-type"] == f"application/x-level-{content_type_level}" 

429 ) 

430 assert "x-level0" in response.headers 1abcde

431 assert not override1 or "x-level1" in response.headers 1abcde

432 assert not override2 or "x-level2" in response.headers 1abcde

433 assert not override3 or "x-level3" in response.headers 1abcde

434 assert not override4 or "x-level4" in response.headers 1abcde

435 assert not override5 or "x-level5" in response.headers 1abcde

436 

437 

438def test_openapi(): 1abcde

439 client = TestClient(app) 1abcde

440 with warnings.catch_warnings(record=True) as w: 1abcde

441 warnings.simplefilter("always") 1abcde

442 response = client.get("/openapi.json") 1abcde

443 assert issubclass(w[-1].category, UserWarning) 1abcde

444 assert "Duplicate Operation ID" in str(w[-1].message) 1abcde

445 assert response.json() == { 1abcde

446 "openapi": "3.1.0", 

447 "info": {"title": "FastAPI", "version": "0.1.0"}, 

448 "paths": { 

449 "/override1": { 

450 "get": { 

451 "tags": ["path1a", "path1b"], 

452 "summary": "Path1 Override", 

453 "operationId": "path1_override_override1_get", 

454 "parameters": [ 

455 { 

456 "required": True, 

457 "schema": {"title": "Level1", "type": "string"}, 

458 "name": "level1", 

459 "in": "query", 

460 } 

461 ], 

462 "responses": { 

463 "200": { 

464 "description": "Successful Response", 

465 "content": {"application/x-level-1": {"schema": {}}}, 

466 }, 

467 "400": {"description": "Client error level 0"}, 

468 "401": {"description": "Client error level 1"}, 

469 "422": { 

470 "description": "Validation Error", 

471 "content": { 

472 "application/json": { 

473 "schema": { 

474 "$ref": "#/components/schemas/HTTPValidationError" 

475 } 

476 } 

477 }, 

478 }, 

479 "500": {"description": "Server error level 0"}, 

480 "501": {"description": "Server error level 1"}, 

481 }, 

482 "callbacks": { 

483 "callback0": { 

484 "/": { 

485 "get": { 

486 "summary": "Callback0", 

487 "operationId": "callback0__get", 

488 "parameters": [ 

489 { 

490 "name": "level0", 

491 "in": "query", 

492 "required": True, 

493 "schema": { 

494 "title": "Level0", 

495 "type": "string", 

496 }, 

497 } 

498 ], 

499 "responses": { 

500 "200": { 

501 "description": "Successful Response", 

502 "content": { 

503 "application/json": {"schema": {}} 

504 }, 

505 }, 

506 "422": { 

507 "description": "Validation Error", 

508 "content": { 

509 "application/json": { 

510 "schema": { 

511 "$ref": "#/components/schemas/HTTPValidationError" 

512 } 

513 } 

514 }, 

515 }, 

516 }, 

517 } 

518 } 

519 }, 

520 "callback1": { 

521 "/": { 

522 "get": { 

523 "summary": "Callback1", 

524 "operationId": "callback1__get", 

525 "parameters": [ 

526 { 

527 "name": "level1", 

528 "in": "query", 

529 "required": True, 

530 "schema": { 

531 "title": "Level1", 

532 "type": "string", 

533 }, 

534 } 

535 ], 

536 "responses": { 

537 "200": { 

538 "description": "Successful Response", 

539 "content": { 

540 "application/json": {"schema": {}} 

541 }, 

542 }, 

543 "422": { 

544 "description": "Validation Error", 

545 "content": { 

546 "application/json": { 

547 "schema": { 

548 "$ref": "#/components/schemas/HTTPValidationError" 

549 } 

550 } 

551 }, 

552 }, 

553 }, 

554 } 

555 } 

556 }, 

557 }, 

558 "deprecated": True, 

559 } 

560 }, 

561 "/default1": { 

562 "get": { 

563 "summary": "Path1 Default", 

564 "operationId": "path1_default_default1_get", 

565 "parameters": [ 

566 { 

567 "required": True, 

568 "schema": {"title": "Level1", "type": "string"}, 

569 "name": "level1", 

570 "in": "query", 

571 } 

572 ], 

573 "responses": { 

574 "200": { 

575 "description": "Successful Response", 

576 "content": {"application/x-level-0": {"schema": {}}}, 

577 }, 

578 "400": {"description": "Client error level 0"}, 

579 "422": { 

580 "description": "Validation Error", 

581 "content": { 

582 "application/json": { 

583 "schema": { 

584 "$ref": "#/components/schemas/HTTPValidationError" 

585 } 

586 } 

587 }, 

588 }, 

589 "500": {"description": "Server error level 0"}, 

590 }, 

591 "callbacks": { 

592 "callback0": { 

593 "/": { 

594 "get": { 

595 "summary": "Callback0", 

596 "operationId": "callback0__get", 

597 "parameters": [ 

598 { 

599 "name": "level0", 

600 "in": "query", 

601 "required": True, 

602 "schema": { 

603 "title": "Level0", 

604 "type": "string", 

605 }, 

606 } 

607 ], 

608 "responses": { 

609 "200": { 

610 "description": "Successful Response", 

611 "content": { 

612 "application/json": {"schema": {}} 

613 }, 

614 }, 

615 "422": { 

616 "description": "Validation Error", 

617 "content": { 

618 "application/json": { 

619 "schema": { 

620 "$ref": "#/components/schemas/HTTPValidationError" 

621 } 

622 } 

623 }, 

624 }, 

625 }, 

626 } 

627 } 

628 } 

629 }, 

630 } 

631 }, 

632 "/level1/level2/override3": { 

633 "get": { 

634 "tags": [ 

635 "level1a", 

636 "level1b", 

637 "level2a", 

638 "level2b", 

639 "path3a", 

640 "path3b", 

641 ], 

642 "summary": "Path3 Override Router2 Override", 

643 "operationId": "path3_override_router2_override_level1_level2_override3_get", 

644 "parameters": [ 

645 { 

646 "required": True, 

647 "schema": {"title": "Level3", "type": "string"}, 

648 "name": "level3", 

649 "in": "query", 

650 } 

651 ], 

652 "responses": { 

653 "200": { 

654 "description": "Successful Response", 

655 "content": {"application/x-level-3": {"schema": {}}}, 

656 }, 

657 "400": {"description": "Client error level 0"}, 

658 "401": {"description": "Client error level 1"}, 

659 "402": {"description": "Client error level 2"}, 

660 "403": {"description": "Client error level 3"}, 

661 "422": { 

662 "description": "Validation Error", 

663 "content": { 

664 "application/json": { 

665 "schema": { 

666 "$ref": "#/components/schemas/HTTPValidationError" 

667 } 

668 } 

669 }, 

670 }, 

671 "500": {"description": "Server error level 0"}, 

672 "501": {"description": "Server error level 1"}, 

673 "502": {"description": "Server error level 2"}, 

674 "503": {"description": "Server error level 3"}, 

675 }, 

676 "callbacks": { 

677 "callback0": { 

678 "/": { 

679 "get": { 

680 "summary": "Callback0", 

681 "operationId": "callback0__get", 

682 "parameters": [ 

683 { 

684 "name": "level0", 

685 "in": "query", 

686 "required": True, 

687 "schema": { 

688 "title": "Level0", 

689 "type": "string", 

690 }, 

691 } 

692 ], 

693 "responses": { 

694 "200": { 

695 "description": "Successful Response", 

696 "content": { 

697 "application/json": {"schema": {}} 

698 }, 

699 }, 

700 "422": { 

701 "description": "Validation Error", 

702 "content": { 

703 "application/json": { 

704 "schema": { 

705 "$ref": "#/components/schemas/HTTPValidationError" 

706 } 

707 } 

708 }, 

709 }, 

710 }, 

711 } 

712 } 

713 }, 

714 "callback1": { 

715 "/": { 

716 "get": { 

717 "summary": "Callback1", 

718 "operationId": "callback1__get", 

719 "parameters": [ 

720 { 

721 "name": "level1", 

722 "in": "query", 

723 "required": True, 

724 "schema": { 

725 "title": "Level1", 

726 "type": "string", 

727 }, 

728 } 

729 ], 

730 "responses": { 

731 "200": { 

732 "description": "Successful Response", 

733 "content": { 

734 "application/json": {"schema": {}} 

735 }, 

736 }, 

737 "422": { 

738 "description": "Validation Error", 

739 "content": { 

740 "application/json": { 

741 "schema": { 

742 "$ref": "#/components/schemas/HTTPValidationError" 

743 } 

744 } 

745 }, 

746 }, 

747 }, 

748 } 

749 } 

750 }, 

751 "callback2": { 

752 "/": { 

753 "get": { 

754 "summary": "Callback2", 

755 "operationId": "callback2__get", 

756 "parameters": [ 

757 { 

758 "name": "level2", 

759 "in": "query", 

760 "required": True, 

761 "schema": { 

762 "title": "Level2", 

763 "type": "string", 

764 }, 

765 } 

766 ], 

767 "responses": { 

768 "200": { 

769 "description": "Successful Response", 

770 "content": { 

771 "application/json": {"schema": {}} 

772 }, 

773 }, 

774 "422": { 

775 "description": "Validation Error", 

776 "content": { 

777 "application/json": { 

778 "schema": { 

779 "$ref": "#/components/schemas/HTTPValidationError" 

780 } 

781 } 

782 }, 

783 }, 

784 }, 

785 } 

786 } 

787 }, 

788 "callback3": { 

789 "/": { 

790 "get": { 

791 "summary": "Callback3", 

792 "operationId": "callback3__get", 

793 "parameters": [ 

794 { 

795 "name": "level3", 

796 "in": "query", 

797 "required": True, 

798 "schema": { 

799 "title": "Level3", 

800 "type": "string", 

801 }, 

802 } 

803 ], 

804 "responses": { 

805 "200": { 

806 "description": "Successful Response", 

807 "content": { 

808 "application/json": {"schema": {}} 

809 }, 

810 }, 

811 "422": { 

812 "description": "Validation Error", 

813 "content": { 

814 "application/json": { 

815 "schema": { 

816 "$ref": "#/components/schemas/HTTPValidationError" 

817 } 

818 } 

819 }, 

820 }, 

821 }, 

822 } 

823 } 

824 }, 

825 }, 

826 "deprecated": True, 

827 } 

828 }, 

829 "/level1/level2/default3": { 

830 "get": { 

831 "tags": ["level1a", "level1b", "level2a", "level2b"], 

832 "summary": "Path3 Default Router2 Override", 

833 "operationId": "path3_default_router2_override_level1_level2_default3_get", 

834 "parameters": [ 

835 { 

836 "required": True, 

837 "schema": {"title": "Level3", "type": "string"}, 

838 "name": "level3", 

839 "in": "query", 

840 } 

841 ], 

842 "responses": { 

843 "200": { 

844 "description": "Successful Response", 

845 "content": {"application/x-level-2": {"schema": {}}}, 

846 }, 

847 "400": {"description": "Client error level 0"}, 

848 "401": {"description": "Client error level 1"}, 

849 "402": {"description": "Client error level 2"}, 

850 "422": { 

851 "description": "Validation Error", 

852 "content": { 

853 "application/json": { 

854 "schema": { 

855 "$ref": "#/components/schemas/HTTPValidationError" 

856 } 

857 } 

858 }, 

859 }, 

860 "500": {"description": "Server error level 0"}, 

861 "501": {"description": "Server error level 1"}, 

862 "502": {"description": "Server error level 2"}, 

863 }, 

864 "callbacks": { 

865 "callback0": { 

866 "/": { 

867 "get": { 

868 "summary": "Callback0", 

869 "operationId": "callback0__get", 

870 "parameters": [ 

871 { 

872 "name": "level0", 

873 "in": "query", 

874 "required": True, 

875 "schema": { 

876 "title": "Level0", 

877 "type": "string", 

878 }, 

879 } 

880 ], 

881 "responses": { 

882 "200": { 

883 "description": "Successful Response", 

884 "content": { 

885 "application/json": {"schema": {}} 

886 }, 

887 }, 

888 "422": { 

889 "description": "Validation Error", 

890 "content": { 

891 "application/json": { 

892 "schema": { 

893 "$ref": "#/components/schemas/HTTPValidationError" 

894 } 

895 } 

896 }, 

897 }, 

898 }, 

899 } 

900 } 

901 }, 

902 "callback1": { 

903 "/": { 

904 "get": { 

905 "summary": "Callback1", 

906 "operationId": "callback1__get", 

907 "parameters": [ 

908 { 

909 "name": "level1", 

910 "in": "query", 

911 "required": True, 

912 "schema": { 

913 "title": "Level1", 

914 "type": "string", 

915 }, 

916 } 

917 ], 

918 "responses": { 

919 "200": { 

920 "description": "Successful Response", 

921 "content": { 

922 "application/json": {"schema": {}} 

923 }, 

924 }, 

925 "422": { 

926 "description": "Validation Error", 

927 "content": { 

928 "application/json": { 

929 "schema": { 

930 "$ref": "#/components/schemas/HTTPValidationError" 

931 } 

932 } 

933 }, 

934 }, 

935 }, 

936 } 

937 } 

938 }, 

939 "callback2": { 

940 "/": { 

941 "get": { 

942 "summary": "Callback2", 

943 "operationId": "callback2__get", 

944 "parameters": [ 

945 { 

946 "name": "level2", 

947 "in": "query", 

948 "required": True, 

949 "schema": { 

950 "title": "Level2", 

951 "type": "string", 

952 }, 

953 } 

954 ], 

955 "responses": { 

956 "200": { 

957 "description": "Successful Response", 

958 "content": { 

959 "application/json": {"schema": {}} 

960 }, 

961 }, 

962 "422": { 

963 "description": "Validation Error", 

964 "content": { 

965 "application/json": { 

966 "schema": { 

967 "$ref": "#/components/schemas/HTTPValidationError" 

968 } 

969 } 

970 }, 

971 }, 

972 }, 

973 } 

974 } 

975 }, 

976 }, 

977 "deprecated": True, 

978 } 

979 }, 

980 "/level1/level2/level3/level4/override5": { 

981 "get": { 

982 "tags": [ 

983 "level1a", 

984 "level1b", 

985 "level2a", 

986 "level2b", 

987 "level3a", 

988 "level3b", 

989 "level4a", 

990 "level4b", 

991 "path5a", 

992 "path5b", 

993 ], 

994 "summary": "Path5 Override Router4 Override", 

995 "operationId": "path5_override_router4_override_level1_level2_level3_level4_override5_get", 

996 "parameters": [ 

997 { 

998 "required": True, 

999 "schema": {"title": "Level5", "type": "string"}, 

1000 "name": "level5", 

1001 "in": "query", 

1002 } 

1003 ], 

1004 "responses": { 

1005 "200": { 

1006 "description": "Successful Response", 

1007 "content": {"application/x-level-5": {"schema": {}}}, 

1008 }, 

1009 "400": {"description": "Client error level 0"}, 

1010 "401": {"description": "Client error level 1"}, 

1011 "402": {"description": "Client error level 2"}, 

1012 "403": {"description": "Client error level 3"}, 

1013 "404": {"description": "Client error level 4"}, 

1014 "405": {"description": "Client error level 5"}, 

1015 "422": { 

1016 "description": "Validation Error", 

1017 "content": { 

1018 "application/json": { 

1019 "schema": { 

1020 "$ref": "#/components/schemas/HTTPValidationError" 

1021 } 

1022 } 

1023 }, 

1024 }, 

1025 "500": {"description": "Server error level 0"}, 

1026 "501": {"description": "Server error level 1"}, 

1027 "502": {"description": "Server error level 2"}, 

1028 "503": {"description": "Server error level 3"}, 

1029 "504": {"description": "Server error level 4"}, 

1030 "505": {"description": "Server error level 5"}, 

1031 }, 

1032 "callbacks": { 

1033 "callback0": { 

1034 "/": { 

1035 "get": { 

1036 "summary": "Callback0", 

1037 "operationId": "callback0__get", 

1038 "parameters": [ 

1039 { 

1040 "name": "level0", 

1041 "in": "query", 

1042 "required": True, 

1043 "schema": { 

1044 "title": "Level0", 

1045 "type": "string", 

1046 }, 

1047 } 

1048 ], 

1049 "responses": { 

1050 "200": { 

1051 "description": "Successful Response", 

1052 "content": { 

1053 "application/json": {"schema": {}} 

1054 }, 

1055 }, 

1056 "422": { 

1057 "description": "Validation Error", 

1058 "content": { 

1059 "application/json": { 

1060 "schema": { 

1061 "$ref": "#/components/schemas/HTTPValidationError" 

1062 } 

1063 } 

1064 }, 

1065 }, 

1066 }, 

1067 } 

1068 } 

1069 }, 

1070 "callback1": { 

1071 "/": { 

1072 "get": { 

1073 "summary": "Callback1", 

1074 "operationId": "callback1__get", 

1075 "parameters": [ 

1076 { 

1077 "name": "level1", 

1078 "in": "query", 

1079 "required": True, 

1080 "schema": { 

1081 "title": "Level1", 

1082 "type": "string", 

1083 }, 

1084 } 

1085 ], 

1086 "responses": { 

1087 "200": { 

1088 "description": "Successful Response", 

1089 "content": { 

1090 "application/json": {"schema": {}} 

1091 }, 

1092 }, 

1093 "422": { 

1094 "description": "Validation Error", 

1095 "content": { 

1096 "application/json": { 

1097 "schema": { 

1098 "$ref": "#/components/schemas/HTTPValidationError" 

1099 } 

1100 } 

1101 }, 

1102 }, 

1103 }, 

1104 } 

1105 } 

1106 }, 

1107 "callback2": { 

1108 "/": { 

1109 "get": { 

1110 "summary": "Callback2", 

1111 "operationId": "callback2__get", 

1112 "parameters": [ 

1113 { 

1114 "name": "level2", 

1115 "in": "query", 

1116 "required": True, 

1117 "schema": { 

1118 "title": "Level2", 

1119 "type": "string", 

1120 }, 

1121 } 

1122 ], 

1123 "responses": { 

1124 "200": { 

1125 "description": "Successful Response", 

1126 "content": { 

1127 "application/json": {"schema": {}} 

1128 }, 

1129 }, 

1130 "422": { 

1131 "description": "Validation Error", 

1132 "content": { 

1133 "application/json": { 

1134 "schema": { 

1135 "$ref": "#/components/schemas/HTTPValidationError" 

1136 } 

1137 } 

1138 }, 

1139 }, 

1140 }, 

1141 } 

1142 } 

1143 }, 

1144 "callback3": { 

1145 "/": { 

1146 "get": { 

1147 "summary": "Callback3", 

1148 "operationId": "callback3__get", 

1149 "parameters": [ 

1150 { 

1151 "name": "level3", 

1152 "in": "query", 

1153 "required": True, 

1154 "schema": { 

1155 "title": "Level3", 

1156 "type": "string", 

1157 }, 

1158 } 

1159 ], 

1160 "responses": { 

1161 "200": { 

1162 "description": "Successful Response", 

1163 "content": { 

1164 "application/json": {"schema": {}} 

1165 }, 

1166 }, 

1167 "422": { 

1168 "description": "Validation Error", 

1169 "content": { 

1170 "application/json": { 

1171 "schema": { 

1172 "$ref": "#/components/schemas/HTTPValidationError" 

1173 } 

1174 } 

1175 }, 

1176 }, 

1177 }, 

1178 } 

1179 } 

1180 }, 

1181 "callback4": { 

1182 "/": { 

1183 "get": { 

1184 "summary": "Callback4", 

1185 "operationId": "callback4__get", 

1186 "parameters": [ 

1187 { 

1188 "name": "level4", 

1189 "in": "query", 

1190 "required": True, 

1191 "schema": { 

1192 "title": "Level4", 

1193 "type": "string", 

1194 }, 

1195 } 

1196 ], 

1197 "responses": { 

1198 "200": { 

1199 "description": "Successful Response", 

1200 "content": { 

1201 "application/json": {"schema": {}} 

1202 }, 

1203 }, 

1204 "422": { 

1205 "description": "Validation Error", 

1206 "content": { 

1207 "application/json": { 

1208 "schema": { 

1209 "$ref": "#/components/schemas/HTTPValidationError" 

1210 } 

1211 } 

1212 }, 

1213 }, 

1214 }, 

1215 } 

1216 } 

1217 }, 

1218 "callback5": { 

1219 "/": { 

1220 "get": { 

1221 "summary": "Callback5", 

1222 "operationId": "callback5__get", 

1223 "parameters": [ 

1224 { 

1225 "name": "level5", 

1226 "in": "query", 

1227 "required": True, 

1228 "schema": { 

1229 "title": "Level5", 

1230 "type": "string", 

1231 }, 

1232 } 

1233 ], 

1234 "responses": { 

1235 "200": { 

1236 "description": "Successful Response", 

1237 "content": { 

1238 "application/json": {"schema": {}} 

1239 }, 

1240 }, 

1241 "422": { 

1242 "description": "Validation Error", 

1243 "content": { 

1244 "application/json": { 

1245 "schema": { 

1246 "$ref": "#/components/schemas/HTTPValidationError" 

1247 } 

1248 } 

1249 }, 

1250 }, 

1251 }, 

1252 } 

1253 } 

1254 }, 

1255 }, 

1256 "deprecated": True, 

1257 } 

1258 }, 

1259 "/level1/level2/level3/level4/default5": { 

1260 "get": { 

1261 "tags": [ 

1262 "level1a", 

1263 "level1b", 

1264 "level2a", 

1265 "level2b", 

1266 "level3a", 

1267 "level3b", 

1268 "level4a", 

1269 "level4b", 

1270 ], 

1271 "summary": "Path5 Default Router4 Override", 

1272 "operationId": "path5_default_router4_override_level1_level2_level3_level4_default5_get", 

1273 "parameters": [ 

1274 { 

1275 "required": True, 

1276 "schema": {"title": "Level5", "type": "string"}, 

1277 "name": "level5", 

1278 "in": "query", 

1279 } 

1280 ], 

1281 "responses": { 

1282 "200": { 

1283 "description": "Successful Response", 

1284 "content": {"application/x-level-4": {"schema": {}}}, 

1285 }, 

1286 "400": {"description": "Client error level 0"}, 

1287 "401": {"description": "Client error level 1"}, 

1288 "402": {"description": "Client error level 2"}, 

1289 "403": {"description": "Client error level 3"}, 

1290 "404": {"description": "Client error level 4"}, 

1291 "422": { 

1292 "description": "Validation Error", 

1293 "content": { 

1294 "application/json": { 

1295 "schema": { 

1296 "$ref": "#/components/schemas/HTTPValidationError" 

1297 } 

1298 } 

1299 }, 

1300 }, 

1301 "500": {"description": "Server error level 0"}, 

1302 "501": {"description": "Server error level 1"}, 

1303 "502": {"description": "Server error level 2"}, 

1304 "503": {"description": "Server error level 3"}, 

1305 "504": {"description": "Server error level 4"}, 

1306 }, 

1307 "callbacks": { 

1308 "callback0": { 

1309 "/": { 

1310 "get": { 

1311 "summary": "Callback0", 

1312 "operationId": "callback0__get", 

1313 "parameters": [ 

1314 { 

1315 "name": "level0", 

1316 "in": "query", 

1317 "required": True, 

1318 "schema": { 

1319 "title": "Level0", 

1320 "type": "string", 

1321 }, 

1322 } 

1323 ], 

1324 "responses": { 

1325 "200": { 

1326 "description": "Successful Response", 

1327 "content": { 

1328 "application/json": {"schema": {}} 

1329 }, 

1330 }, 

1331 "422": { 

1332 "description": "Validation Error", 

1333 "content": { 

1334 "application/json": { 

1335 "schema": { 

1336 "$ref": "#/components/schemas/HTTPValidationError" 

1337 } 

1338 } 

1339 }, 

1340 }, 

1341 }, 

1342 } 

1343 } 

1344 }, 

1345 "callback1": { 

1346 "/": { 

1347 "get": { 

1348 "summary": "Callback1", 

1349 "operationId": "callback1__get", 

1350 "parameters": [ 

1351 { 

1352 "name": "level1", 

1353 "in": "query", 

1354 "required": True, 

1355 "schema": { 

1356 "title": "Level1", 

1357 "type": "string", 

1358 }, 

1359 } 

1360 ], 

1361 "responses": { 

1362 "200": { 

1363 "description": "Successful Response", 

1364 "content": { 

1365 "application/json": {"schema": {}} 

1366 }, 

1367 }, 

1368 "422": { 

1369 "description": "Validation Error", 

1370 "content": { 

1371 "application/json": { 

1372 "schema": { 

1373 "$ref": "#/components/schemas/HTTPValidationError" 

1374 } 

1375 } 

1376 }, 

1377 }, 

1378 }, 

1379 } 

1380 } 

1381 }, 

1382 "callback2": { 

1383 "/": { 

1384 "get": { 

1385 "summary": "Callback2", 

1386 "operationId": "callback2__get", 

1387 "parameters": [ 

1388 { 

1389 "name": "level2", 

1390 "in": "query", 

1391 "required": True, 

1392 "schema": { 

1393 "title": "Level2", 

1394 "type": "string", 

1395 }, 

1396 } 

1397 ], 

1398 "responses": { 

1399 "200": { 

1400 "description": "Successful Response", 

1401 "content": { 

1402 "application/json": {"schema": {}} 

1403 }, 

1404 }, 

1405 "422": { 

1406 "description": "Validation Error", 

1407 "content": { 

1408 "application/json": { 

1409 "schema": { 

1410 "$ref": "#/components/schemas/HTTPValidationError" 

1411 } 

1412 } 

1413 }, 

1414 }, 

1415 }, 

1416 } 

1417 } 

1418 }, 

1419 "callback3": { 

1420 "/": { 

1421 "get": { 

1422 "summary": "Callback3", 

1423 "operationId": "callback3__get", 

1424 "parameters": [ 

1425 { 

1426 "name": "level3", 

1427 "in": "query", 

1428 "required": True, 

1429 "schema": { 

1430 "title": "Level3", 

1431 "type": "string", 

1432 }, 

1433 } 

1434 ], 

1435 "responses": { 

1436 "200": { 

1437 "description": "Successful Response", 

1438 "content": { 

1439 "application/json": {"schema": {}} 

1440 }, 

1441 }, 

1442 "422": { 

1443 "description": "Validation Error", 

1444 "content": { 

1445 "application/json": { 

1446 "schema": { 

1447 "$ref": "#/components/schemas/HTTPValidationError" 

1448 } 

1449 } 

1450 }, 

1451 }, 

1452 }, 

1453 } 

1454 } 

1455 }, 

1456 "callback4": { 

1457 "/": { 

1458 "get": { 

1459 "summary": "Callback4", 

1460 "operationId": "callback4__get", 

1461 "parameters": [ 

1462 { 

1463 "name": "level4", 

1464 "in": "query", 

1465 "required": True, 

1466 "schema": { 

1467 "title": "Level4", 

1468 "type": "string", 

1469 }, 

1470 } 

1471 ], 

1472 "responses": { 

1473 "200": { 

1474 "description": "Successful Response", 

1475 "content": { 

1476 "application/json": {"schema": {}} 

1477 }, 

1478 }, 

1479 "422": { 

1480 "description": "Validation Error", 

1481 "content": { 

1482 "application/json": { 

1483 "schema": { 

1484 "$ref": "#/components/schemas/HTTPValidationError" 

1485 } 

1486 } 

1487 }, 

1488 }, 

1489 }, 

1490 } 

1491 } 

1492 }, 

1493 }, 

1494 "deprecated": True, 

1495 } 

1496 }, 

1497 "/level1/level2/level3/override5": { 

1498 "get": { 

1499 "tags": [ 

1500 "level1a", 

1501 "level1b", 

1502 "level2a", 

1503 "level2b", 

1504 "level3a", 

1505 "level3b", 

1506 "path5a", 

1507 "path5b", 

1508 ], 

1509 "summary": "Path5 Override Router4 Default", 

1510 "operationId": "path5_override_router4_default_level1_level2_level3_override5_get", 

1511 "parameters": [ 

1512 { 

1513 "required": True, 

1514 "schema": {"title": "Level5", "type": "string"}, 

1515 "name": "level5", 

1516 "in": "query", 

1517 } 

1518 ], 

1519 "responses": { 

1520 "200": { 

1521 "description": "Successful Response", 

1522 "content": {"application/x-level-5": {"schema": {}}}, 

1523 }, 

1524 "400": {"description": "Client error level 0"}, 

1525 "401": {"description": "Client error level 1"}, 

1526 "402": {"description": "Client error level 2"}, 

1527 "403": {"description": "Client error level 3"}, 

1528 "405": {"description": "Client error level 5"}, 

1529 "422": { 

1530 "description": "Validation Error", 

1531 "content": { 

1532 "application/json": { 

1533 "schema": { 

1534 "$ref": "#/components/schemas/HTTPValidationError" 

1535 } 

1536 } 

1537 }, 

1538 }, 

1539 "500": {"description": "Server error level 0"}, 

1540 "501": {"description": "Server error level 1"}, 

1541 "502": {"description": "Server error level 2"}, 

1542 "503": {"description": "Server error level 3"}, 

1543 "505": {"description": "Server error level 5"}, 

1544 }, 

1545 "callbacks": { 

1546 "callback0": { 

1547 "/": { 

1548 "get": { 

1549 "summary": "Callback0", 

1550 "operationId": "callback0__get", 

1551 "parameters": [ 

1552 { 

1553 "name": "level0", 

1554 "in": "query", 

1555 "required": True, 

1556 "schema": { 

1557 "title": "Level0", 

1558 "type": "string", 

1559 }, 

1560 } 

1561 ], 

1562 "responses": { 

1563 "200": { 

1564 "description": "Successful Response", 

1565 "content": { 

1566 "application/json": {"schema": {}} 

1567 }, 

1568 }, 

1569 "422": { 

1570 "description": "Validation Error", 

1571 "content": { 

1572 "application/json": { 

1573 "schema": { 

1574 "$ref": "#/components/schemas/HTTPValidationError" 

1575 } 

1576 } 

1577 }, 

1578 }, 

1579 }, 

1580 } 

1581 } 

1582 }, 

1583 "callback1": { 

1584 "/": { 

1585 "get": { 

1586 "summary": "Callback1", 

1587 "operationId": "callback1__get", 

1588 "parameters": [ 

1589 { 

1590 "name": "level1", 

1591 "in": "query", 

1592 "required": True, 

1593 "schema": { 

1594 "title": "Level1", 

1595 "type": "string", 

1596 }, 

1597 } 

1598 ], 

1599 "responses": { 

1600 "200": { 

1601 "description": "Successful Response", 

1602 "content": { 

1603 "application/json": {"schema": {}} 

1604 }, 

1605 }, 

1606 "422": { 

1607 "description": "Validation Error", 

1608 "content": { 

1609 "application/json": { 

1610 "schema": { 

1611 "$ref": "#/components/schemas/HTTPValidationError" 

1612 } 

1613 } 

1614 }, 

1615 }, 

1616 }, 

1617 } 

1618 } 

1619 }, 

1620 "callback2": { 

1621 "/": { 

1622 "get": { 

1623 "summary": "Callback2", 

1624 "operationId": "callback2__get", 

1625 "parameters": [ 

1626 { 

1627 "name": "level2", 

1628 "in": "query", 

1629 "required": True, 

1630 "schema": { 

1631 "title": "Level2", 

1632 "type": "string", 

1633 }, 

1634 } 

1635 ], 

1636 "responses": { 

1637 "200": { 

1638 "description": "Successful Response", 

1639 "content": { 

1640 "application/json": {"schema": {}} 

1641 }, 

1642 }, 

1643 "422": { 

1644 "description": "Validation Error", 

1645 "content": { 

1646 "application/json": { 

1647 "schema": { 

1648 "$ref": "#/components/schemas/HTTPValidationError" 

1649 } 

1650 } 

1651 }, 

1652 }, 

1653 }, 

1654 } 

1655 } 

1656 }, 

1657 "callback3": { 

1658 "/": { 

1659 "get": { 

1660 "summary": "Callback3", 

1661 "operationId": "callback3__get", 

1662 "parameters": [ 

1663 { 

1664 "name": "level3", 

1665 "in": "query", 

1666 "required": True, 

1667 "schema": { 

1668 "title": "Level3", 

1669 "type": "string", 

1670 }, 

1671 } 

1672 ], 

1673 "responses": { 

1674 "200": { 

1675 "description": "Successful Response", 

1676 "content": { 

1677 "application/json": {"schema": {}} 

1678 }, 

1679 }, 

1680 "422": { 

1681 "description": "Validation Error", 

1682 "content": { 

1683 "application/json": { 

1684 "schema": { 

1685 "$ref": "#/components/schemas/HTTPValidationError" 

1686 } 

1687 } 

1688 }, 

1689 }, 

1690 }, 

1691 } 

1692 } 

1693 }, 

1694 "callback5": { 

1695 "/": { 

1696 "get": { 

1697 "summary": "Callback5", 

1698 "operationId": "callback5__get", 

1699 "parameters": [ 

1700 { 

1701 "name": "level5", 

1702 "in": "query", 

1703 "required": True, 

1704 "schema": { 

1705 "title": "Level5", 

1706 "type": "string", 

1707 }, 

1708 } 

1709 ], 

1710 "responses": { 

1711 "200": { 

1712 "description": "Successful Response", 

1713 "content": { 

1714 "application/json": {"schema": {}} 

1715 }, 

1716 }, 

1717 "422": { 

1718 "description": "Validation Error", 

1719 "content": { 

1720 "application/json": { 

1721 "schema": { 

1722 "$ref": "#/components/schemas/HTTPValidationError" 

1723 } 

1724 } 

1725 }, 

1726 }, 

1727 }, 

1728 } 

1729 } 

1730 }, 

1731 }, 

1732 "deprecated": True, 

1733 } 

1734 }, 

1735 "/level1/level2/level3/default5": { 

1736 "get": { 

1737 "tags": [ 

1738 "level1a", 

1739 "level1b", 

1740 "level2a", 

1741 "level2b", 

1742 "level3a", 

1743 "level3b", 

1744 ], 

1745 "summary": "Path5 Default Router4 Default", 

1746 "operationId": "path5_default_router4_default_level1_level2_level3_default5_get", 

1747 "parameters": [ 

1748 { 

1749 "required": True, 

1750 "schema": {"title": "Level5", "type": "string"}, 

1751 "name": "level5", 

1752 "in": "query", 

1753 } 

1754 ], 

1755 "responses": { 

1756 "200": { 

1757 "description": "Successful Response", 

1758 "content": {"application/x-level-3": {"schema": {}}}, 

1759 }, 

1760 "400": {"description": "Client error level 0"}, 

1761 "401": {"description": "Client error level 1"}, 

1762 "402": {"description": "Client error level 2"}, 

1763 "403": {"description": "Client error level 3"}, 

1764 "422": { 

1765 "description": "Validation Error", 

1766 "content": { 

1767 "application/json": { 

1768 "schema": { 

1769 "$ref": "#/components/schemas/HTTPValidationError" 

1770 } 

1771 } 

1772 }, 

1773 }, 

1774 "500": {"description": "Server error level 0"}, 

1775 "501": {"description": "Server error level 1"}, 

1776 "502": {"description": "Server error level 2"}, 

1777 "503": {"description": "Server error level 3"}, 

1778 }, 

1779 "callbacks": { 

1780 "callback0": { 

1781 "/": { 

1782 "get": { 

1783 "summary": "Callback0", 

1784 "operationId": "callback0__get", 

1785 "parameters": [ 

1786 { 

1787 "name": "level0", 

1788 "in": "query", 

1789 "required": True, 

1790 "schema": { 

1791 "title": "Level0", 

1792 "type": "string", 

1793 }, 

1794 } 

1795 ], 

1796 "responses": { 

1797 "200": { 

1798 "description": "Successful Response", 

1799 "content": { 

1800 "application/json": {"schema": {}} 

1801 }, 

1802 }, 

1803 "422": { 

1804 "description": "Validation Error", 

1805 "content": { 

1806 "application/json": { 

1807 "schema": { 

1808 "$ref": "#/components/schemas/HTTPValidationError" 

1809 } 

1810 } 

1811 }, 

1812 }, 

1813 }, 

1814 } 

1815 } 

1816 }, 

1817 "callback1": { 

1818 "/": { 

1819 "get": { 

1820 "summary": "Callback1", 

1821 "operationId": "callback1__get", 

1822 "parameters": [ 

1823 { 

1824 "name": "level1", 

1825 "in": "query", 

1826 "required": True, 

1827 "schema": { 

1828 "title": "Level1", 

1829 "type": "string", 

1830 }, 

1831 } 

1832 ], 

1833 "responses": { 

1834 "200": { 

1835 "description": "Successful Response", 

1836 "content": { 

1837 "application/json": {"schema": {}} 

1838 }, 

1839 }, 

1840 "422": { 

1841 "description": "Validation Error", 

1842 "content": { 

1843 "application/json": { 

1844 "schema": { 

1845 "$ref": "#/components/schemas/HTTPValidationError" 

1846 } 

1847 } 

1848 }, 

1849 }, 

1850 }, 

1851 } 

1852 } 

1853 }, 

1854 "callback2": { 

1855 "/": { 

1856 "get": { 

1857 "summary": "Callback2", 

1858 "operationId": "callback2__get", 

1859 "parameters": [ 

1860 { 

1861 "name": "level2", 

1862 "in": "query", 

1863 "required": True, 

1864 "schema": { 

1865 "title": "Level2", 

1866 "type": "string", 

1867 }, 

1868 } 

1869 ], 

1870 "responses": { 

1871 "200": { 

1872 "description": "Successful Response", 

1873 "content": { 

1874 "application/json": {"schema": {}} 

1875 }, 

1876 }, 

1877 "422": { 

1878 "description": "Validation Error", 

1879 "content": { 

1880 "application/json": { 

1881 "schema": { 

1882 "$ref": "#/components/schemas/HTTPValidationError" 

1883 } 

1884 } 

1885 }, 

1886 }, 

1887 }, 

1888 } 

1889 } 

1890 }, 

1891 "callback3": { 

1892 "/": { 

1893 "get": { 

1894 "summary": "Callback3", 

1895 "operationId": "callback3__get", 

1896 "parameters": [ 

1897 { 

1898 "name": "level3", 

1899 "in": "query", 

1900 "required": True, 

1901 "schema": { 

1902 "title": "Level3", 

1903 "type": "string", 

1904 }, 

1905 } 

1906 ], 

1907 "responses": { 

1908 "200": { 

1909 "description": "Successful Response", 

1910 "content": { 

1911 "application/json": {"schema": {}} 

1912 }, 

1913 }, 

1914 "422": { 

1915 "description": "Validation Error", 

1916 "content": { 

1917 "application/json": { 

1918 "schema": { 

1919 "$ref": "#/components/schemas/HTTPValidationError" 

1920 } 

1921 } 

1922 }, 

1923 }, 

1924 }, 

1925 } 

1926 } 

1927 }, 

1928 }, 

1929 "deprecated": True, 

1930 } 

1931 }, 

1932 "/level1/level2/level4/override5": { 

1933 "get": { 

1934 "tags": [ 

1935 "level1a", 

1936 "level1b", 

1937 "level2a", 

1938 "level2b", 

1939 "level4a", 

1940 "level4b", 

1941 "path5a", 

1942 "path5b", 

1943 ], 

1944 "summary": "Path5 Override Router4 Override", 

1945 "operationId": "path5_override_router4_override_level1_level2_level4_override5_get", 

1946 "parameters": [ 

1947 { 

1948 "required": True, 

1949 "schema": {"title": "Level5", "type": "string"}, 

1950 "name": "level5", 

1951 "in": "query", 

1952 } 

1953 ], 

1954 "responses": { 

1955 "200": { 

1956 "description": "Successful Response", 

1957 "content": {"application/x-level-5": {"schema": {}}}, 

1958 }, 

1959 "400": {"description": "Client error level 0"}, 

1960 "401": {"description": "Client error level 1"}, 

1961 "402": {"description": "Client error level 2"}, 

1962 "404": {"description": "Client error level 4"}, 

1963 "405": {"description": "Client error level 5"}, 

1964 "422": { 

1965 "description": "Validation Error", 

1966 "content": { 

1967 "application/json": { 

1968 "schema": { 

1969 "$ref": "#/components/schemas/HTTPValidationError" 

1970 } 

1971 } 

1972 }, 

1973 }, 

1974 "500": {"description": "Server error level 0"}, 

1975 "501": {"description": "Server error level 1"}, 

1976 "502": {"description": "Server error level 2"}, 

1977 "504": {"description": "Server error level 4"}, 

1978 "505": {"description": "Server error level 5"}, 

1979 }, 

1980 "callbacks": { 

1981 "callback0": { 

1982 "/": { 

1983 "get": { 

1984 "summary": "Callback0", 

1985 "operationId": "callback0__get", 

1986 "parameters": [ 

1987 { 

1988 "name": "level0", 

1989 "in": "query", 

1990 "required": True, 

1991 "schema": { 

1992 "title": "Level0", 

1993 "type": "string", 

1994 }, 

1995 } 

1996 ], 

1997 "responses": { 

1998 "200": { 

1999 "description": "Successful Response", 

2000 "content": { 

2001 "application/json": {"schema": {}} 

2002 }, 

2003 }, 

2004 "422": { 

2005 "description": "Validation Error", 

2006 "content": { 

2007 "application/json": { 

2008 "schema": { 

2009 "$ref": "#/components/schemas/HTTPValidationError" 

2010 } 

2011 } 

2012 }, 

2013 }, 

2014 }, 

2015 } 

2016 } 

2017 }, 

2018 "callback1": { 

2019 "/": { 

2020 "get": { 

2021 "summary": "Callback1", 

2022 "operationId": "callback1__get", 

2023 "parameters": [ 

2024 { 

2025 "name": "level1", 

2026 "in": "query", 

2027 "required": True, 

2028 "schema": { 

2029 "title": "Level1", 

2030 "type": "string", 

2031 }, 

2032 } 

2033 ], 

2034 "responses": { 

2035 "200": { 

2036 "description": "Successful Response", 

2037 "content": { 

2038 "application/json": {"schema": {}} 

2039 }, 

2040 }, 

2041 "422": { 

2042 "description": "Validation Error", 

2043 "content": { 

2044 "application/json": { 

2045 "schema": { 

2046 "$ref": "#/components/schemas/HTTPValidationError" 

2047 } 

2048 } 

2049 }, 

2050 }, 

2051 }, 

2052 } 

2053 } 

2054 }, 

2055 "callback2": { 

2056 "/": { 

2057 "get": { 

2058 "summary": "Callback2", 

2059 "operationId": "callback2__get", 

2060 "parameters": [ 

2061 { 

2062 "name": "level2", 

2063 "in": "query", 

2064 "required": True, 

2065 "schema": { 

2066 "title": "Level2", 

2067 "type": "string", 

2068 }, 

2069 } 

2070 ], 

2071 "responses": { 

2072 "200": { 

2073 "description": "Successful Response", 

2074 "content": { 

2075 "application/json": {"schema": {}} 

2076 }, 

2077 }, 

2078 "422": { 

2079 "description": "Validation Error", 

2080 "content": { 

2081 "application/json": { 

2082 "schema": { 

2083 "$ref": "#/components/schemas/HTTPValidationError" 

2084 } 

2085 } 

2086 }, 

2087 }, 

2088 }, 

2089 } 

2090 } 

2091 }, 

2092 "callback4": { 

2093 "/": { 

2094 "get": { 

2095 "summary": "Callback4", 

2096 "operationId": "callback4__get", 

2097 "parameters": [ 

2098 { 

2099 "name": "level4", 

2100 "in": "query", 

2101 "required": True, 

2102 "schema": { 

2103 "title": "Level4", 

2104 "type": "string", 

2105 }, 

2106 } 

2107 ], 

2108 "responses": { 

2109 "200": { 

2110 "description": "Successful Response", 

2111 "content": { 

2112 "application/json": {"schema": {}} 

2113 }, 

2114 }, 

2115 "422": { 

2116 "description": "Validation Error", 

2117 "content": { 

2118 "application/json": { 

2119 "schema": { 

2120 "$ref": "#/components/schemas/HTTPValidationError" 

2121 } 

2122 } 

2123 }, 

2124 }, 

2125 }, 

2126 } 

2127 } 

2128 }, 

2129 "callback5": { 

2130 "/": { 

2131 "get": { 

2132 "summary": "Callback5", 

2133 "operationId": "callback5__get", 

2134 "parameters": [ 

2135 { 

2136 "name": "level5", 

2137 "in": "query", 

2138 "required": True, 

2139 "schema": { 

2140 "title": "Level5", 

2141 "type": "string", 

2142 }, 

2143 } 

2144 ], 

2145 "responses": { 

2146 "200": { 

2147 "description": "Successful Response", 

2148 "content": { 

2149 "application/json": {"schema": {}} 

2150 }, 

2151 }, 

2152 "422": { 

2153 "description": "Validation Error", 

2154 "content": { 

2155 "application/json": { 

2156 "schema": { 

2157 "$ref": "#/components/schemas/HTTPValidationError" 

2158 } 

2159 } 

2160 }, 

2161 }, 

2162 }, 

2163 } 

2164 } 

2165 }, 

2166 }, 

2167 "deprecated": True, 

2168 } 

2169 }, 

2170 "/level1/level2/level4/default5": { 

2171 "get": { 

2172 "tags": [ 

2173 "level1a", 

2174 "level1b", 

2175 "level2a", 

2176 "level2b", 

2177 "level4a", 

2178 "level4b", 

2179 ], 

2180 "summary": "Path5 Default Router4 Override", 

2181 "operationId": "path5_default_router4_override_level1_level2_level4_default5_get", 

2182 "parameters": [ 

2183 { 

2184 "required": True, 

2185 "schema": {"title": "Level5", "type": "string"}, 

2186 "name": "level5", 

2187 "in": "query", 

2188 } 

2189 ], 

2190 "responses": { 

2191 "200": { 

2192 "description": "Successful Response", 

2193 "content": {"application/x-level-4": {"schema": {}}}, 

2194 }, 

2195 "400": {"description": "Client error level 0"}, 

2196 "401": {"description": "Client error level 1"}, 

2197 "402": {"description": "Client error level 2"}, 

2198 "404": {"description": "Client error level 4"}, 

2199 "422": { 

2200 "description": "Validation Error", 

2201 "content": { 

2202 "application/json": { 

2203 "schema": { 

2204 "$ref": "#/components/schemas/HTTPValidationError" 

2205 } 

2206 } 

2207 }, 

2208 }, 

2209 "500": {"description": "Server error level 0"}, 

2210 "501": {"description": "Server error level 1"}, 

2211 "502": {"description": "Server error level 2"}, 

2212 "504": {"description": "Server error level 4"}, 

2213 }, 

2214 "callbacks": { 

2215 "callback0": { 

2216 "/": { 

2217 "get": { 

2218 "summary": "Callback0", 

2219 "operationId": "callback0__get", 

2220 "parameters": [ 

2221 { 

2222 "name": "level0", 

2223 "in": "query", 

2224 "required": True, 

2225 "schema": { 

2226 "title": "Level0", 

2227 "type": "string", 

2228 }, 

2229 } 

2230 ], 

2231 "responses": { 

2232 "200": { 

2233 "description": "Successful Response", 

2234 "content": { 

2235 "application/json": {"schema": {}} 

2236 }, 

2237 }, 

2238 "422": { 

2239 "description": "Validation Error", 

2240 "content": { 

2241 "application/json": { 

2242 "schema": { 

2243 "$ref": "#/components/schemas/HTTPValidationError" 

2244 } 

2245 } 

2246 }, 

2247 }, 

2248 }, 

2249 } 

2250 } 

2251 }, 

2252 "callback1": { 

2253 "/": { 

2254 "get": { 

2255 "summary": "Callback1", 

2256 "operationId": "callback1__get", 

2257 "parameters": [ 

2258 { 

2259 "name": "level1", 

2260 "in": "query", 

2261 "required": True, 

2262 "schema": { 

2263 "title": "Level1", 

2264 "type": "string", 

2265 }, 

2266 } 

2267 ], 

2268 "responses": { 

2269 "200": { 

2270 "description": "Successful Response", 

2271 "content": { 

2272 "application/json": {"schema": {}} 

2273 }, 

2274 }, 

2275 "422": { 

2276 "description": "Validation Error", 

2277 "content": { 

2278 "application/json": { 

2279 "schema": { 

2280 "$ref": "#/components/schemas/HTTPValidationError" 

2281 } 

2282 } 

2283 }, 

2284 }, 

2285 }, 

2286 } 

2287 } 

2288 }, 

2289 "callback2": { 

2290 "/": { 

2291 "get": { 

2292 "summary": "Callback2", 

2293 "operationId": "callback2__get", 

2294 "parameters": [ 

2295 { 

2296 "name": "level2", 

2297 "in": "query", 

2298 "required": True, 

2299 "schema": { 

2300 "title": "Level2", 

2301 "type": "string", 

2302 }, 

2303 } 

2304 ], 

2305 "responses": { 

2306 "200": { 

2307 "description": "Successful Response", 

2308 "content": { 

2309 "application/json": {"schema": {}} 

2310 }, 

2311 }, 

2312 "422": { 

2313 "description": "Validation Error", 

2314 "content": { 

2315 "application/json": { 

2316 "schema": { 

2317 "$ref": "#/components/schemas/HTTPValidationError" 

2318 } 

2319 } 

2320 }, 

2321 }, 

2322 }, 

2323 } 

2324 } 

2325 }, 

2326 "callback4": { 

2327 "/": { 

2328 "get": { 

2329 "summary": "Callback4", 

2330 "operationId": "callback4__get", 

2331 "parameters": [ 

2332 { 

2333 "name": "level4", 

2334 "in": "query", 

2335 "required": True, 

2336 "schema": { 

2337 "title": "Level4", 

2338 "type": "string", 

2339 }, 

2340 } 

2341 ], 

2342 "responses": { 

2343 "200": { 

2344 "description": "Successful Response", 

2345 "content": { 

2346 "application/json": {"schema": {}} 

2347 }, 

2348 }, 

2349 "422": { 

2350 "description": "Validation Error", 

2351 "content": { 

2352 "application/json": { 

2353 "schema": { 

2354 "$ref": "#/components/schemas/HTTPValidationError" 

2355 } 

2356 } 

2357 }, 

2358 }, 

2359 }, 

2360 } 

2361 } 

2362 }, 

2363 }, 

2364 "deprecated": True, 

2365 } 

2366 }, 

2367 "/level1/level2/override5": { 

2368 "get": { 

2369 "tags": [ 

2370 "level1a", 

2371 "level1b", 

2372 "level2a", 

2373 "level2b", 

2374 "path5a", 

2375 "path5b", 

2376 ], 

2377 "summary": "Path5 Override Router4 Default", 

2378 "operationId": "path5_override_router4_default_level1_level2_override5_get", 

2379 "parameters": [ 

2380 { 

2381 "required": True, 

2382 "schema": {"title": "Level5", "type": "string"}, 

2383 "name": "level5", 

2384 "in": "query", 

2385 } 

2386 ], 

2387 "responses": { 

2388 "200": { 

2389 "description": "Successful Response", 

2390 "content": {"application/x-level-5": {"schema": {}}}, 

2391 }, 

2392 "400": {"description": "Client error level 0"}, 

2393 "401": {"description": "Client error level 1"}, 

2394 "402": {"description": "Client error level 2"}, 

2395 "405": {"description": "Client error level 5"}, 

2396 "422": { 

2397 "description": "Validation Error", 

2398 "content": { 

2399 "application/json": { 

2400 "schema": { 

2401 "$ref": "#/components/schemas/HTTPValidationError" 

2402 } 

2403 } 

2404 }, 

2405 }, 

2406 "500": {"description": "Server error level 0"}, 

2407 "501": {"description": "Server error level 1"}, 

2408 "502": {"description": "Server error level 2"}, 

2409 "505": {"description": "Server error level 5"}, 

2410 }, 

2411 "callbacks": { 

2412 "callback0": { 

2413 "/": { 

2414 "get": { 

2415 "summary": "Callback0", 

2416 "operationId": "callback0__get", 

2417 "parameters": [ 

2418 { 

2419 "name": "level0", 

2420 "in": "query", 

2421 "required": True, 

2422 "schema": { 

2423 "title": "Level0", 

2424 "type": "string", 

2425 }, 

2426 } 

2427 ], 

2428 "responses": { 

2429 "200": { 

2430 "description": "Successful Response", 

2431 "content": { 

2432 "application/json": {"schema": {}} 

2433 }, 

2434 }, 

2435 "422": { 

2436 "description": "Validation Error", 

2437 "content": { 

2438 "application/json": { 

2439 "schema": { 

2440 "$ref": "#/components/schemas/HTTPValidationError" 

2441 } 

2442 } 

2443 }, 

2444 }, 

2445 }, 

2446 } 

2447 } 

2448 }, 

2449 "callback1": { 

2450 "/": { 

2451 "get": { 

2452 "summary": "Callback1", 

2453 "operationId": "callback1__get", 

2454 "parameters": [ 

2455 { 

2456 "name": "level1", 

2457 "in": "query", 

2458 "required": True, 

2459 "schema": { 

2460 "title": "Level1", 

2461 "type": "string", 

2462 }, 

2463 } 

2464 ], 

2465 "responses": { 

2466 "200": { 

2467 "description": "Successful Response", 

2468 "content": { 

2469 "application/json": {"schema": {}} 

2470 }, 

2471 }, 

2472 "422": { 

2473 "description": "Validation Error", 

2474 "content": { 

2475 "application/json": { 

2476 "schema": { 

2477 "$ref": "#/components/schemas/HTTPValidationError" 

2478 } 

2479 } 

2480 }, 

2481 }, 

2482 }, 

2483 } 

2484 } 

2485 }, 

2486 "callback2": { 

2487 "/": { 

2488 "get": { 

2489 "summary": "Callback2", 

2490 "operationId": "callback2__get", 

2491 "parameters": [ 

2492 { 

2493 "name": "level2", 

2494 "in": "query", 

2495 "required": True, 

2496 "schema": { 

2497 "title": "Level2", 

2498 "type": "string", 

2499 }, 

2500 } 

2501 ], 

2502 "responses": { 

2503 "200": { 

2504 "description": "Successful Response", 

2505 "content": { 

2506 "application/json": {"schema": {}} 

2507 }, 

2508 }, 

2509 "422": { 

2510 "description": "Validation Error", 

2511 "content": { 

2512 "application/json": { 

2513 "schema": { 

2514 "$ref": "#/components/schemas/HTTPValidationError" 

2515 } 

2516 } 

2517 }, 

2518 }, 

2519 }, 

2520 } 

2521 } 

2522 }, 

2523 "callback5": { 

2524 "/": { 

2525 "get": { 

2526 "summary": "Callback5", 

2527 "operationId": "callback5__get", 

2528 "parameters": [ 

2529 { 

2530 "name": "level5", 

2531 "in": "query", 

2532 "required": True, 

2533 "schema": { 

2534 "title": "Level5", 

2535 "type": "string", 

2536 }, 

2537 } 

2538 ], 

2539 "responses": { 

2540 "200": { 

2541 "description": "Successful Response", 

2542 "content": { 

2543 "application/json": {"schema": {}} 

2544 }, 

2545 }, 

2546 "422": { 

2547 "description": "Validation Error", 

2548 "content": { 

2549 "application/json": { 

2550 "schema": { 

2551 "$ref": "#/components/schemas/HTTPValidationError" 

2552 } 

2553 } 

2554 }, 

2555 }, 

2556 }, 

2557 } 

2558 } 

2559 }, 

2560 }, 

2561 "deprecated": True, 

2562 } 

2563 }, 

2564 "/level1/level2/default5": { 

2565 "get": { 

2566 "tags": ["level1a", "level1b", "level2a", "level2b"], 

2567 "summary": "Path5 Default Router4 Default", 

2568 "operationId": "path5_default_router4_default_level1_level2_default5_get", 

2569 "parameters": [ 

2570 { 

2571 "required": True, 

2572 "schema": {"title": "Level5", "type": "string"}, 

2573 "name": "level5", 

2574 "in": "query", 

2575 } 

2576 ], 

2577 "responses": { 

2578 "200": { 

2579 "description": "Successful Response", 

2580 "content": {"application/x-level-2": {"schema": {}}}, 

2581 }, 

2582 "400": {"description": "Client error level 0"}, 

2583 "401": {"description": "Client error level 1"}, 

2584 "402": {"description": "Client error level 2"}, 

2585 "422": { 

2586 "description": "Validation Error", 

2587 "content": { 

2588 "application/json": { 

2589 "schema": { 

2590 "$ref": "#/components/schemas/HTTPValidationError" 

2591 } 

2592 } 

2593 }, 

2594 }, 

2595 "500": {"description": "Server error level 0"}, 

2596 "501": {"description": "Server error level 1"}, 

2597 "502": {"description": "Server error level 2"}, 

2598 }, 

2599 "callbacks": { 

2600 "callback0": { 

2601 "/": { 

2602 "get": { 

2603 "summary": "Callback0", 

2604 "operationId": "callback0__get", 

2605 "parameters": [ 

2606 { 

2607 "name": "level0", 

2608 "in": "query", 

2609 "required": True, 

2610 "schema": { 

2611 "title": "Level0", 

2612 "type": "string", 

2613 }, 

2614 } 

2615 ], 

2616 "responses": { 

2617 "200": { 

2618 "description": "Successful Response", 

2619 "content": { 

2620 "application/json": {"schema": {}} 

2621 }, 

2622 }, 

2623 "422": { 

2624 "description": "Validation Error", 

2625 "content": { 

2626 "application/json": { 

2627 "schema": { 

2628 "$ref": "#/components/schemas/HTTPValidationError" 

2629 } 

2630 } 

2631 }, 

2632 }, 

2633 }, 

2634 } 

2635 } 

2636 }, 

2637 "callback1": { 

2638 "/": { 

2639 "get": { 

2640 "summary": "Callback1", 

2641 "operationId": "callback1__get", 

2642 "parameters": [ 

2643 { 

2644 "name": "level1", 

2645 "in": "query", 

2646 "required": True, 

2647 "schema": { 

2648 "title": "Level1", 

2649 "type": "string", 

2650 }, 

2651 } 

2652 ], 

2653 "responses": { 

2654 "200": { 

2655 "description": "Successful Response", 

2656 "content": { 

2657 "application/json": {"schema": {}} 

2658 }, 

2659 }, 

2660 "422": { 

2661 "description": "Validation Error", 

2662 "content": { 

2663 "application/json": { 

2664 "schema": { 

2665 "$ref": "#/components/schemas/HTTPValidationError" 

2666 } 

2667 } 

2668 }, 

2669 }, 

2670 }, 

2671 } 

2672 } 

2673 }, 

2674 "callback2": { 

2675 "/": { 

2676 "get": { 

2677 "summary": "Callback2", 

2678 "operationId": "callback2__get", 

2679 "parameters": [ 

2680 { 

2681 "name": "level2", 

2682 "in": "query", 

2683 "required": True, 

2684 "schema": { 

2685 "title": "Level2", 

2686 "type": "string", 

2687 }, 

2688 } 

2689 ], 

2690 "responses": { 

2691 "200": { 

2692 "description": "Successful Response", 

2693 "content": { 

2694 "application/json": {"schema": {}} 

2695 }, 

2696 }, 

2697 "422": { 

2698 "description": "Validation Error", 

2699 "content": { 

2700 "application/json": { 

2701 "schema": { 

2702 "$ref": "#/components/schemas/HTTPValidationError" 

2703 } 

2704 } 

2705 }, 

2706 }, 

2707 }, 

2708 } 

2709 } 

2710 }, 

2711 }, 

2712 "deprecated": True, 

2713 } 

2714 }, 

2715 "/level1/override3": { 

2716 "get": { 

2717 "tags": ["level1a", "level1b", "path3a", "path3b"], 

2718 "summary": "Path3 Override Router2 Default", 

2719 "operationId": "path3_override_router2_default_level1_override3_get", 

2720 "parameters": [ 

2721 { 

2722 "required": True, 

2723 "schema": {"title": "Level3", "type": "string"}, 

2724 "name": "level3", 

2725 "in": "query", 

2726 } 

2727 ], 

2728 "responses": { 

2729 "200": { 

2730 "description": "Successful Response", 

2731 "content": {"application/x-level-3": {"schema": {}}}, 

2732 }, 

2733 "400": {"description": "Client error level 0"}, 

2734 "401": {"description": "Client error level 1"}, 

2735 "403": {"description": "Client error level 3"}, 

2736 "422": { 

2737 "description": "Validation Error", 

2738 "content": { 

2739 "application/json": { 

2740 "schema": { 

2741 "$ref": "#/components/schemas/HTTPValidationError" 

2742 } 

2743 } 

2744 }, 

2745 }, 

2746 "500": {"description": "Server error level 0"}, 

2747 "501": {"description": "Server error level 1"}, 

2748 "503": {"description": "Server error level 3"}, 

2749 }, 

2750 "callbacks": { 

2751 "callback0": { 

2752 "/": { 

2753 "get": { 

2754 "summary": "Callback0", 

2755 "operationId": "callback0__get", 

2756 "parameters": [ 

2757 { 

2758 "name": "level0", 

2759 "in": "query", 

2760 "required": True, 

2761 "schema": { 

2762 "title": "Level0", 

2763 "type": "string", 

2764 }, 

2765 } 

2766 ], 

2767 "responses": { 

2768 "200": { 

2769 "description": "Successful Response", 

2770 "content": { 

2771 "application/json": {"schema": {}} 

2772 }, 

2773 }, 

2774 "422": { 

2775 "description": "Validation Error", 

2776 "content": { 

2777 "application/json": { 

2778 "schema": { 

2779 "$ref": "#/components/schemas/HTTPValidationError" 

2780 } 

2781 } 

2782 }, 

2783 }, 

2784 }, 

2785 } 

2786 } 

2787 }, 

2788 "callback1": { 

2789 "/": { 

2790 "get": { 

2791 "summary": "Callback1", 

2792 "operationId": "callback1__get", 

2793 "parameters": [ 

2794 { 

2795 "name": "level1", 

2796 "in": "query", 

2797 "required": True, 

2798 "schema": { 

2799 "title": "Level1", 

2800 "type": "string", 

2801 }, 

2802 } 

2803 ], 

2804 "responses": { 

2805 "200": { 

2806 "description": "Successful Response", 

2807 "content": { 

2808 "application/json": {"schema": {}} 

2809 }, 

2810 }, 

2811 "422": { 

2812 "description": "Validation Error", 

2813 "content": { 

2814 "application/json": { 

2815 "schema": { 

2816 "$ref": "#/components/schemas/HTTPValidationError" 

2817 } 

2818 } 

2819 }, 

2820 }, 

2821 }, 

2822 } 

2823 } 

2824 }, 

2825 "callback3": { 

2826 "/": { 

2827 "get": { 

2828 "summary": "Callback3", 

2829 "operationId": "callback3__get", 

2830 "parameters": [ 

2831 { 

2832 "name": "level3", 

2833 "in": "query", 

2834 "required": True, 

2835 "schema": { 

2836 "title": "Level3", 

2837 "type": "string", 

2838 }, 

2839 } 

2840 ], 

2841 "responses": { 

2842 "200": { 

2843 "description": "Successful Response", 

2844 "content": { 

2845 "application/json": {"schema": {}} 

2846 }, 

2847 }, 

2848 "422": { 

2849 "description": "Validation Error", 

2850 "content": { 

2851 "application/json": { 

2852 "schema": { 

2853 "$ref": "#/components/schemas/HTTPValidationError" 

2854 } 

2855 } 

2856 }, 

2857 }, 

2858 }, 

2859 } 

2860 } 

2861 }, 

2862 }, 

2863 "deprecated": True, 

2864 } 

2865 }, 

2866 "/level1/default3": { 

2867 "get": { 

2868 "tags": ["level1a", "level1b"], 

2869 "summary": "Path3 Default Router2 Default", 

2870 "operationId": "path3_default_router2_default_level1_default3_get", 

2871 "parameters": [ 

2872 { 

2873 "required": True, 

2874 "schema": {"title": "Level3", "type": "string"}, 

2875 "name": "level3", 

2876 "in": "query", 

2877 } 

2878 ], 

2879 "responses": { 

2880 "200": { 

2881 "description": "Successful Response", 

2882 "content": {"application/x-level-1": {"schema": {}}}, 

2883 }, 

2884 "400": {"description": "Client error level 0"}, 

2885 "401": {"description": "Client error level 1"}, 

2886 "422": { 

2887 "description": "Validation Error", 

2888 "content": { 

2889 "application/json": { 

2890 "schema": { 

2891 "$ref": "#/components/schemas/HTTPValidationError" 

2892 } 

2893 } 

2894 }, 

2895 }, 

2896 "500": {"description": "Server error level 0"}, 

2897 "501": {"description": "Server error level 1"}, 

2898 }, 

2899 "callbacks": { 

2900 "callback0": { 

2901 "/": { 

2902 "get": { 

2903 "summary": "Callback0", 

2904 "operationId": "callback0__get", 

2905 "parameters": [ 

2906 { 

2907 "name": "level0", 

2908 "in": "query", 

2909 "required": True, 

2910 "schema": { 

2911 "title": "Level0", 

2912 "type": "string", 

2913 }, 

2914 } 

2915 ], 

2916 "responses": { 

2917 "200": { 

2918 "description": "Successful Response", 

2919 "content": { 

2920 "application/json": {"schema": {}} 

2921 }, 

2922 }, 

2923 "422": { 

2924 "description": "Validation Error", 

2925 "content": { 

2926 "application/json": { 

2927 "schema": { 

2928 "$ref": "#/components/schemas/HTTPValidationError" 

2929 } 

2930 } 

2931 }, 

2932 }, 

2933 }, 

2934 } 

2935 } 

2936 }, 

2937 "callback1": { 

2938 "/": { 

2939 "get": { 

2940 "summary": "Callback1", 

2941 "operationId": "callback1__get", 

2942 "parameters": [ 

2943 { 

2944 "name": "level1", 

2945 "in": "query", 

2946 "required": True, 

2947 "schema": { 

2948 "title": "Level1", 

2949 "type": "string", 

2950 }, 

2951 } 

2952 ], 

2953 "responses": { 

2954 "200": { 

2955 "description": "Successful Response", 

2956 "content": { 

2957 "application/json": {"schema": {}} 

2958 }, 

2959 }, 

2960 "422": { 

2961 "description": "Validation Error", 

2962 "content": { 

2963 "application/json": { 

2964 "schema": { 

2965 "$ref": "#/components/schemas/HTTPValidationError" 

2966 } 

2967 } 

2968 }, 

2969 }, 

2970 }, 

2971 } 

2972 } 

2973 }, 

2974 }, 

2975 } 

2976 }, 

2977 "/level1/level3/level4/override5": { 

2978 "get": { 

2979 "tags": [ 

2980 "level1a", 

2981 "level1b", 

2982 "level3a", 

2983 "level3b", 

2984 "level4a", 

2985 "level4b", 

2986 "path5a", 

2987 "path5b", 

2988 ], 

2989 "summary": "Path5 Override Router4 Override", 

2990 "operationId": "path5_override_router4_override_level1_level3_level4_override5_get", 

2991 "parameters": [ 

2992 { 

2993 "required": True, 

2994 "schema": {"title": "Level5", "type": "string"}, 

2995 "name": "level5", 

2996 "in": "query", 

2997 } 

2998 ], 

2999 "responses": { 

3000 "200": { 

3001 "description": "Successful Response", 

3002 "content": {"application/x-level-5": {"schema": {}}}, 

3003 }, 

3004 "400": {"description": "Client error level 0"}, 

3005 "401": {"description": "Client error level 1"}, 

3006 "403": {"description": "Client error level 3"}, 

3007 "404": {"description": "Client error level 4"}, 

3008 "405": {"description": "Client error level 5"}, 

3009 "422": { 

3010 "description": "Validation Error", 

3011 "content": { 

3012 "application/json": { 

3013 "schema": { 

3014 "$ref": "#/components/schemas/HTTPValidationError" 

3015 } 

3016 } 

3017 }, 

3018 }, 

3019 "500": {"description": "Server error level 0"}, 

3020 "501": {"description": "Server error level 1"}, 

3021 "503": {"description": "Server error level 3"}, 

3022 "504": {"description": "Server error level 4"}, 

3023 "505": {"description": "Server error level 5"}, 

3024 }, 

3025 "callbacks": { 

3026 "callback0": { 

3027 "/": { 

3028 "get": { 

3029 "summary": "Callback0", 

3030 "operationId": "callback0__get", 

3031 "parameters": [ 

3032 { 

3033 "name": "level0", 

3034 "in": "query", 

3035 "required": True, 

3036 "schema": { 

3037 "title": "Level0", 

3038 "type": "string", 

3039 }, 

3040 } 

3041 ], 

3042 "responses": { 

3043 "200": { 

3044 "description": "Successful Response", 

3045 "content": { 

3046 "application/json": {"schema": {}} 

3047 }, 

3048 }, 

3049 "422": { 

3050 "description": "Validation Error", 

3051 "content": { 

3052 "application/json": { 

3053 "schema": { 

3054 "$ref": "#/components/schemas/HTTPValidationError" 

3055 } 

3056 } 

3057 }, 

3058 }, 

3059 }, 

3060 } 

3061 } 

3062 }, 

3063 "callback1": { 

3064 "/": { 

3065 "get": { 

3066 "summary": "Callback1", 

3067 "operationId": "callback1__get", 

3068 "parameters": [ 

3069 { 

3070 "name": "level1", 

3071 "in": "query", 

3072 "required": True, 

3073 "schema": { 

3074 "title": "Level1", 

3075 "type": "string", 

3076 }, 

3077 } 

3078 ], 

3079 "responses": { 

3080 "200": { 

3081 "description": "Successful Response", 

3082 "content": { 

3083 "application/json": {"schema": {}} 

3084 }, 

3085 }, 

3086 "422": { 

3087 "description": "Validation Error", 

3088 "content": { 

3089 "application/json": { 

3090 "schema": { 

3091 "$ref": "#/components/schemas/HTTPValidationError" 

3092 } 

3093 } 

3094 }, 

3095 }, 

3096 }, 

3097 } 

3098 } 

3099 }, 

3100 "callback3": { 

3101 "/": { 

3102 "get": { 

3103 "summary": "Callback3", 

3104 "operationId": "callback3__get", 

3105 "parameters": [ 

3106 { 

3107 "name": "level3", 

3108 "in": "query", 

3109 "required": True, 

3110 "schema": { 

3111 "title": "Level3", 

3112 "type": "string", 

3113 }, 

3114 } 

3115 ], 

3116 "responses": { 

3117 "200": { 

3118 "description": "Successful Response", 

3119 "content": { 

3120 "application/json": {"schema": {}} 

3121 }, 

3122 }, 

3123 "422": { 

3124 "description": "Validation Error", 

3125 "content": { 

3126 "application/json": { 

3127 "schema": { 

3128 "$ref": "#/components/schemas/HTTPValidationError" 

3129 } 

3130 } 

3131 }, 

3132 }, 

3133 }, 

3134 } 

3135 } 

3136 }, 

3137 "callback4": { 

3138 "/": { 

3139 "get": { 

3140 "summary": "Callback4", 

3141 "operationId": "callback4__get", 

3142 "parameters": [ 

3143 { 

3144 "name": "level4", 

3145 "in": "query", 

3146 "required": True, 

3147 "schema": { 

3148 "title": "Level4", 

3149 "type": "string", 

3150 }, 

3151 } 

3152 ], 

3153 "responses": { 

3154 "200": { 

3155 "description": "Successful Response", 

3156 "content": { 

3157 "application/json": {"schema": {}} 

3158 }, 

3159 }, 

3160 "422": { 

3161 "description": "Validation Error", 

3162 "content": { 

3163 "application/json": { 

3164 "schema": { 

3165 "$ref": "#/components/schemas/HTTPValidationError" 

3166 } 

3167 } 

3168 }, 

3169 }, 

3170 }, 

3171 } 

3172 } 

3173 }, 

3174 "callback5": { 

3175 "/": { 

3176 "get": { 

3177 "summary": "Callback5", 

3178 "operationId": "callback5__get", 

3179 "parameters": [ 

3180 { 

3181 "name": "level5", 

3182 "in": "query", 

3183 "required": True, 

3184 "schema": { 

3185 "title": "Level5", 

3186 "type": "string", 

3187 }, 

3188 } 

3189 ], 

3190 "responses": { 

3191 "200": { 

3192 "description": "Successful Response", 

3193 "content": { 

3194 "application/json": {"schema": {}} 

3195 }, 

3196 }, 

3197 "422": { 

3198 "description": "Validation Error", 

3199 "content": { 

3200 "application/json": { 

3201 "schema": { 

3202 "$ref": "#/components/schemas/HTTPValidationError" 

3203 } 

3204 } 

3205 }, 

3206 }, 

3207 }, 

3208 } 

3209 } 

3210 }, 

3211 }, 

3212 "deprecated": True, 

3213 } 

3214 }, 

3215 "/level1/level3/level4/default5": { 

3216 "get": { 

3217 "tags": [ 

3218 "level1a", 

3219 "level1b", 

3220 "level3a", 

3221 "level3b", 

3222 "level4a", 

3223 "level4b", 

3224 ], 

3225 "summary": "Path5 Default Router4 Override", 

3226 "operationId": "path5_default_router4_override_level1_level3_level4_default5_get", 

3227 "parameters": [ 

3228 { 

3229 "required": True, 

3230 "schema": {"title": "Level5", "type": "string"}, 

3231 "name": "level5", 

3232 "in": "query", 

3233 } 

3234 ], 

3235 "responses": { 

3236 "200": { 

3237 "description": "Successful Response", 

3238 "content": {"application/x-level-4": {"schema": {}}}, 

3239 }, 

3240 "400": {"description": "Client error level 0"}, 

3241 "401": {"description": "Client error level 1"}, 

3242 "403": {"description": "Client error level 3"}, 

3243 "404": {"description": "Client error level 4"}, 

3244 "422": { 

3245 "description": "Validation Error", 

3246 "content": { 

3247 "application/json": { 

3248 "schema": { 

3249 "$ref": "#/components/schemas/HTTPValidationError" 

3250 } 

3251 } 

3252 }, 

3253 }, 

3254 "500": {"description": "Server error level 0"}, 

3255 "501": {"description": "Server error level 1"}, 

3256 "503": {"description": "Server error level 3"}, 

3257 "504": {"description": "Server error level 4"}, 

3258 }, 

3259 "callbacks": { 

3260 "callback0": { 

3261 "/": { 

3262 "get": { 

3263 "summary": "Callback0", 

3264 "operationId": "callback0__get", 

3265 "parameters": [ 

3266 { 

3267 "name": "level0", 

3268 "in": "query", 

3269 "required": True, 

3270 "schema": { 

3271 "title": "Level0", 

3272 "type": "string", 

3273 }, 

3274 } 

3275 ], 

3276 "responses": { 

3277 "200": { 

3278 "description": "Successful Response", 

3279 "content": { 

3280 "application/json": {"schema": {}} 

3281 }, 

3282 }, 

3283 "422": { 

3284 "description": "Validation Error", 

3285 "content": { 

3286 "application/json": { 

3287 "schema": { 

3288 "$ref": "#/components/schemas/HTTPValidationError" 

3289 } 

3290 } 

3291 }, 

3292 }, 

3293 }, 

3294 } 

3295 } 

3296 }, 

3297 "callback1": { 

3298 "/": { 

3299 "get": { 

3300 "summary": "Callback1", 

3301 "operationId": "callback1__get", 

3302 "parameters": [ 

3303 { 

3304 "name": "level1", 

3305 "in": "query", 

3306 "required": True, 

3307 "schema": { 

3308 "title": "Level1", 

3309 "type": "string", 

3310 }, 

3311 } 

3312 ], 

3313 "responses": { 

3314 "200": { 

3315 "description": "Successful Response", 

3316 "content": { 

3317 "application/json": {"schema": {}} 

3318 }, 

3319 }, 

3320 "422": { 

3321 "description": "Validation Error", 

3322 "content": { 

3323 "application/json": { 

3324 "schema": { 

3325 "$ref": "#/components/schemas/HTTPValidationError" 

3326 } 

3327 } 

3328 }, 

3329 }, 

3330 }, 

3331 } 

3332 } 

3333 }, 

3334 "callback3": { 

3335 "/": { 

3336 "get": { 

3337 "summary": "Callback3", 

3338 "operationId": "callback3__get", 

3339 "parameters": [ 

3340 { 

3341 "name": "level3", 

3342 "in": "query", 

3343 "required": True, 

3344 "schema": { 

3345 "title": "Level3", 

3346 "type": "string", 

3347 }, 

3348 } 

3349 ], 

3350 "responses": { 

3351 "200": { 

3352 "description": "Successful Response", 

3353 "content": { 

3354 "application/json": {"schema": {}} 

3355 }, 

3356 }, 

3357 "422": { 

3358 "description": "Validation Error", 

3359 "content": { 

3360 "application/json": { 

3361 "schema": { 

3362 "$ref": "#/components/schemas/HTTPValidationError" 

3363 } 

3364 } 

3365 }, 

3366 }, 

3367 }, 

3368 } 

3369 } 

3370 }, 

3371 "callback4": { 

3372 "/": { 

3373 "get": { 

3374 "summary": "Callback4", 

3375 "operationId": "callback4__get", 

3376 "parameters": [ 

3377 { 

3378 "name": "level4", 

3379 "in": "query", 

3380 "required": True, 

3381 "schema": { 

3382 "title": "Level4", 

3383 "type": "string", 

3384 }, 

3385 } 

3386 ], 

3387 "responses": { 

3388 "200": { 

3389 "description": "Successful Response", 

3390 "content": { 

3391 "application/json": {"schema": {}} 

3392 }, 

3393 }, 

3394 "422": { 

3395 "description": "Validation Error", 

3396 "content": { 

3397 "application/json": { 

3398 "schema": { 

3399 "$ref": "#/components/schemas/HTTPValidationError" 

3400 } 

3401 } 

3402 }, 

3403 }, 

3404 }, 

3405 } 

3406 } 

3407 }, 

3408 }, 

3409 "deprecated": True, 

3410 } 

3411 }, 

3412 "/level1/level3/override5": { 

3413 "get": { 

3414 "tags": [ 

3415 "level1a", 

3416 "level1b", 

3417 "level3a", 

3418 "level3b", 

3419 "path5a", 

3420 "path5b", 

3421 ], 

3422 "summary": "Path5 Override Router4 Default", 

3423 "operationId": "path5_override_router4_default_level1_level3_override5_get", 

3424 "parameters": [ 

3425 { 

3426 "required": True, 

3427 "schema": {"title": "Level5", "type": "string"}, 

3428 "name": "level5", 

3429 "in": "query", 

3430 } 

3431 ], 

3432 "responses": { 

3433 "200": { 

3434 "description": "Successful Response", 

3435 "content": {"application/x-level-5": {"schema": {}}}, 

3436 }, 

3437 "400": {"description": "Client error level 0"}, 

3438 "401": {"description": "Client error level 1"}, 

3439 "403": {"description": "Client error level 3"}, 

3440 "405": {"description": "Client error level 5"}, 

3441 "422": { 

3442 "description": "Validation Error", 

3443 "content": { 

3444 "application/json": { 

3445 "schema": { 

3446 "$ref": "#/components/schemas/HTTPValidationError" 

3447 } 

3448 } 

3449 }, 

3450 }, 

3451 "500": {"description": "Server error level 0"}, 

3452 "501": {"description": "Server error level 1"}, 

3453 "503": {"description": "Server error level 3"}, 

3454 "505": {"description": "Server error level 5"}, 

3455 }, 

3456 "callbacks": { 

3457 "callback0": { 

3458 "/": { 

3459 "get": { 

3460 "summary": "Callback0", 

3461 "operationId": "callback0__get", 

3462 "parameters": [ 

3463 { 

3464 "name": "level0", 

3465 "in": "query", 

3466 "required": True, 

3467 "schema": { 

3468 "title": "Level0", 

3469 "type": "string", 

3470 }, 

3471 } 

3472 ], 

3473 "responses": { 

3474 "200": { 

3475 "description": "Successful Response", 

3476 "content": { 

3477 "application/json": {"schema": {}} 

3478 }, 

3479 }, 

3480 "422": { 

3481 "description": "Validation Error", 

3482 "content": { 

3483 "application/json": { 

3484 "schema": { 

3485 "$ref": "#/components/schemas/HTTPValidationError" 

3486 } 

3487 } 

3488 }, 

3489 }, 

3490 }, 

3491 } 

3492 } 

3493 }, 

3494 "callback1": { 

3495 "/": { 

3496 "get": { 

3497 "summary": "Callback1", 

3498 "operationId": "callback1__get", 

3499 "parameters": [ 

3500 { 

3501 "name": "level1", 

3502 "in": "query", 

3503 "required": True, 

3504 "schema": { 

3505 "title": "Level1", 

3506 "type": "string", 

3507 }, 

3508 } 

3509 ], 

3510 "responses": { 

3511 "200": { 

3512 "description": "Successful Response", 

3513 "content": { 

3514 "application/json": {"schema": {}} 

3515 }, 

3516 }, 

3517 "422": { 

3518 "description": "Validation Error", 

3519 "content": { 

3520 "application/json": { 

3521 "schema": { 

3522 "$ref": "#/components/schemas/HTTPValidationError" 

3523 } 

3524 } 

3525 }, 

3526 }, 

3527 }, 

3528 } 

3529 } 

3530 }, 

3531 "callback3": { 

3532 "/": { 

3533 "get": { 

3534 "summary": "Callback3", 

3535 "operationId": "callback3__get", 

3536 "parameters": [ 

3537 { 

3538 "name": "level3", 

3539 "in": "query", 

3540 "required": True, 

3541 "schema": { 

3542 "title": "Level3", 

3543 "type": "string", 

3544 }, 

3545 } 

3546 ], 

3547 "responses": { 

3548 "200": { 

3549 "description": "Successful Response", 

3550 "content": { 

3551 "application/json": {"schema": {}} 

3552 }, 

3553 }, 

3554 "422": { 

3555 "description": "Validation Error", 

3556 "content": { 

3557 "application/json": { 

3558 "schema": { 

3559 "$ref": "#/components/schemas/HTTPValidationError" 

3560 } 

3561 } 

3562 }, 

3563 }, 

3564 }, 

3565 } 

3566 } 

3567 }, 

3568 "callback5": { 

3569 "/": { 

3570 "get": { 

3571 "summary": "Callback5", 

3572 "operationId": "callback5__get", 

3573 "parameters": [ 

3574 { 

3575 "name": "level5", 

3576 "in": "query", 

3577 "required": True, 

3578 "schema": { 

3579 "title": "Level5", 

3580 "type": "string", 

3581 }, 

3582 } 

3583 ], 

3584 "responses": { 

3585 "200": { 

3586 "description": "Successful Response", 

3587 "content": { 

3588 "application/json": {"schema": {}} 

3589 }, 

3590 }, 

3591 "422": { 

3592 "description": "Validation Error", 

3593 "content": { 

3594 "application/json": { 

3595 "schema": { 

3596 "$ref": "#/components/schemas/HTTPValidationError" 

3597 } 

3598 } 

3599 }, 

3600 }, 

3601 }, 

3602 } 

3603 } 

3604 }, 

3605 }, 

3606 "deprecated": True, 

3607 } 

3608 }, 

3609 "/level1/level3/default5": { 

3610 "get": { 

3611 "tags": ["level1a", "level1b", "level3a", "level3b"], 

3612 "summary": "Path5 Default Router4 Default", 

3613 "operationId": "path5_default_router4_default_level1_level3_default5_get", 

3614 "parameters": [ 

3615 { 

3616 "required": True, 

3617 "schema": {"title": "Level5", "type": "string"}, 

3618 "name": "level5", 

3619 "in": "query", 

3620 } 

3621 ], 

3622 "responses": { 

3623 "200": { 

3624 "description": "Successful Response", 

3625 "content": {"application/x-level-3": {"schema": {}}}, 

3626 }, 

3627 "400": {"description": "Client error level 0"}, 

3628 "401": {"description": "Client error level 1"}, 

3629 "403": {"description": "Client error level 3"}, 

3630 "422": { 

3631 "description": "Validation Error", 

3632 "content": { 

3633 "application/json": { 

3634 "schema": { 

3635 "$ref": "#/components/schemas/HTTPValidationError" 

3636 } 

3637 } 

3638 }, 

3639 }, 

3640 "500": {"description": "Server error level 0"}, 

3641 "501": {"description": "Server error level 1"}, 

3642 "503": {"description": "Server error level 3"}, 

3643 }, 

3644 "callbacks": { 

3645 "callback0": { 

3646 "/": { 

3647 "get": { 

3648 "summary": "Callback0", 

3649 "operationId": "callback0__get", 

3650 "parameters": [ 

3651 { 

3652 "name": "level0", 

3653 "in": "query", 

3654 "required": True, 

3655 "schema": { 

3656 "title": "Level0", 

3657 "type": "string", 

3658 }, 

3659 } 

3660 ], 

3661 "responses": { 

3662 "200": { 

3663 "description": "Successful Response", 

3664 "content": { 

3665 "application/json": {"schema": {}} 

3666 }, 

3667 }, 

3668 "422": { 

3669 "description": "Validation Error", 

3670 "content": { 

3671 "application/json": { 

3672 "schema": { 

3673 "$ref": "#/components/schemas/HTTPValidationError" 

3674 } 

3675 } 

3676 }, 

3677 }, 

3678 }, 

3679 } 

3680 } 

3681 }, 

3682 "callback1": { 

3683 "/": { 

3684 "get": { 

3685 "summary": "Callback1", 

3686 "operationId": "callback1__get", 

3687 "parameters": [ 

3688 { 

3689 "name": "level1", 

3690 "in": "query", 

3691 "required": True, 

3692 "schema": { 

3693 "title": "Level1", 

3694 "type": "string", 

3695 }, 

3696 } 

3697 ], 

3698 "responses": { 

3699 "200": { 

3700 "description": "Successful Response", 

3701 "content": { 

3702 "application/json": {"schema": {}} 

3703 }, 

3704 }, 

3705 "422": { 

3706 "description": "Validation Error", 

3707 "content": { 

3708 "application/json": { 

3709 "schema": { 

3710 "$ref": "#/components/schemas/HTTPValidationError" 

3711 } 

3712 } 

3713 }, 

3714 }, 

3715 }, 

3716 } 

3717 } 

3718 }, 

3719 "callback3": { 

3720 "/": { 

3721 "get": { 

3722 "summary": "Callback3", 

3723 "operationId": "callback3__get", 

3724 "parameters": [ 

3725 { 

3726 "name": "level3", 

3727 "in": "query", 

3728 "required": True, 

3729 "schema": { 

3730 "title": "Level3", 

3731 "type": "string", 

3732 }, 

3733 } 

3734 ], 

3735 "responses": { 

3736 "200": { 

3737 "description": "Successful Response", 

3738 "content": { 

3739 "application/json": {"schema": {}} 

3740 }, 

3741 }, 

3742 "422": { 

3743 "description": "Validation Error", 

3744 "content": { 

3745 "application/json": { 

3746 "schema": { 

3747 "$ref": "#/components/schemas/HTTPValidationError" 

3748 } 

3749 } 

3750 }, 

3751 }, 

3752 }, 

3753 } 

3754 } 

3755 }, 

3756 }, 

3757 } 

3758 }, 

3759 "/level1/level4/override5": { 

3760 "get": { 

3761 "tags": [ 

3762 "level1a", 

3763 "level1b", 

3764 "level4a", 

3765 "level4b", 

3766 "path5a", 

3767 "path5b", 

3768 ], 

3769 "summary": "Path5 Override Router4 Override", 

3770 "operationId": "path5_override_router4_override_level1_level4_override5_get", 

3771 "parameters": [ 

3772 { 

3773 "required": True, 

3774 "schema": {"title": "Level5", "type": "string"}, 

3775 "name": "level5", 

3776 "in": "query", 

3777 } 

3778 ], 

3779 "responses": { 

3780 "200": { 

3781 "description": "Successful Response", 

3782 "content": {"application/x-level-5": {"schema": {}}}, 

3783 }, 

3784 "400": {"description": "Client error level 0"}, 

3785 "401": {"description": "Client error level 1"}, 

3786 "404": {"description": "Client error level 4"}, 

3787 "405": {"description": "Client error level 5"}, 

3788 "422": { 

3789 "description": "Validation Error", 

3790 "content": { 

3791 "application/json": { 

3792 "schema": { 

3793 "$ref": "#/components/schemas/HTTPValidationError" 

3794 } 

3795 } 

3796 }, 

3797 }, 

3798 "500": {"description": "Server error level 0"}, 

3799 "501": {"description": "Server error level 1"}, 

3800 "504": {"description": "Server error level 4"}, 

3801 "505": {"description": "Server error level 5"}, 

3802 }, 

3803 "callbacks": { 

3804 "callback0": { 

3805 "/": { 

3806 "get": { 

3807 "summary": "Callback0", 

3808 "operationId": "callback0__get", 

3809 "parameters": [ 

3810 { 

3811 "name": "level0", 

3812 "in": "query", 

3813 "required": True, 

3814 "schema": { 

3815 "title": "Level0", 

3816 "type": "string", 

3817 }, 

3818 } 

3819 ], 

3820 "responses": { 

3821 "200": { 

3822 "description": "Successful Response", 

3823 "content": { 

3824 "application/json": {"schema": {}} 

3825 }, 

3826 }, 

3827 "422": { 

3828 "description": "Validation Error", 

3829 "content": { 

3830 "application/json": { 

3831 "schema": { 

3832 "$ref": "#/components/schemas/HTTPValidationError" 

3833 } 

3834 } 

3835 }, 

3836 }, 

3837 }, 

3838 } 

3839 } 

3840 }, 

3841 "callback1": { 

3842 "/": { 

3843 "get": { 

3844 "summary": "Callback1", 

3845 "operationId": "callback1__get", 

3846 "parameters": [ 

3847 { 

3848 "name": "level1", 

3849 "in": "query", 

3850 "required": True, 

3851 "schema": { 

3852 "title": "Level1", 

3853 "type": "string", 

3854 }, 

3855 } 

3856 ], 

3857 "responses": { 

3858 "200": { 

3859 "description": "Successful Response", 

3860 "content": { 

3861 "application/json": {"schema": {}} 

3862 }, 

3863 }, 

3864 "422": { 

3865 "description": "Validation Error", 

3866 "content": { 

3867 "application/json": { 

3868 "schema": { 

3869 "$ref": "#/components/schemas/HTTPValidationError" 

3870 } 

3871 } 

3872 }, 

3873 }, 

3874 }, 

3875 } 

3876 } 

3877 }, 

3878 "callback4": { 

3879 "/": { 

3880 "get": { 

3881 "summary": "Callback4", 

3882 "operationId": "callback4__get", 

3883 "parameters": [ 

3884 { 

3885 "name": "level4", 

3886 "in": "query", 

3887 "required": True, 

3888 "schema": { 

3889 "title": "Level4", 

3890 "type": "string", 

3891 }, 

3892 } 

3893 ], 

3894 "responses": { 

3895 "200": { 

3896 "description": "Successful Response", 

3897 "content": { 

3898 "application/json": {"schema": {}} 

3899 }, 

3900 }, 

3901 "422": { 

3902 "description": "Validation Error", 

3903 "content": { 

3904 "application/json": { 

3905 "schema": { 

3906 "$ref": "#/components/schemas/HTTPValidationError" 

3907 } 

3908 } 

3909 },