{"id":16678639,"url":"https://github.com/dsietz/actix-web-openapi","last_synced_at":"2025-04-09T21:52:15.031Z","repository":{"id":169892572,"uuid":"182823521","full_name":"dsietz/actix-web-openapi","owner":"dsietz","description":"Contract testing of an OpenAPI document for REST service running on Actix Web","archived":false,"fork":false,"pushed_at":"2019-04-22T16:29:06.000Z","size":30,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T21:52:09.735Z","etag":null,"topics":["actix-web","openapi","openapi3","rust-lang","testing","web"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/dsietz.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":"2019-04-22T16:13:04.000Z","updated_at":"2023-12-27T14:43:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"a97b3d22-6cc2-402c-89ea-2f5f701b35ce","html_url":"https://github.com/dsietz/actix-web-openapi","commit_stats":null,"previous_names":["dsietz/actix-web-openapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsietz%2Factix-web-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsietz%2Factix-web-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsietz%2Factix-web-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsietz%2Factix-web-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsietz","download_url":"https://codeload.github.com/dsietz/actix-web-openapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119402,"owners_count":21050754,"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":["actix-web","openapi","openapi3","rust-lang","testing","web"],"created_at":"2024-10-12T13:29:58.484Z","updated_at":"2025-04-09T21:52:15.018Z","avatar_url":"https://github.com/dsietz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Actix Web OpenAPI\n![Version](https://img.shields.io/badge/version-0.0.1-blue.svg)\n![MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)\n\n---\n\n## Usage\n```\nextern crate actix_web_openapi;\n\nfn main() {\n    match actix_web_openapi::from_path(\"./data/v3.0/petstore.yaml\") {\n        Ok(spec) =\u003e {\n            let servers = spec.servers.unwrap();\n\n            for server in servers.iter() {\n                match server.to_client_request().finish() {\n                    Ok(client) =\u003e {\n                        assert_eq!(client.uri().scheme_str(), Some(\"http\"));\n                        assert_eq!(client.uri().host(), Some(\"petstore.swagger.io\"));\n                        assert_eq!(client.uri().port_u16(), None);\n                        assert_eq!(client.uri().path(), \"/v1\");\n                    },\n                    Err(_err) =\u003e assert!(false),\n                } \n            }\n        },\n        Err(_err) =\u003e assert!(false),\n    }\n}\n```\n\n## License\nThis soltuion uses open source products and is constrained to the inherited license agreements.\n\n- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsietz%2Factix-web-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsietz%2Factix-web-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsietz%2Factix-web-openapi/lists"}