devel/py-prance 26.7.19.0p0 OpenBSD
resolving Swagger/OpenAPI 2.0 and 3.0 parser
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
57128a3b1a- Categories
- devel, lang/python
Description
Prance provides parsers for Swagger/OpenAPI 2.0 and 3.0 API specifications in Python. It uses openapi_spec_validator, swagger_spec_validator or flex to validate specifications, but additionally resolves JSON references in accordance with the OpenAPI spec.
Mostly the latter involves handling non-URI references; OpenAPI is fine with providing relative file paths, whereas JSON references require URIs at this point in time.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-prance | 26.7.19.0p0 |
| FreeBSD | devel/py-prance | 26.7.19.0 |
| DragonFly | devel/py-prance | 23.6.21.0 |
| MidnightBSD | devel/py-prance | 23.6.21.0_2 |
| HardenedBSD | devel/py-prance | 26.7.19.0 |
| GhostBSD | devel/py-prance | 26.7.19.0 |
Install
Binary package:
pkg_add py3-prance
From the ports tree:
cd /usr/ports/devel/py-prance && make install
Dependencies
Build dependencies 6
Run dependencies 5
No port depends on this one.