Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1021 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 1021 Bytes

Cimpress : API Style Guide

Cimpress API Style guide extends the following

Running in CI:

The repository contains a Dockerfile which can be used to build a Docker image. Run the following commands to get it running:

docker build -t cimpress-linter:1.0.0 .
# Docker requires a volume to be made available to execute the script on the file.
# For example if your `openapi.yaml` is present in current directory, you can use this to mount the directory and provide two parameters to the `run` command. 
# 1. absolute path of the openapi file in the mounted volumne
# 2. Optional parameter of how to print the results 
docker run -v $(pwd)/src/main/resources/apidocs:/apidocs -it cimpress-linter:1.0.0 /apidocs/openapi.yaml -f pretty

📜 License

This repository is licensed under the apache license 2.0.