{"id":16639850,"url":"https://github.com/dzoukr/openapiparser","last_synced_at":"2025-10-30T09:30:47.543Z","repository":{"id":93382290,"uuid":"136714502","full_name":"Dzoukr/OpenAPIParser","owner":"Dzoukr","description":"Simple Open API F# Parser","archived":false,"fork":false,"pushed_at":"2018-10-16T12:57:53.000Z","size":101,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-02T07:41:16.757Z","etag":null,"topics":["fsharp","openapi","openapi3"],"latest_commit_sha":null,"homepage":"","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dzoukr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-09T10:43:53.000Z","updated_at":"2020-11-12T16:00:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0b1a81b-636c-4a7d-a961-64a927b425a0","html_url":"https://github.com/Dzoukr/OpenAPIParser","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dzoukr%2FOpenAPIParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dzoukr%2FOpenAPIParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dzoukr%2FOpenAPIParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dzoukr%2FOpenAPIParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dzoukr","download_url":"https://codeload.github.com/Dzoukr/OpenAPIParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238950485,"owners_count":19557533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fsharp","openapi","openapi3"],"created_at":"2024-10-12T07:07:13.457Z","updated_at":"2025-10-30T09:30:47.145Z","avatar_url":"https://github.com/Dzoukr.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/Dzoukr/OpenAPITypeProvider/raw/master/logo.jpg\" alt=\"drawing\" width=\"100px\"/\u003e\n\n# Open API F# Parser\n\nSimple library for parsing YAML/JSON Open API (previously called as Swagger) specification (version 3.0.1). Originally part of my type provider, but I will probably never finish it, so at least community can use part of it for own projects. :)\n\n## Installation\nFirst install NuGet package\n\n    Install-Package OpenAPIParser\n\nor using [Paket](http://fsprojects.github.io/Paket/getting-started.html)\n\n    nuget OpenAPIParser\n\n## How to use\n\nTypically, you would use some existing specification (see [official examples for version 3](https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v3.0)):\n\n```fsharp\nopen OpenAPIParser.Version3.Parser\nlet openAPI = Document.loadFromYamlFile \"mySpec.yaml\" \n```\n\nThen you have basic F# record filled\n\n```fsharp\nlet version = openAPI.Info.Version\nlet title = openAPI.Info.Title\nlet paths = openAPI.Paths\n...\n```\n\nPlease check [test project](https://github.com/Dzoukr/OpenAPIParser/tree/master/tests/OpenAPIParser.Tests) for more examples.\n\n## Limitations\n\nNot all properties from [3.0.1 specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md) are implemented. Especially `anyOf` and `oneOf` Schema objects, which will be probably implemented in future versions. Please check [Specification record definition](https://github.com/Dzoukr/OpenAPIParser/blob/master/src/OpenAPIParser/Version3/Specification.fs) for already implemented properties.\n\n## Contribution\n\nYou know the drill. Code + Tests = Good PR. Any contribution more than welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzoukr%2Fopenapiparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzoukr%2Fopenapiparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzoukr%2Fopenapiparser/lists"}