All Projects → nasa9084 → go-openapi

nasa9084 / go-openapi

Licence: other
OpenAPI Specification (OAS) 3.0 implementation for Go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-openapi

openapi
OpenAPI 3 Specification for golang
Stars: ✭ 18 (-52.63%)
Mutual labels:  openapi, openapi-spec, openapi-specification, openapi3
Springdoc Openapi
Library for OpenAPI 3 with spring-boot
Stars: ✭ 1,113 (+2828.95%)
Mutual labels:  openapi, openapi-specification, openapi3
apiclarity
Reconstruct Open API Specifications from real-time workload traffic seamlessly.
Stars: ✭ 290 (+663.16%)
Mutual labels:  openapi, openapi-spec, openapi-specification
openapi-schemas
JSON Schemas for every version of the OpenAPI Specification
Stars: ✭ 22 (-42.11%)
Mutual labels:  openapi, openapi-specification, openapi3
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+2086.84%)
Mutual labels:  openapi, openapi-specification, openapi3
Swagger Core
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
Stars: ✭ 6,898 (+18052.63%)
Mutual labels:  openapi, openapi-specification, openapi3
Swurg
Parse OpenAPI documents into Burp Suite for automating OpenAPI-based APIs security assessments (approved by PortSwigger for inclusion in their official BApp Store).
Stars: ✭ 94 (+147.37%)
Mutual labels:  openapi, openapi-specification, openapi3
Openapi.tools
A collection of Editors, Linters, Parsers, Code Generators, Documentation, Testing
Stars: ✭ 257 (+576.32%)
Mutual labels:  openapi, openapi-specification, openapi3
Openapi Diff
Utility for comparing two OpenAPI specifications.
Stars: ✭ 208 (+447.37%)
Mutual labels:  openapi, openapi-specification, openapi3
openapi4j
OpenAPI 3 parser, JSON schema and request validator.
Stars: ✭ 92 (+142.11%)
Mutual labels:  openapi, openapi-specification, openapi3
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (+1257.89%)
Mutual labels:  openapi, openapi-specification, openapi3
oas
OpenAPI Spec builder in go
Stars: ✭ 15 (-60.53%)
Mutual labels:  openapi, openapi-specification, openapi3
Swagger Parser
Swagger Spec to Java POJOs
Stars: ✭ 468 (+1131.58%)
Mutual labels:  openapi, openapi-specification, openapi3
Spectral
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v2 & v3.
Stars: ✭ 876 (+2205.26%)
Mutual labels:  openapi, openapi-specification, openapi3
Swagger Ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
Stars: ✭ 21,279 (+55897.37%)
Mutual labels:  openapi, openapi-specification, openapi3
Openapivalidators
Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec
Stars: ✭ 77 (+102.63%)
Mutual labels:  openapi, openapi-specification, openapi3
Redoc
📘 OpenAPI/Swagger-generated API Reference Documentation
Stars: ✭ 15,935 (+41834.21%)
Mutual labels:  openapi, openapi-specification, openapi3
openapi-generator-go
An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
Stars: ✭ 42 (+10.53%)
Mutual labels:  openapi, openapi-spec, openapi3
OpenAlchemy
Define SQLAlchemy models using the OpenAPI specification.
Stars: ✭ 39 (+2.63%)
Mutual labels:  openapi, openapi-specification, openapi3
thema
A CUE-based framework for portable, evolvable schema
Stars: ✭ 41 (+7.89%)
Mutual labels:  openapi, openapi3

OpenAPI Specification object model

GoDoc Build Status codecov


This package is still under development, so the API will be changed without any notification

Overview

This is an implementation of OpenAPI Specification 3.0 object model with some usable functions.

Synopsis

package main

import (
    "fmt"

    "github.com/nasa9084/go-openapi"
)

func main() {
    doc, _ := openapi.LoadFile("path/to/spec")
    fmt.Print(doc.Version)
}

Status

  • Model definition
  • Load OpenAPI 3.0 spec file
  • Resolve Reference object
    • Resolve #/component reference
    • Resolve other file reference
  • Validation
    • Validate spec values
      • test for validation
        • Document
        • Info
        • Contact
        • License
        • Server
        • ServerVariable
        • Paths
        • PathItem
        • Operation
        • Parameter
        • RequestBody
        • Responses
        • Response
        • Callbacks
        • Callback
        • Schema
        • Example
        • MediaType
        • Header
        • Link
        • Encoding
        • Discriminator
        • XML
        • Components
        • SecurityScheme
        • OAuthFlows
        • OAuthFlow
        • SecurityRequirement
        • Tag
        • ExternalDocumentation
    • Validate HTTP Request
    • Validate HTTP Response
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].