Endpoint inventory
Turns nested OpenAPI path objects into a compact, predictably sorted list of HTTP operations.
Day 040 / APIs / OpenAPI
A dependency-free Python CLI that turns a local OpenAPI 3.x JSON document into a deterministic, review-friendly endpoint catalog.
Turns nested OpenAPI path objects into a compact, predictably sorted list of HTTP operations.
Keeps operation IDs, summaries, tags, counts, response codes and deprecation flags without including example payload values.
Accepts only a local JSON file, enforces size and operation limits, and performs no network or API requests.
Deterministic method-and-path catalog
OpenAPI 3.x validation
Allowlisted operation metadata
Two-megabyte input boundary
Up to 500 indexed operations
Text and JSON reports
Ten standard-library tests included
Argparse, pathlib, collections and JSON provide the complete dependency-free command-line workflow.
Indexes standard path-item operations while ignoring non-method keys such as shared parameters.
Ten tests cover ordering, metadata, malformed documents, size and endpoint limits, readable output and CLI JSON output.