Description
kin-openapi is a Go library for handling OpenAPI files. It supports OpenAPI 2.0, which was formerly known as Swagger, and OpenAPI 3.0, 3.1 and 3.2, with partial support for a few newer fields. The library parses and serializes these documents, converts OpenAPI 2 files into OpenAPI 3, and validates documents against the specification. The README lists packages for each part of the job, such as openapi2 for Swagger 2 documents, openapi2conv for conversion, and openapi3 for version 3 documents. It is used by other Go projects, including a framework that generates OpenAPI from source code, a diff tool for OpenAPI specifications, a mock server, and a client and server code generator. The README also lists alternatives such as libopenapi. The library is released under the MIT license and the source is on GitHub, where the README asks users who depend on it to become sponsors.…
Highlights
- Parses and validates OpenAPI 2.0, 3.0, 3.1 and 3.2
- Converts Swagger 2 to OpenAPI 3
- Separate packages for each version
- Used by other Go API tools
- MIT license
Ratings & Reviews
No ratings yet
Be the first to rate Kin Openapi.
People also visit
Utoipa
Simple, Fast, Code first and Compile time generated OpenAPI documentation
Kin Openapi FAQ
What is kin-openapi?
A Go library for reading, writing, converting and validating OpenAPI and Swagger documents.
Which OpenAPI versions does it support?
OpenAPI 2.0, which was Swagger, and 3.0, 3.1 and 3.2, with partial support for a few newer fields, according to the README.
Can it convert Swagger files?
Yes. The openapi2conv package converts OpenAPI 2 files into OpenAPI 3.
Is it free?
Yes. It is licensed under the MIT License and the source is on GitHub.
Are there alternatives?
The README lists libopenapi, and notes that go-swagger does not support OpenAPI 3.
What are the best Kin Openapi alternatives?
Popular alternatives to Kin Openapi include Docs, RapiDoc and Utoipa. See all Kin Openapi alternatives





