Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

io.github.kicksolutions:mock-swagger-reactor

Package Overview
Maintainers
3
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.github.kicksolutions:mock-swagger-reactor

Reactor POM for Mock server based on swagger

  • 0.0.2-beta
  • Source
  • Maven

Version published
Maintainers
3
Source

Build Status Maven Central codecov

Mock Swagger

This Creates a mock service for given swagger definitions.

This Project is based on Maven and plan to support Gradle also in future. Following are modules we currently have

  • mock-swagger-core
  • mock-swagger-server

Following are the tools which this project internally uses:

How does it work

  • Mock Swagger Server internally reads the swagger definitions using Swagger Parser which constructs a Map of URI's, Methods and Example of Responses.
  • If the System Variable mockSucessResponses is set to true then application will return only mock responses from Response Codes <=400
  • Else it will return randomly any response code.

Usage:

java -jar mock-swagger-server-<version>-war-exec.jar [options]

-DswaggerLocation {Path/Folder of Swagger Definitions}
-DmockSucessResponses {If to Provide only sucess Responses}

License

Apacahe 2.0

FAQs

Package last updated on 10 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc