{"id":50617,"library":"getkin-kin-openapi","title":"kin-openapi","description":"A Go library for parsing and validating OpenAPI specifications.","status":"active","version":"0.140.0","language":"go","source_language":null,"source_url":"https://github.com/getkin/kin-openapi","tags":["openapi","swagger","api","validation"],"install":[{"cmd":"go get github.com/getkin/kin-openapi","lang":"bash","label":"Install github.com/getkin/kin-openapi"}],"dependencies":[],"imports":[{"symbol":"openapi3","correct":"github.com/getkin/kin-openapi/openapi3"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/getkin/kin-openapi/openapi3\"\n)\n\nfunc main() {\n\tloader := openapi3.NewLoader()\n\tdoc, err := loader.LoadFromFile(\"openapi.yaml\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tif err := doc.Validate(loader.Context); err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"OpenAPI spec is valid\")\n}","lang":"go","description":"Loads and validates an OpenAPI specification from a file."},"warnings":[{"fix":"Check the version compatibility and migration guides when upgrading.","message":"The library has undergone breaking changes between major versions.","severity":"breaking","affected_versions":">=0.100.0"}],"env_vars":null,"search_vec":"'api':15 'go':5 'kin':2 'kin-openapi':1 'librari':6 'openapi':3,11,13 'pars':8 'specif':12 'swagger':14 'valid':10,16","created_at":"2026-06-15T05:01:04.552414+00:00","updated_at":"2026-06-15T05:01:04.552414+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/getkin/kin-openapi","github":"https://github.com/getkin/kin-openapi","docs":"https://pkg.go.dev/github.com/getkin/kin-openapi#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}