OpenAPI Contract Inspector

OpenAPI Contract Inspector

Specification input

OpenAPI 3.0.x / 3.1.x core checks · 256 KiB document · at most 300 paths / 800 operations · no external resolution

Runs in browser memory. No API calls or external-reference downloads.

Enter a description and inspect it.

Comments & questions

OpenAPI Contract Inspector

An API contract breaks when path placeholders no longer match parameters or a component reference disappears. This browser-local inspector parses an OpenAPI document and checks a bounded set of path, reference, request and response rules. It also drafts a request for each operation. It does not certify full OpenAPI conformance.

Key features

  • Parse OpenAPI 3.0.x/3.1.x JSON or YAML into paths and HTTP operations
  • Check placeholders, required path parameters and duplicate parameters
  • Find missing local JSON Pointer targets and alias-only reference cycles
  • Show response code, description and body-schema findings by location
  • Draft bounded request examples and save a JSON report

How to use

  1. Paste an OpenAPI 3.0 or 3.1 JSON/YAML description or choose a local file.
  2. Inspect JSON Pointer locations for errors and warnings.
  3. Select an HTTP method and path from the operation list.
  4. Review the drafted request and supply real authorization and values yourself.
  5. Edit the description, rerun the checks and save a report if useful.

Use cases

  • Compare URL placeholders with required path parameters
  • Find broken local references after a component rename
  • Review response descriptions and JSON body-schema gaps
  • Share an operation inventory and request draft during review

Frequently asked questions

Which OpenAPI versions are inspected?

The common core of OpenAPI 3.0.x and 3.1.x. It parses JSON/YAML and checks selected path, parameter, reference, request and response rules. It does not certify every specification rule, JSON Schema vocabulary or security requirement.

Are external $ref targets fetched?

No. Only #/… JSON Pointers in the current document are resolved. External URLs and files are marked as warnings and never fetched, so an external reference leaves the contract only partially inspected.

Is a recursive schema invalid?

An object schema referring to itself through a property is allowed. Only alias-only chains of $ref objects with no terminating value are reported as cycles.

Can I send the generated request unchanged?

No. It is a bounded draft using required fields and basic types. It does not complete oneOf choices, every serialization style, authentication, server variables or business rules, and it never sends a request.

Is a missing content schema always an invalid response?

No. This is a warning that body constraints cannot be inspected. A response without content, such as 204, is not warned about.

Privacy

The pasted or selected API description stays in current browser memory. External references are never fetched and no request is sent to an API server. A report you explicitly save contains path and diagnostic information.

References

Related Tools

JSON Schema ValidatorJSON ↔ YAML ConverterAPI Mock SandboxWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →