{ "info": { "author": "hawry", "author_email": "hawry@hawry.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7" ], "description": "# deforest\n\n[](https://badge.fury.io/py/deforest) [](https://travis-ci.com/hawry/deforest)\n\nRemove all `x-amazon`-tags from your Open API 3 or Swagger 2 specification. Useful if you are using Cloudformation to specify your API Gateways, and want to provide your consumers with the same specification but not wanting to disclose your internal Amazon integrations.\n\n# Installation\n\n`pip install --user deforest`\n\n## Features\n\n- Clean keys starting with the string `x-amazon`\n- Handles JSON and YAML input\n- Handles JSON and YAML output (defaults to YAML)\n- Support for AWS CloudFormation templates\n - AWS::ApiGateway::RestApi resource type\n - AWS::Serverless::Api resource type\n\n# Usage\n\n```\nUsage: deforest [OPTIONS] INFILE\n\nOptions:\n -o, --outfile TEXT specify output file, default is\n ./