{"id":33325257,"url":"https://github.com/ecosyste-ms/package-manager-openapi-schemas","last_synced_at":"2025-11-20T07:01:18.896Z","repository":{"id":324203195,"uuid":"1095997579","full_name":"ecosyste-ms/package-manager-openapi-schemas","owner":"ecosyste-ms","description":"OpenAPI 3.0 specifications for package manager registry APIs.","archived":false,"fork":false,"pushed_at":"2025-11-14T10:58:41.000Z","size":90,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-14T12:25:15.173Z","etag":null,"topics":["openapi","package-manager","specs"],"latest_commit_sha":null,"homepage":"","language":null,"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/ecosyste-ms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"ecosystems","github":"andrew"}},"created_at":"2025-11-13T19:55:14.000Z","updated_at":"2025-11-14T12:02:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ecosyste-ms/package-manager-openapi-schemas","commit_stats":null,"previous_names":["ecosyste-ms/package-manager-openapi-schemas"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ecosyste-ms/package-manager-openapi-schemas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecosyste-ms%2Fpackage-manager-openapi-schemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecosyste-ms%2Fpackage-manager-openapi-schemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecosyste-ms%2Fpackage-manager-openapi-schemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecosyste-ms%2Fpackage-manager-openapi-schemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecosyste-ms","download_url":"https://codeload.github.com/ecosyste-ms/package-manager-openapi-schemas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecosyste-ms%2Fpackage-manager-openapi-schemas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284398676,"owners_count":26998183,"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-11-14T02:00:06.101Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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","package-manager","specs"],"created_at":"2025-11-20T07:00:22.408Z","updated_at":"2025-11-20T07:01:18.886Z","avatar_url":"https://github.com/ecosyste-ms.png","language":null,"funding_links":["https://opencollective.com/ecosystems","https://github.com/sponsors/andrew"],"categories":[],"sub_categories":[],"readme":"# Package Manager OpenAPI Schemas\n\nOpenAPI 3.0 specifications for many package manager registry APIs.\n\nInitially extract from [packages.ecosyste.ms](https://github.com/ecosyste-ms/packages) and existing openapi specs.\n\n## Available Schemas\n\n| Ecosystem | Registry | Schema | Official Spec |\n|-----------|----------|--------|---------------|\n| **NPM** | registry.npmjs.org | [`npm.yaml`](openapi/npm.yaml) | - |\n| **Go** | proxy.golang.org | [`go.yaml`](openapi/go.yaml) | - |\n| **NuGet** | nuget.org | [`nuget.yaml`](openapi/nuget.yaml) | - |\n| **PyPI** | pypi.org | [`pypi.yaml`](openapi/pypi.yaml) | - |\n| **Maven** | repo1.maven.org | [`maven.yaml`](openapi/maven.yaml) | - |\n| **Packagist** | packagist.org | [`packagist.yaml`](openapi/packagist.yaml) | - |\n| **Rust** | crates.io | [`crates-io.json`](openapi/crates-io.json) | [OpenAPI 3.1.0](https://crates.io/api/openapi.json) |\n| **RubyGems** | rubygems.org | [`rubygems.yaml`](openapi/rubygems.yaml) | - |\n| **Pub** | pub.dev | [`pub.yaml`](openapi/pub.yaml) | - |\n| **Hex** | hex.pm | [`hex.yaml`](openapi/hex.yaml) | - |\n| **OpenVSX** | open-vsx.org | [`openvsx.json`](openapi/openvsx.json) | [OpenAPI 3.1.0](https://open-vsx.org/v3/api-docs/registry) |\n| **Deno** | apiland.deno.dev | [`deno.yaml`](openapi/deno.yaml) | - |\n| **Homebrew** | formulae.brew.sh | [`homebrew.yaml`](openapi/homebrew.yaml) | - |\n| **CPAN** | metacpan.org | [`cpan.yaml`](openapi/cpan.yaml) | - |\n| **Conda** | anaconda.org | [`conda.yaml`](openapi/conda.yaml) | - |\n| **Docker** | hub.docker.com | [`docker.yaml`](openapi/docker.yaml) | - |\n| **Puppet** | forgeapi.puppet.com | [`puppet.yaml`](openapi/puppet.yaml) | - |\n| **Elm** | package.elm-lang.org | [`elm.yaml`](openapi/elm.yaml) | - |\n| **Cocoapods** | cocoapods.org | [`cocoapods.yaml`](openapi/cocoapods.yaml) | - |\n| **Clojars** | clojars.org | [`clojars.yaml`](openapi/clojars.yaml) | - |\n| **Terraform** | registry.terraform.io | [`terraform.yaml`](openapi/terraform.yaml) | - |\n| **ArtifactHub** | artifacthub.io | [`artifacthub.yaml`](openapi/artifacthub.yaml) | - |\n| **WordPress** | api.wordpress.org | [`wordpress.yaml`](openapi/wordpress.yaml) | - |\n| **Drupal** | packages.drupal.org | [`drupal.yaml`](openapi/drupal.yaml) | - |\n\n## Usage\n\n### Generate API Clients\n\n```bash\nopenapi-generator-cli generate -i openapi/npm.yaml -g python -o npm-client\nopenapi-generator-cli generate -i openapi/cargo.json -g typescript-axios -o cargo-client\n# 50+ languages supported\n```\n\n### Interactive Documentation\n\n```bash\ndocker run -p 8080:8080 -e SWAGGER_JSON=/schemas/openapi/npm.yaml -v $(pwd):/schemas swaggerapi/swagger-ui\n```\n\n### Mock Servers\n\n```bash\nnpm install -g @stoplight/prism-cli\nprism mock openapi/npm.yaml\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\n\n**Quick start:**\n1. Copy an existing schema as template\n2. Document the API endpoints\n3. Validate: `swagger-cli validate openapi/your_ecosystem.yaml`\n4. Update this README\n5. Submit PR\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\nNote: Schemas sourced from official specifications (marked in the table above) retain their original licenses as defined in the respective spec files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecosyste-ms%2Fpackage-manager-openapi-schemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecosyste-ms%2Fpackage-manager-openapi-schemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecosyste-ms%2Fpackage-manager-openapi-schemas/lists"}