{ "info": { "author": "Gregor von Laszewski", "author_email": "laszewski@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# Cloudmesh OpenAPI Merge\n\n## Prerequisits\n\n```bash\n$ pip install cloudmesh.openapi\n```\n\n## Usage\n\nThe manual page for the `cms openapi` command is\n\n```\ncms openapi merge [SERVICES...] [--dir=DIR]\ncms openapi list [--dir=DIR]\ncms openapi description [SERVICES...] [--dir=DIR]\ncms openapi md FILE [--indent=INDENT]\n```\n\n\nYou need to have the yaml file in the current directory and execute\nthis program in this directory\n\nAn example for yaml files are provided in \n\n* \n\nPlease note that the spec directory is containing openapi specifications that\nmay not yet completed or are actively worked on. You are invited to participate.\nYou can download some examples, as well as the `.header.yaml` file you will need\nwith for example curl\n\nOnce you have `organization.yaml`, `user.yaml` `timestap.yaml` and `.header\nyaml` in your directory you can say\n\nPlease note that this script does not yet rewrite the `$ref`\nappropriately, but if you like to help you can do so.\n\n## Example use\n\nHere we demonstrate an example use\n\nFirst we download some OpenAPI examples:\n\n```bash\nmkdir example\ncd example\n$ export SPEC=https://raw.githubusercontent.com/cloudmesh-community/nist/master/spec\n$ curl $SPEC/organization.yaml > organization.yaml\n$ curl $SPEC/user.yaml > user.yaml\n$ curl $SPEC/timestamp.yaml > timestamp.yaml\n$ curl $SPEC/.header.yaml > .header.yaml\n\n```\n\nNow let us look at the descriptions with \n\n```bash\n$ cms openapi description organization user timestamp\n```\n\nTo create a merged specification you can use \n\n```bash\n$ cms openapi merge organization user timestamp\n```\n\nTo create a markdown representation you can use \n\n```bash\n$ cms openapi md user\n```\n\nNote that for the markdown specification only one service is specified.\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cloudmesh/cloudmesh.openapi", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "cloudmesh.openapi", "package_url": "https://pypi.org/project/cloudmesh.openapi/", "platform": "", "project_url": "https://pypi.org/project/cloudmesh.openapi/", "project_urls": { "Homepage": "https://github.com/cloudmesh/cloudmesh.openapi" }, "release_url": "https://pypi.org/project/cloudmesh.openapi/1.4.24/", "requires_dist": [ "psutil", "pygments", "cloudmesh.cmd5" ], "requires_python": "", "summary": "A command called openapi and foo for the cloudmesh shell", "version": "1.4.24" }, "last_serial": 4840421, "releases": { "1.4.23": [ { "comment_text": "", "digests": { "md5": "6d2291876906d9243f9a0a63604d0b25", "sha256": "cbce404361126065b98533dcd9f7c320ecd1fc71b9ae15f4ee3793ce699e1bac" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.23-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6d2291876906d9243f9a0a63604d0b25", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7054, "upload_time": "2019-02-18T18:00:13", "url": "https://files.pythonhosted.org/packages/3d/49/763e200b69031625fabc7c4dbe5c34fb58a062827367efa070dc0a373a07/cloudmesh.openapi-1.4.23-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3ee889e1f5c532faf5a4d8aff2f7032", "sha256": "61d2b70d5f16f9be3ecdefb5b1c32fcdafe1630aebacb4879bf0296bf510be3a" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.23.zip", "has_sig": false, "md5_digest": "e3ee889e1f5c532faf5a4d8aff2f7032", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11402, "upload_time": "2019-02-18T18:00:14", "url": "https://files.pythonhosted.org/packages/d5/a3/fdcd7ea192ef9993f740522b26c0cb2d723580c4b5f39d7f92e00459fd45/cloudmesh.openapi-1.4.23.zip" } ], "1.4.24": [ { "comment_text": "", "digests": { "md5": "d1050d1f842459a19c0a37dccf8a25ab", "sha256": "c6923c1ecc1800af7f019fb55f08c1cceedc13cfe994457fe4dc7b269e8a4b49" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.24-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d1050d1f842459a19c0a37dccf8a25ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7815, "upload_time": "2019-02-19T15:29:06", "url": "https://files.pythonhosted.org/packages/0f/3a/926c14c860c86d57e2ea4bbc90af937dfcc01b012245ae9cbc44261ce2d1/cloudmesh.openapi-1.4.24-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f208ba326f2c338dde4dfe3290915a48", "sha256": "c0a530a4c422bd2bf732c33dc708b9bba3167bf921267428ab91f882101bc03d" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.24.zip", "has_sig": false, "md5_digest": "f208ba326f2c338dde4dfe3290915a48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12162, "upload_time": "2019-02-19T15:29:07", "url": "https://files.pythonhosted.org/packages/82/40/c3f8359fe08e9ef898684ac495c163a3eef9be1cd4b4469d3bd6450cc432/cloudmesh.openapi-1.4.24.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d1050d1f842459a19c0a37dccf8a25ab", "sha256": "c6923c1ecc1800af7f019fb55f08c1cceedc13cfe994457fe4dc7b269e8a4b49" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.24-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d1050d1f842459a19c0a37dccf8a25ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7815, "upload_time": "2019-02-19T15:29:06", "url": "https://files.pythonhosted.org/packages/0f/3a/926c14c860c86d57e2ea4bbc90af937dfcc01b012245ae9cbc44261ce2d1/cloudmesh.openapi-1.4.24-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f208ba326f2c338dde4dfe3290915a48", "sha256": "c0a530a4c422bd2bf732c33dc708b9bba3167bf921267428ab91f882101bc03d" }, "downloads": -1, "filename": "cloudmesh.openapi-1.4.24.zip", "has_sig": false, "md5_digest": "f208ba326f2c338dde4dfe3290915a48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12162, "upload_time": "2019-02-19T15:29:07", "url": "https://files.pythonhosted.org/packages/82/40/c3f8359fe08e9ef898684ac495c163a3eef9be1cd4b4469d3bd6450cc432/cloudmesh.openapi-1.4.24.zip" } ] }