{"id":24919737,"url":"https://github.com/steinfletcher/apitest-plantuml","last_synced_at":"2025-07-09T06:05:21.408Z","repository":{"id":49572243,"uuid":"171090897","full_name":"steinfletcher/apitest-plantuml","owner":"steinfletcher","description":":seedling: Formats the results of an apitest run as PlantUML markup","archived":false,"fork":false,"pushed_at":"2021-06-14T05:29:12.000Z","size":139,"stargazers_count":20,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T18:09:55.594Z","etag":null,"topics":["api-testing","apitest","behavioural-tests","golang","plantuml","sequence-diagram"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steinfletcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-17T06:45:19.000Z","updated_at":"2023-10-26T09:18:31.000Z","dependencies_parsed_at":"2022-08-20T06:00:16.381Z","dependency_job_id":null,"html_url":"https://github.com/steinfletcher/apitest-plantuml","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/steinfletcher/apitest-plantuml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fapitest-plantuml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fapitest-plantuml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fapitest-plantuml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fapitest-plantuml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinfletcher","download_url":"https://codeload.github.com/steinfletcher/apitest-plantuml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fapitest-plantuml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264403795,"owners_count":23602619,"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":["api-testing","apitest","behavioural-tests","golang","plantuml","sequence-diagram"],"created_at":"2025-02-02T10:37:17.792Z","updated_at":"2025-07-09T06:05:21.363Z","avatar_url":"https://github.com/steinfletcher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apitest-plantuml\n\n[![GoDoc](https://godoc.org/github.com/steinfletcher/apitest-plantuml?status.svg)](https://godoc.org/github.com/steinfletcher/apitest-plantuml)\n[![Build Status](https://travis-ci.org/steinfletcher/apitest-plantuml.svg?branch=master)](https://travis-ci.org/steinfletcher/apitest-plantuml)\n\nFormats the results of an [apitest](https://github.com/steinfletcher/apitest) run as plant uml markup.\n\n## Installation\n\n```bash\ngo get -u github.com/steinfletcher/apitest-plantuml\n```\n\n## Example\n\n```go\napitest.New(\"search user\").\n    Handler(myHandler).\n\tReport(plantuml.NewFormatter(myWriter)).\n\tMocks(getPreferencesMock, getUserMock).\n\tPost(\"/user/search\").\n\tBody(`{\"name\": \"jon\"}`).\n\tExpect(t).\n\tStatus(http.StatusOK).\n\tHeader(\"Content-Type\", \"application/json\").\n\tBody(`{\"name\": \"jon\", \"is_contactable\": true}`).\n\tEnd()\n```\n\n![Diagram](/testdata/plantuml.png?raw=true \"Sequence Diagram\")\n\n[SVG version](https://www.plantuml.com/plantuml/svg/fPFBJiCm44NtynMZhAX4IPEsI6I1AY6W4aYjrEoHSQUDIs97jhC0nBzZkpoIbaSHMJapetlld3WJOvcsJLM2UH2oPffLA9MbAoNjGZmH9achKocfUA5LHMXrGn3nKaJzyyWqDihmAEdXVBR8CMuCwTWGqxn0y7AenRgmiD-TvlayJauIc2fZCsHrNGhEh50Iu1dGFP5a5JdrQADa12z0SXaIGd1rvbxEUFkqXzUNEHRMrbaSN4pCQh7rIzBXQDm9usTt-pjnWWP0otDhrl_SUTZ3T31u4ovfPU5T8zHdDt3XK9Aq_LkIQrjac9vzbFB7cZfBnnlppUR7sv9O-e8F-oMBMjEAD4bEWSYeGwJL37kttt_0ip-sGwarq67L3jCYDluxiT6Xn8IvuswISSlkIyykNDCzK2wClxakpEaXOIHnRvKXBvMX_tozt-B1n1tzt_WA)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fapitest-plantuml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinfletcher%2Fapitest-plantuml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fapitest-plantuml/lists"}