This project contains a Mock Server that will serve up mock data based on a given Swagger definition.
As this is a Node.js application, you can run it locally using node.
npm install npm start
The application is normally deployed to OpenShift or Docker, however will work in any evironment that supports Node.js
The environment must contain a setting:
SWAGGER_URL
SWAGGER_URL is set to the URL to get the swagger definition from.
Please report any issues.
Pull requests are always welcome.
If you would like to contribute, please see our contributing guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2016 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This repository is maintained by BC Ministry of Transportation. Click here for a complete list of our repositories on GitHub.