2 repository-uri
Generates Swagger/OpenAPI 2.0 specification documents by scanning annotated Go source code.
Distinct from Code Annotations: Distinct from general Code Annotations: specifically generates OpenAPI specs from Go annotations, not arbitrary metadata.
Explore 2 awesome GitHub repositories matching software engineering & architecture · OpenAPI Specification Generators. Refine with filters or upvote what's useful.
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Generates OpenAPI 2.0 specifications by scanning annotated Go source code at compile time.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Compiles TypeSpec API definitions into OpenAPI 3.0 specifications and other artifacts.