ViRb3 / optic-go

Utilities for API generation using Optic in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optic-go

Utilities for API generation using Optic in Go

Introduction

optic-go allows you to create an OpenAPI spec from any API server via simple definitions similar to test cases. This library works by making Optic send its requests to a local proxy which allows you to modify the requests at much lower level than you can with Optic by itself. For an example, you can specify exactly what TLS cipher suites to use.

Additionally, optic-go provides you with a OpenAPI spec formatter, which takes a Optic-generated spec file and outputs a properly annotated OpenAPI spec ready for use with code generators such as openapi-generator.

Reverse proxy sequence

Examples

About

Utilities for API generation using Optic in Go


Languages

Language:Go 100.0%