# Resolve and validate OpenAPI specs with remote refs before client generation or review with Prance

> Validate an OpenAPI document, resolve external references, and emit a clean compiled spec before codegen or contract review.

- Skill: `agentskillexchange/resolve-and-validate-openapi-specs-with-remote-refs-before-c` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/resolve-and-validate-openapi-specs-with-remote-refs-before-c`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/resolve-and-validate-openapi-specs-with-remote-refs-before-c/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/resolve-and-validate-openapi-specs-with-remote-refs-before-c

---


# Resolve and validate OpenAPI specs with remote refs before client generation or review with Prance

Validate an OpenAPI document, resolve external references, and emit a clean compiled spec before codegen or contract review.

## Prerequisites

Python, pip, OpenAPI or Swagger spec file or URL

## Installation

Use the upstream install or setup path that matches your environment:
- $ pip install prance
- $ pip install prance[osv,icu,cli]
- Make sure you have ICU Unicode Library <http://site.icu-project.org/home>__ installed,
- $ pip install openapi-spec-validator

Requirements and caveats from upstream:
- |License| |PyPI| |Python Versions| |Package Format| |Package Status|
- 2.0 and 3.0 <http://swagger.io/specification/>__ API specifications in Python.
- with providing relative file paths, whereas JSON references require URIs

Basic usage or getting-started notes:
- =====
- ------------
- Prance is available from PyPI, and can be installed via pip:

- Source: https://github.com/RonnyPfannschmidt/prance
- Extracted from upstream docs: https://raw.githubusercontent.com/RonnyPfannschmidt/prance/HEAD/README.rst

## Documentation

- https://github.com/RonnyPfannschmidt/prance

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/resolve-and-validate-openapi-specs-with-remote-refs-before-client-generation-or-review-with-prance/)

