{"id":27962206,"url":"https://github.com/znsio/specmatic-examples-tmf","last_synced_at":"2026-02-05T03:36:57.078Z","repository":{"id":291055474,"uuid":"975993797","full_name":"znsio/specmatic-examples-tmf","owner":"znsio","description":"Specmatic Example Validation and Generation for TMF API","archived":false,"fork":false,"pushed_at":"2025-05-17T05:35:50.000Z","size":66983,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-16T19:53:02.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/znsio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2025-05-01T09:30:11.000Z","updated_at":"2025-05-17T05:35:53.000Z","dependencies_parsed_at":"2025-06-26T18:47:05.374Z","dependency_job_id":null,"html_url":"https://github.com/znsio/specmatic-examples-tmf","commit_stats":null,"previous_names":["znsio/specmatic-examples-tmf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/znsio/specmatic-examples-tmf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-examples-tmf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-examples-tmf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-examples-tmf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-examples-tmf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znsio","download_url":"https://codeload.github.com/znsio/specmatic-examples-tmf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znsio%2Fspecmatic-examples-tmf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29109304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:27:05.906Z","status":"ssl_error","status_checked_at":"2026-02-05T03:26:43.416Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2025-05-07T19:14:53.007Z","updated_at":"2026-02-05T03:36:57.065Z","avatar_url":"https://github.com/znsio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specmatic Examples for TMF APIs\nSpecmatic Example Validation and Generation for TMF API\n\n### Validate Inline Examples\n```shell\njava -jar lib/specmatic.jar examples validate --examples-to-validate=inline --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n\n### Export Inline Examples to External Files\n```shell\njava -jar lib/specmatic.jar examples export --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n\n### Load External Examples in an interactive Example UI\n```shell\njava -jar lib/specmatic.jar examples interactive --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n#### Docker version\n```shell\ndocker pull znsio/specmatic-openapi\ndocker run \\\n      -p 9001:9001 \\\n      -v \"$PWD/.specmatic/repos/specmatic-license.txt:/usr/src/app/specmatic-license.txt\" \\\n      -v \"$PWD/specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml:/usr/src/app/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\" \\\n      -v \"$PWD/specmatic.yaml:/usr/src/app/specmatic.yaml\" \\\n      -v \"$PWD/specs/TMF621-Trouble_Ticket-v5.0.0.oas_examples:/usr/src/app/TMF621-Trouble_Ticket-v5.0.0.oas_examples\" \\\n      -v \"$PWD/specs/TMF621-Trouble_Ticket-v5.0.0.oas_dictionary.yaml:/usr/src/app/TMF621-Trouble_Ticket-v5.0.0.oas_dictionary.yaml\" \\\n      -e SPECMATIC_LICENSE_PATH=/usr/src/app/specmatic-license.txt \\\n      znsio/specmatic-openapi examples interactive --spec-file TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n\n### Generate Dictionary\n```shell\njava -jar lib/specmatic.jar examples dictionary --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n\n### Start Interactive Example Server with Dictionary\n```shell\njava -jar lib/specmatic.jar examples interactive --dictionary specs/TMF621-Trouble_Ticket-v5.0.0.oas_dictionary.yaml --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml\n```\n\n### Validate Inline Examples in the updated Spec\n```shell\njava -jar lib/specmatic.jar examples validate --examples-to-validate=inline --spec-file specs/TMF621-Trouble_Ticket-v5.0.0.oas-updated.yaml\n```\n\n### Start Mock Server\n```shell\njava -jar lib/specmatic.jar virtualize --port 9003\n```\n\n### Check if the Mock Server is up using curl\n```shell\ncurl -X GET http://localhost:9003/troubleTicket/1002\n```\n\n### Run Contract Test against the Mock Server\n```shell\njava -jar lib/specmatic.jar test --testBaseURL=http://localhost:9003 --filter=\"PATH!='/hub*' \u0026\u0026 PATH!='/listener/*'\"\n```\n\n### Run Actual Trouble Ticket API Server\n```shell\ndocker compose up\n```\n### Run Contract Test against the actual API server\n```shell\njava -DMAX_TEST_REQUEST_COMBINATIONS=1 -jar lib/specmatic.jar test --testBaseURL=http://localhost:8621/tmf-api/troubleTicket/v5 --filter=\"PATH!='/hub*' \u0026\u0026 PATH!='/listener/*' \u0026\u0026 STATUS!='202'\"\n```\n\n### Test API Drift\n```shell\njava -jar lib/specmatic.jar compare specs/TMF621-Trouble_Ticket-v5.0.0.oas.yaml specs/TMF621-Trouble_Ticket-v5.0.0.oas_new.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-examples-tmf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznsio%2Fspecmatic-examples-tmf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznsio%2Fspecmatic-examples-tmf/lists"}