{"id":28458106,"url":"https://github.com/jolicode/harvest-openapi-generator","last_synced_at":"2025-07-02T05:31:27.226Z","repository":{"id":45078884,"uuid":"166791505","full_name":"jolicode/harvest-openapi-generator","owner":"jolicode","description":"🔮 Transforms Harvest API HTML documentation pages into a valid Swagger / OpenAPI 3.0 specification","archived":false,"fork":false,"pushed_at":"2025-03-27T16:08:17.000Z","size":160,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-07T00:09:38.443Z","etag":null,"topics":["harvest","harvest-api","openapi","swagger"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/jolicode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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-01-21T10:03:59.000Z","updated_at":"2025-03-27T16:08:20.000Z","dependencies_parsed_at":"2024-03-29T09:30:52.741Z","dependency_job_id":"bfe70a81-a1f4-4ef8-b37c-0f6e1b61671e","html_url":"https://github.com/jolicode/harvest-openapi-generator","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/jolicode/harvest-openapi-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolicode%2Fharvest-openapi-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolicode%2Fharvest-openapi-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolicode%2Fharvest-openapi-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolicode%2Fharvest-openapi-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jolicode","download_url":"https://codeload.github.com/jolicode/harvest-openapi-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolicode%2Fharvest-openapi-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263081265,"owners_count":23410839,"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":["harvest","harvest-api","openapi","swagger"],"created_at":"2025-06-07T00:09:47.634Z","updated_at":"2025-07-02T05:31:27.212Z","avatar_url":"https://github.com/jolicode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Harvestapp swagger generator\n\nExtracts documentation from the [documentation website](https://help.getharvest.com/api-v2/)\nand generates an OpenAPI 3.0 file that can be used to further generate a client. You can see for example [the harvest-php-api library](https://github.com/jolicode/harvest-php-api), or [the Swagger editor loaded with this OpenApi file](https://editor.swagger.io/?url=https://raw.githubusercontent.com/jolicode/harvest-openapi-generator/master/generated/harvest-openapi.yaml).\n\n## Usage\n\n```sh\n$ composer install\n$ ./bin/extractor generate\n```\n\nThen check the `generated` directory, it should contain an OpenAPI 3.0 valid\nfile named `harvest-openapi.yaml`.\n\n## I just need the OpenAPI file\n\nYou can get the generated file here:\n[https://raw.githubusercontent.com/jolicode/harvest-openapi-generator/master/generated/harvest-openapi.yaml](https://raw.githubusercontent.com/jolicode/harvest-openapi-generator/master/generated/harvest-openapi.yaml)\n\n## What can I do with this OpenAPI spec?\n\nThere are many tools to use an OpenAPI / Swagger specification:\n\n * API documentation generation\n * API client SDK generation, in many languages,\n * etc.\n\nPlease check out the [Swagger website](https://swagger.io/tools/open-source/open-source-integrations/),\nwhich lists many useful tools and integrations.\n\n## Troubleshooting\n\nThis extractor/generator uses several nasty tricks to extract Harvest API\nproperties... the process is not bulletproof and may break in case of\ndocumentation change. Should you find a bug, incompleteness or problem with\nthe generated Swagger specification, please do not hesitate to\n[open an issue](https://github.com/jolicode/harvest-openapi-generator/issues)\nand share it with us.\n\nIf the [documentation](https://help.getharvest.com/api-v2/) is incomplete, you\nmay want to override a definition. See the\n`JoliCode\\Extractor\\Dumper\\Dumper:dump()` method.\n\n## Further documentation\n\nYou can see the current and past versions using one of the following:\n\n* the `git tag` command\n* the [releases page on Github](https://github.com/jolicode/harvest-openapi-generator/releases)\n\nAnd, finally, some [contribution instructions](CONTRIBUTING.md).\n\n## License\n\nThis library is licensed under the MIT License - see the [LICENSE](LICENSE.md)\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolicode%2Fharvest-openapi-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjolicode%2Fharvest-openapi-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolicode%2Fharvest-openapi-generator/lists"}