Date: Thu, 9 Oct 2025 22:25:03 GMT From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 997c58dc7b54 - main - devel/oq: [NEW PORT] A terminal OpenAPI Spec viewer Message-ID: <202510092225.599MP3Zs084238@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=997c58dc7b54a766b352d4d8d8db82b31e460a22 commit 997c58dc7b54a766b352d4d8d8db82b31e460a22 Author: Al Hoang <hoanga@gmail.com> AuthorDate: 2025-10-01 18:59:19 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2025-10-09 22:22:15 +0000 devel/oq: [NEW PORT] A terminal OpenAPI Spec viewer PR: 289944 Approved by: yuri@ (Mentor) --- devel/Makefile | 1 + devel/oq/Makefile | 26 ++++++++++++++++++++++++++ devel/oq/distinfo | 5 +++++ devel/oq/pkg-descr | 11 +++++++++++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4d037fd75cc2..f522ded40728 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1844,6 +1844,7 @@ SUBDIR += openocd-devel SUBDIR += opentelemetry-cpp SUBDIR += opentelemetry-proto + SUBDIR += oq SUBDIR += orc SUBDIR += orcania SUBDIR += osc diff --git a/devel/oq/Makefile b/devel/oq/Makefile new file mode 100644 index 000000000000..ca451458c1c0 --- /dev/null +++ b/devel/oq/Makefile @@ -0,0 +1,26 @@ +PORTNAME= oq +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.20 +CATEGORIES= devel + +MAINTAINER= hoanga@gmail.com +COMMENT= Terminal OpenAPI Spec viewer +WWW= https://github.com/plutov/oq + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.25,modules +GO_MODULE= github.com/plutov/oq + +PLIST_FILES= bin/${PORTNAME} +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> diff --git a/devel/oq/distinfo b/devel/oq/distinfo new file mode 100644 index 000000000000..1f47e1841b1e --- /dev/null +++ b/devel/oq/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1760026734 +SHA256 (go/devel_oq/oq-v0.0.20/v0.0.20.mod) = 96631ba5496f9e8769763e7fb030778e2bc914f55bdb871d43503f7a9269a1b9 +SIZE (go/devel_oq/oq-v0.0.20/v0.0.20.mod) = 1411 +SHA256 (go/devel_oq/oq-v0.0.20/v0.0.20.zip) = d840d66196eb1d238991321ed9d11cfe674a17ef724a0e8561481fa72e4d5a71 +SIZE (go/devel_oq/oq-v0.0.20/v0.0.20.zip) = 920875 diff --git a/devel/oq/pkg-descr b/devel/oq/pkg-descr new file mode 100644 index 000000000000..dff604781ebe --- /dev/null +++ b/devel/oq/pkg-descr @@ -0,0 +1,11 @@ +Terminal OpenAPI Spec (OAS) viewer + +* Keyboard Shortcuts: + + Press `?` to see the help screen with all available keyboard shortcuts. + +* OpenAPI support: + + oq supports all 3.* OpenAPI specification versions: 3.0, 3.1 and 3.2. + + Both JSON and YAML formats are supported.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510092225.599MP3Zs084238>
