devel/py-prance 23.6.21.0 DragonFly
Resolving Swagger/OpenAPI 2.0 and 3.0.0 parser
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 55.2 KiB, 291.2 KiB installed
Description
Prance provides parsers for Swagger/OpenAPI 2.0 and 3.0 API specifications in Python. It uses flex, swagger_spec_validator or openapi_spec_validator 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 |
|---|---|---|
| DragonFly | devel/py-prance | 23.6.21.0 |
| FreeBSD | devel/py-prance | 26.7.19.0 |
| OpenBSD | devel/py-prance | 26.7.19.0p0 |
| 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 install py311-prance
From DPorts:
cd /usr/dports/devel/py-prance && make install clean