{"id":15091322,"url":"https://github.com/nickheap2/add-props-flipflop","last_synced_at":"2025-08-04T11:33:55.379Z","repository":{"id":128963533,"uuid":"443110797","full_name":"NickHeap2/add-props-flipflop","owner":"NickHeap2","description":"Toggle additionalProperties in an OpenAPI spec","archived":false,"fork":false,"pushed_at":"2023-09-18T08:25:52.000Z","size":40,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T07:14:16.178Z","etag":null,"topics":["openapi","openapi-spec","openapi-specification"],"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/NickHeap2.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,"zenodo":null}},"created_at":"2021-12-30T15:18:16.000Z","updated_at":"2023-09-22T08:12:38.000Z","dependencies_parsed_at":"2025-04-12T07:11:07.461Z","dependency_job_id":"9c039937-6e57-4cb7-ba3b-93c9271712b2","html_url":"https://github.com/NickHeap2/add-props-flipflop","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/NickHeap2/add-props-flipflop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickHeap2%2Fadd-props-flipflop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickHeap2%2Fadd-props-flipflop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickHeap2%2Fadd-props-flipflop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickHeap2%2Fadd-props-flipflop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NickHeap2","download_url":"https://codeload.github.com/NickHeap2/add-props-flipflop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickHeap2%2Fadd-props-flipflop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738698,"owners_count":23976450,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["openapi","openapi-spec","openapi-specification"],"created_at":"2024-09-25T10:40:25.344Z","updated_at":"2025-07-23T20:04:49.097Z","avatar_url":"https://github.com/NickHeap2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# add-props-flipflop\nToggle additionalProperties in an OpenAPI spec\n\n## Usage\n\nUse --help to get a list of options\n``` text\nUsage: add-props-flipflop [options]\n\nOptions:\n  -V, --version                      output the version number\n  -s, --source \u003csource\u003e              Source OpenAPI spec filename\n  -o, --output \u003coutput\u003e              Output OpenAPI spec filename\n  -d, --dereferenced \u003cdereferenced\u003e  Write dereferenced source OpenAPI spec to this filename\n  -f, --flipto \u003cflipto\u003e              set additionalProperties to this value (choices: \"true\", \"false\")\n  -h, --help                         display help for command\n```\n\nConvert an OpenAPI spec with additionalProperties set to false\n``` bash\nadd-props-flipflop --source openapi.yaml --output openapi-false.yaml --flipto false\n```\n\nConvert an OpenAPI spec with additionalProperties set to true\n``` bash\nadd-props-flipflop --source openapi.yaml --output openapi-false.yaml --flipto true\n```\n\nConvert an OpenAPI spec with additionalProperties set to false and a copy of the dereferenced file before setting\n``` bash\nadd-props-flipflop --source openapi.yaml --dereferenced openapi-deref.yaml --output openapi-false.yaml --flipto false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickheap2%2Fadd-props-flipflop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickheap2%2Fadd-props-flipflop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickheap2%2Fadd-props-flipflop/lists"}