{"id":16982000,"url":"https://github.com/valadas/webapitoopenapireflector","last_synced_at":"2026-04-13T22:03:07.615Z","repository":{"id":216379411,"uuid":"740382713","full_name":"valadas/WebApiToOpenApiReflector","owner":"valadas","description":"A dotnet tool that can use reflection to generate OpenApi from .NetFramework assemblies","archived":false,"fork":false,"pushed_at":"2026-03-10T22:47:34.000Z","size":89,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-03-11T00:06:02.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/valadas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":{"github":["valadas"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-01-08T08:30:38.000Z","updated_at":"2025-08-27T11:03:37.000Z","dependencies_parsed_at":"2024-02-24T07:25:46.547Z","dependency_job_id":"b5bc2b18-1af8-4dcc-a6a6-e8dee7895602","html_url":"https://github.com/valadas/WebApiToOpenApiReflector","commit_stats":null,"previous_names":["valadas/webapitoopenapireflector"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/valadas/WebApiToOpenApiReflector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valadas%2FWebApiToOpenApiReflector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valadas%2FWebApiToOpenApiReflector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valadas%2FWebApiToOpenApiReflector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valadas%2FWebApiToOpenApiReflector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valadas","download_url":"https://codeload.github.com/valadas/WebApiToOpenApiReflector/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valadas%2FWebApiToOpenApiReflector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31772642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-14T02:07:03.807Z","updated_at":"2026-04-13T22:03:07.598Z","avatar_url":"https://github.com/valadas.png","language":"C#","funding_links":["https://github.com/sponsors/valadas"],"categories":[],"sub_categories":[],"readme":"[![NuGet Version](https://img.shields.io/nuget/v/WebApiToOpenApiReflector)](https://www.nuget.org/packages/WebApiToOpenApiReflector)\r\n\r\n# WebApiToOpenApiReflector\r\nA dotnet tool that can use reflection to generate OpenApi from .NetFramework assemblies\r\n\r\n## Intent of this tool\r\nThis tool is to help with the recent removal of the `webapi2openapi` command from NSwag.\r\nThis tool does not replace NSwag, but is a pre-processor utility to\r\ngenerate the swagger specifications using reflection on .NET Framework assemblies.\r\nThis tool is not recommended for .NET Core assemblies, as the NSwag CLI already supports it.\r\n\r\n## Installation\r\n```bash\r\ndotnet tool install -g WebApiToOpenApiReflector\r\n```\r\n\r\n## Usage\r\n\u003c!--- BEGIN_TOOL_DOCS ---\u003e\r\n```\r\nUsage: WebApiToOpenApiReflector [--controller-names \u003cString\u003e...] [--default-url-template \u003cString\u003e] [--add-missing-path-parameters] [--default-response-reference-type-null-handling \u003cReferenceTypeNullHandling\u003e] [--generate-original-parameter-names=\u003ctrue|false\u003e] [--title \u003cString\u003e] [--description \u003cString\u003e] [--info-version \u003cString\u003e] [--document-template \u003cString\u003e] [--output \u003cString\u003e] [--help] [--version] assembly-paths0 ... assembly-pathsN\r\n\r\nGenerates a Swagger/OpenAPI specification for a controller or controllers contained in a .NET Web API assembly.\r\n\r\nArguments:\r\n  0: assembly-paths    The assembly or assemblies to process. (Required)\r\n\r\nOptions:\r\n  -c, --controller-names \u003cString\u003e...                                                 Can optionally be used to limit the results to some controllers.\r\n  -u, --default-url-template \u003cString\u003e                                                The Web API default URL template: (default for Web API: 'api/{controller}/{id}'; (default for MVC: '{controller}/{action}/{id?}'). (Default: api/{controller}/{id})\r\n  -a, --add-missing-path-parameters                                                  If true, adds missing path parameters which are missing in the action method.\r\n  -n, --default-response-reference-type-null-handling \u003cReferenceTypeNullHandling\u003e    Specifies the default null handling for reference types when no nullability information is available. NotNull (default) or Null. (Default: Null) (Allowed values: Null, NotNull)\r\n  -g, --generate-original-parameter-names=\u003ctrue|false\u003e                               Generate x-originalName properties when parameter name is different in .NET and HTTP. (Default: True)\r\n  -t, --title \u003cString\u003e                                                               Specifies the title of the Swagger specification, ignored when the document template is provided.\r\n  -d, --description \u003cString\u003e                                                         Specifies the description of the Swagger specification, ignored when the document template is provided.\r\n  -v, --info-version \u003cString\u003e                                                        Specifies the version of the Swagger specification (default: 1.0.0). (Default: 1.0.0)\r\n  --document-template \u003cString\u003e                                                       Specifies the Swagger document template (may be a path or JSON, default: none).\r\n  -o, --output \u003cString\u003e                                                              The path to the file to write the specifications to. (Default: swagger.json)\r\n  -h, --help                                                                         Show help message\r\n  --version                                                                          Show version\r\n```\r\n\u003c!--- END_TOOL_DOCS ---\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaladas%2Fwebapitoopenapireflector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaladas%2Fwebapitoopenapireflector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaladas%2Fwebapitoopenapireflector/lists"}