openapi-file-finder
A CLI tool and Python package to detect and locate OpenAPI/Swagger and API Blueprint specification files or annotations in PHP repositories.
Features
- Scan repositories for OpenAPI/Swagger YAML/JSON files
- Detect swagger-php and API Blueprint annotations in PHP code
- Synchronous and asynchronous scanning
- Rich CLI output with logging
Installation
This project uses uv for dependency management. To install dependencies:
uv pip install -e .
CLI Usage
python -m openapi_file_finder find /path/to/php/repository
python -m openapi_file_finder check-swagger-php /path/to/php/repository
python -m openapi_file_finder check-apiblueprint /path/to/php/repository
As a Python Package
You can also use the core functions in your own Python scripts. See example_usage.py below.
Logging
All scripts use structlog for structured logging.
License
MIT
Metadata
Release files for openapi-file-finder 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openapi_file_finder-0.1.7.tar.gz | 6.3 kB | Without provenance | Details for openapi_file_finder-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openapi_file_finder-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for openapi_file_finder-0.1.7-py3-none-any.whl |
Total release size: 15.2 kB
Release files / openapi_file_finder-0.1.7.tar.gz
| Download URL | openapi_file_finder-0.1.7.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91101cedbdcaef3d60be0f0dd11fefb22a3286e9f1d2b0499472d1feabcd2c0f
|
|
BLAKE2b-256 checksum How to use checksums |
f3f85180ce5263042303d813da47786ba4694b0b40b8888a9486f200ecf97c8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.14
|
Release files / openapi_file_finder-0.1.7-py3-none-any.whl
| Download URL | openapi_file_finder-0.1.7-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db81c35e38dbdd98e57cc7050a6a43ab488afbbc33721c81bd0ebd3bb534380f
|
|
BLAKE2b-256 checksum How to use checksums |
2b42912a97810db555334e356395ffd12ca8c2b202a9ee414f91161ca964c646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.14
|
Security for openapi-file-finder 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.