Version, diff, and visualize your OpenAPI spec
Project description
ApiLens
Automatically generate versioned API snapshots on every merge. Explore changes between any two versions in a UI with color-coded diff highlighting. Built for FastAPI + TypeScript teams.
Features
- Automatic snapshots — captures your spec on every merge to
main; skips if nothing changed - Visual diff viewer — color-coded UI showing new, removed, and modified endpoints with field-level detail
- PR comments — posts a Markdown summary of API changes on every pull request
- AI prompts — one-click copy of prompts to help update frontend TypeScript types
- Zero integration — no changes to your FastAPI app; runs completely standalone
Install
pip3 install "openapi-lens[serve]"
Usage
apilens serve
The viewer requires snapshots to be generated via GitHub Actions workflows. For full setup instructions, workflow templates, and configuration, see the GitHub repository.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_lens-1.0.4.tar.gz.
File metadata
- Download URL: openapi_lens-1.0.4.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d718d3befdb81fc431586a476613d98a78cc876a70c3daca54b1fd5ba34a5d1e
|
|
| MD5 |
1f10f2c952635e044dd7b2a5fea855eb
|
|
| BLAKE2b-256 |
185549e6b7f672338a1d40a27fc495c81ab05a5a6ee513fcf359dd330dbcae75
|
Provenance
The following attestation bundles were made for openapi_lens-1.0.4.tar.gz:
Publisher:
publish.yml on MariaC27/api-lens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_lens-1.0.4.tar.gz -
Subject digest:
d718d3befdb81fc431586a476613d98a78cc876a70c3daca54b1fd5ba34a5d1e - Sigstore transparency entry: 1353800343
- Sigstore integration time:
-
Permalink:
MariaC27/api-lens@938c75efc687f6dc4ff8a52e5e95862668f29ed8 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/MariaC27
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@938c75efc687f6dc4ff8a52e5e95862668f29ed8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openapi_lens-1.0.4-py3-none-any.whl.
File metadata
- Download URL: openapi_lens-1.0.4-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef3bb1e993332ce4834258ab34c5c30d696d7826e1913365cc7e975071ec61e1
|
|
| MD5 |
7302f0d224baf7dc95c4e678ac56196f
|
|
| BLAKE2b-256 |
24d94a840a2822bcbf5a7bdb1d2da55a8c9c6abb1197bcda40157b9d6d7a0c0a
|
Provenance
The following attestation bundles were made for openapi_lens-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on MariaC27/api-lens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_lens-1.0.4-py3-none-any.whl -
Subject digest:
ef3bb1e993332ce4834258ab34c5c30d696d7826e1913365cc7e975071ec61e1 - Sigstore transparency entry: 1353800447
- Sigstore integration time:
-
Permalink:
MariaC27/api-lens@938c75efc687f6dc4ff8a52e5e95862668f29ed8 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/MariaC27
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@938c75efc687f6dc4ff8a52e5e95862668f29ed8 -
Trigger Event:
push
-
Statement type: