{"id":15091506,"url":"https://github.com/neuralegion/oas2har","last_synced_at":"2025-10-06T11:30:34.018Z","repository":{"id":45649834,"uuid":"197181578","full_name":"NeuraLegion/oas2har","owner":"NeuraLegion","description":"Transform you Swagger/OAS spec files to a series of HAR request objects.","archived":true,"fork":false,"pushed_at":"2021-12-02T17:18:53.000Z","size":1287,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-09-30T07:01:34.987Z","etag":null,"topics":["har","javascript","oas","swagger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/NeuraLegion.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}},"created_at":"2019-07-16T11:32:13.000Z","updated_at":"2023-01-28T05:00:17.000Z","dependencies_parsed_at":"2022-09-02T14:31:50.368Z","dependency_job_id":null,"html_url":"https://github.com/NeuraLegion/oas2har","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Foas2har","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Foas2har/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Foas2har/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Foas2har/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeuraLegion","download_url":"https://codeload.github.com/NeuraLegion/oas2har/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877264,"owners_count":16554853,"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":["har","javascript","oas","swagger"],"created_at":"2024-09-25T10:41:27.231Z","updated_at":"2025-10-06T11:30:33.541Z","avatar_url":"https://github.com/NeuraLegion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oas2har\n\n**THIS REPO HAS BEEN DEPRECATED. THE DEVELOPMENT HAS MOVED TO A NEW REPOSITORY: https://github.com/NeuraLegion/har-sdk**\n\nTransform you Swagger OAI spec files to a series of HAR request objects.\n\n* http://swagger.io/specification/\n* http://www.softwareishard.com/blog/har-12-spec/#request\n\n## Setup\n\n```bash\nnpm i --save @neuralegion/oas2har\n```\n\n## Usage\n\nUsing as a ES module:\n```js\nimport { oasToHarList } from '@neuralegion/oas2har';\nimport swaggerJSON from 'your-swagger-api.json'; // e.g. http://petstore.swagger.io/v2/swagger.json\n\noasToHarList(swaggerJSON)\n  .then((har) =\u003e {\n    console.log(har);\n  });\n```\n\n\n## Testing\n\n```bash\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralegion%2Foas2har","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuralegion%2Foas2har","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralegion%2Foas2har/lists"}