{"id":15046221,"url":"https://github.com/kicksolutions/mockswagger","last_synced_at":"2025-10-26T13:31:03.090Z","repository":{"id":57733831,"uuid":"115847926","full_name":"kicksolutions/mockswagger","owner":"kicksolutions","description":"This Creates a mock service for given swagger definitions.","archived":false,"fork":false,"pushed_at":"2022-12-10T04:24:59.000Z","size":40,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-28T13:21:49.328Z","etag":null,"topics":["mock","mock-server","openapi","swagger"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kicksolutions.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}},"created_at":"2017-12-31T06:49:42.000Z","updated_at":"2021-07-14T12:24:42.000Z","dependencies_parsed_at":"2023-01-26T01:47:22.485Z","dependency_job_id":null,"html_url":"https://github.com/kicksolutions/mockswagger","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kicksolutions%2Fmockswagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kicksolutions%2Fmockswagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kicksolutions%2Fmockswagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kicksolutions%2Fmockswagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kicksolutions","download_url":"https://codeload.github.com/kicksolutions/mockswagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862887,"owners_count":16555951,"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":["mock","mock-server","openapi","swagger"],"created_at":"2024-09-24T20:52:52.512Z","updated_at":"2025-10-26T13:31:02.771Z","avatar_url":"https://github.com/kicksolutions.png","language":"Java","readme":"[![Build Status](https://travis-ci.org/kicksolutions/mockswagger.svg?branch=master)](https://travis-ci.org/kicksolutions/mockswagger)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-codegen-project/badge.svg?style=plastic)](https://oss.sonatype.org/#nexus-search;gav~io.github.kicksolutions~mock-swagger-server~~~)\n[![codecov](https://codecov.io/gh/kicksolutions/swagger2puml/branch/master/graph/badge.svg)](https://codecov.io/gh/kicksolutions/mockswagger)\n\n# Mock Swagger\n\nThis Creates a mock service for given swagger definitions.\n\nThis Project is based on Maven and plan to support Gradle also in future.\nFollowing are modules we currently have \n\n- mock-swagger-core\n- mock-swagger-server\n\nFollowing are the tools which this project internally uses:\n\n- [Swagger Parser]\n\n# How does it work\n\n- Mock Swagger Server internally reads the swagger definitions using [Swagger Parser] which constructs a Map of URI's, Methods and Example of Responses. \n- If the System Variable mockSucessResponses is set to true then application will return only mock responses from Response Codes \u003c=400\n- Else it will return randomly any response code.\n\n### Usage:\n\n```\njava -jar mock-swagger-server-\u003cversion\u003e-war-exec.jar [options]\n\n-DswaggerLocation {Path/Folder of Swagger Definitions}\n-DmockSucessResponses {If to Provide only sucess Responses}\n```\n\nLicense\n----\n\nApacahe 2.0\n\n[Swagger]: \u003chttps://swagger.io/\u003e\n[Swagger Parser]: \u003chttps://github.com/swagger-api/swagger-parser\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksolutions%2Fmockswagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkicksolutions%2Fmockswagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksolutions%2Fmockswagger/lists"}