{"id":32166031,"url":"https://github.com/mimicry-tech/openapi_validator","last_synced_at":"2026-02-19T13:34:40.726Z","repository":{"id":38289820,"uuid":"385714891","full_name":"mimicry-tech/openapi_validator","owner":"mimicry-tech","description":"A small wrapper for validating OpenAPIv3 schemata in plain elixir","archived":false,"fork":false,"pushed_at":"2023-12-22T22:34:20.000Z","size":103,"stargazers_count":6,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T15:03:06.065Z","etag":null,"topics":["elixir","openapi","openapi3","validation"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimicry-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-13T19:30:25.000Z","updated_at":"2023-12-18T14:58:12.000Z","dependencies_parsed_at":"2023-02-16T12:15:42.977Z","dependency_job_id":null,"html_url":"https://github.com/mimicry-tech/openapi_validator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mimicry-tech/openapi_validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimicry-tech%2Fopenapi_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimicry-tech%2Fopenapi_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimicry-tech%2Fopenapi_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimicry-tech%2Fopenapi_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimicry-tech","download_url":"https://codeload.github.com/mimicry-tech/openapi_validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimicry-tech%2Fopenapi_validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29614982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","openapi","openapi3","validation"],"created_at":"2025-10-21T15:02:03.083Z","updated_at":"2026-02-19T13:34:40.721Z","avatar_url":"https://github.com/mimicry-tech.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPIv3Validator\n\nA small library for validating OpenAPI specs independently of the [Swagger Editor](https://editor.swagger.io) - and independently of JavaScript.\n\nOriginally extracted from a branch of [mimicry](https://github.com/mimicry-tech/mimicry) as this might be useful to others.\n\n## Installation\n\nThe package can be installedby adding `openapiv3_validator` to your list ofdependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:openapiv3_validator, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/openapi_validator](https://hexdocs.pm/openapiv3_validator).\n\n## Usage\n\nThe package provides the openapi v3 schema as a plain elixir struct, so you can either:\n\n```elixir\nmy_specification = %{}\n\nmy_specification |\u003e OpenAPIv3Validator.valid?()\n# true / false\n\nmy_specification |\u003e OpenAPIv3Validator.validate()\n# :ok | {:error, []}\n```\n\nThis uses the most excellent [`ex_json_schema`](https://hex.pm/packages/ex_json_schema), you can also grab the schema directly and use it with `ex_json_schema`s `Validator`:\n\n```elixir\nalias OpenAPIv3Validator.Schemas.OpenAPI.V3, as: V3\nalias ExJson.Schema\nalias ExJsonSchema.Validator\n\nmy_specification = %{\n  \"openapi\" =\u003e \"3.0.0\",\n  # ...\n}\n\nV3.schema() |\u003e Schema.resolve |\u003e Validator.valid?(my_specification)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimicry-tech%2Fopenapi_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimicry-tech%2Fopenapi_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimicry-tech%2Fopenapi_validator/lists"}