{"id":16534409,"url":"https://github.com/cristipufu/aspnetcore-openapi-source-generator","last_synced_at":"2026-05-09T08:42:45.906Z","repository":{"id":232009982,"uuid":"783185071","full_name":"cristipufu/aspnetcore-openapi-source-generator","owner":"cristipufu","description":"Roslyn source generator that automatically creates ASP.NET Core controllers and models from OpenAPI YAML specifications","archived":false,"fork":false,"pushed_at":"2024-04-13T05:21:52.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T17:51:51.330Z","etag":null,"topics":["aspnetcore","fake-server","mock-server","net","openapi","openapi-generator","roslyn-analyzer","roslyn-generator","scriban"],"latest_commit_sha":null,"homepage":"","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/cristipufu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-04-07T07:03:28.000Z","updated_at":"2025-08-25T10:45:33.000Z","dependencies_parsed_at":"2025-01-14T00:38:17.569Z","dependency_job_id":null,"html_url":"https://github.com/cristipufu/aspnetcore-openapi-source-generator","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"1e0a97497ab605f31fc54728ec865fe0d3696fc2"},"previous_names":["cristipufu/aspnetcore-openapi-source-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cristipufu/aspnetcore-openapi-source-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristipufu%2Faspnetcore-openapi-source-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristipufu%2Faspnetcore-openapi-source-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristipufu%2Faspnetcore-openapi-source-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristipufu%2Faspnetcore-openapi-source-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristipufu","download_url":"https://codeload.github.com/cristipufu/aspnetcore-openapi-source-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristipufu%2Faspnetcore-openapi-source-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32813274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["aspnetcore","fake-server","mock-server","net","openapi","openapi-generator","roslyn-analyzer","roslyn-generator","scriban"],"created_at":"2024-10-11T18:24:05.530Z","updated_at":"2026-05-09T08:42:45.870Z","avatar_url":"https://github.com/cristipufu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET Web API Source Generator\n\nQuickly set up a CRUD mock API using a Roslyn-based source generator designed to read OpenAPI specifications. Build and run the project with a specified YAML file and you will have a fully functional mock API ready in seconds.\n\n## quick start\n\nFollow these steps to get your mock API server up and running:\n\n### step 1: clone the repository\n\nClone this repository to your local machine:\n\n```bash\ncd aspnetcore-openapi-source-generator/src/OpenApi.WebApi\n```\n### step 2: run the project\nRun the project by specifying the path to your OpenAPI specification YAML file:\n\n```bash\ndotnet run -p:OpenApiSpecPath=\"path_to_openapi_spec.yaml\"\n```\n\nReplace `path_to_openapi_spec.yaml` with the path to your OpenAPI YAML file. This command builds and runs the project, generating the necessary API endpoints as defined in your YAML file.\n\n### step 3: browse the API\nAfter the application starts, it will display the URL where the server is hosted. Append `/swagger/index.html` to this URL in your browser to view and interact with your newly created mock API through the Swagger UI.\n```bash\nhttp://localhost:5287/swagger/index.html\n```\n\n## contributing\nContributions are welcome! Feel free to fork this repository and submit pull requests, or open issues to suggest improvements or report bugs.\n\n## license\nThis project is licensed under the MIT License.\n\n## support\nIf you need help or have any questions about using this tool, please open an issue in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristipufu%2Faspnetcore-openapi-source-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristipufu%2Faspnetcore-openapi-source-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristipufu%2Faspnetcore-openapi-source-generator/lists"}