openapi-assembly

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

OpenAPI Assembly

A small CLI wrapper on top of the awesome bdpiprava/scalar-go package.
The project serves a single purpose - a simple CLI to assemble OpenAPI Specification from segmented files.
For more details look no further than reading-from-segmented-files.

Installation:

go install github.com/mfenderov/openapi-assembly@latest

Usage

openapi-assembly -h
Usage of openapi-assembly:
  -i string
        input specification (default "docs/api.yaml") # atm supports only *.yml and *.yaml extensions
  -o string
        output specification (default "api.json")     # atm supports only *.json extension
Example:

openapi-assebly -i test-resources/docs/api.yaml -o tmp/api.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL