BSD Ports

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

SystemPortVersion
DragonFlydevel/py-prance23.6.21.0
FreeBSDdevel/py-prance26.7.19.0
OpenBSDdevel/py-prance26.7.19.0p0
MidnightBSDdevel/py-prance23.6.21.0_2
HardenedBSDdevel/py-prance26.7.19.0
GhostBSDdevel/py-prance26.7.19.0

Install

Binary package:

pkg install py311-prance

From DPorts:

cd /usr/dports/devel/py-prance && make install clean

Dependencies

Run dependencies 7
Required by 1