{"repo":"ogen-go/ogen","free":true,"listed":false,"github":"https://github.com/ogen-go/ogen","clone":"git clone https://github.com/ogen-go/ogen.git","description":"OpenAPI v3 code generator for go","language":"Go","stars":2124,"topics":["go","golang","openapi","swagger","api","codegen","openapi3","code-generator","openapi-codegen","openapi-generator"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"ogen OpenAPI v3 Code Generator for Go. - Getting started - Sample project - Security policy - Telegram group @ogen dev Install Usage or using container: Features - No reflection or interface{} - The json encoding is code-generated, optimized and uses go-faster/jx for speed and overcoming encoding/json limitations - Validation is code-generated according to spec - Code-generated static radix router - No more boilerplate - Structures are generated from OpenAPI v3 specification - Arguments, headers, url queries are parsed according to specification into structures - String formats like uuid , date , date-time , uri are represented by go types directly - Statically typed client and server - Convenient support for optional, nullable and optional nullable fields - No more pointers - Generated Optional[T], Nullable[T] or OptionalNullable[T] wrappers with helpers - Special case for array handling with nil semantics relevant to specification - When array is optional, nil denotes absence of value - When nullable, nil denotes that value is nil - When required, nil currently the same as [] , but is actually invalid - If both nullable and required, wrapper will be generated (TODO) - Support for untyped parameters (any) - Parameters with no type specified in schema are represented as Go any - Decoded as strings from URI (path, query, header, cookie) - Client encoding uses fmt.Sprint for flexible value conversion - Useful for legacy APIs or dynamic parameter types - Generated sum types for ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ogen-go","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ogen-go/ogen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}