{ "info": { "author": "Storyscript", "author_email": "support@storyscript.io", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# openapi2oms\nThis tool aims to convert an OpenAPI 3 spec to its corresponding OMS\nequivalent. Not all features are supported, and some assumptions have\nbeen made. Please read the caveats section to understand these\nassumptions. \n\n## Storyscript\n```coffee\nresult = openapi2oms convert spec: openApiSpec properties: {\"serverIndex\": 0}\n``` \n\n## Caveats\n### Assumptions\n1. If there are multiple content types available for a given path, the content type\n `application/json` shall be preferred if available. If `application/json` is not\n available, then an appropriate content type will be chosen arbitrarily\n2. OMS doesn't support multiple responses. As such, the following order of response\n codes are considered as successful operations: `200, 201, 202, 2XX, 204, default`.\n Furthermore, since multiple content types are not supported, `application/json`\n will be used if available. If `application/json` is not available, then an\n appropriate content type will be chosen arbitrarily\n\n\n### todos \nrelated:\n1. [ ] https://github.com/microservices/openmicroservices.org/issues/50\n2. [x] https://github.com/microservices/openmicroservices.org/pull/96\n\n## License\nMIT License\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/microservices/openapi2oms", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "openapi2oms", "package_url": "https://pypi.org/project/openapi2oms/", "platform": "", "project_url": "https://pypi.org/project/openapi2oms/", "project_urls": { "Homepage": "https://github.com/microservices/openapi2oms" }, "release_url": "https://pypi.org/project/openapi2oms/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "A tool to convert an OpenAPI spec to an OMS spec", "version": "0.1.0", "yanked": false, "yanked_reason": null }, "last_serial": 6056378, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "129ebc544296595d01e10e42629084b7", "sha256": "c41be698c094e05c0e75bbe97554e07669061ab34b813718fa96e8fd66d8fd30" }, "downloads": -1, "filename": "openapi2oms-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "129ebc544296595d01e10e42629084b7", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 16467, "upload_time": "2019-10-31T06:06:03", "upload_time_iso_8601": "2019-10-31T06:06:03.680075Z", "url": "https://files.pythonhosted.org/packages/5d/4c/26bed4224519cb5aee4fce23ac054c5f5dfa2cb05998a3d7edf04cf1f06f/openapi2oms-0.1.0-py3.6.egg", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "d412a6fc06c74d1da0e366a26d53a8e2", "sha256": "4372eabc2dc1b152d09506c2ffc9093ccfe2ea5583285d37885a177b05002a52" }, "downloads": -1, "filename": "openapi2oms-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d412a6fc06c74d1da0e366a26d53a8e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9002, "upload_time": "2019-10-31T06:05:41", "upload_time_iso_8601": "2019-10-31T06:05:41.530880Z", "url": "https://files.pythonhosted.org/packages/af/78/f0d0c468ee1682a795a53758ccf274355a96d61037adb6fc6cf4e3b306d5/openapi2oms-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "977eb7c6977b6988110a8f612ca546d0", "sha256": "f392cda5e9ab7d8da544e4f7708c3da2fd6d6597e9849d8110f8c8260001391f" }, "downloads": -1, "filename": "openapi2oms-0.1.0.tar.gz", "has_sig": false, "md5_digest": "977eb7c6977b6988110a8f612ca546d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5989, "upload_time": "2019-10-31T06:06:13", "upload_time_iso_8601": "2019-10-31T06:06:13.305446Z", "url": "https://files.pythonhosted.org/packages/f8/1c/a6b6ed8d5da8263fde361b6ff687bb118f8c86cc0dea4c5c353946e32b5b/openapi2oms-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "129ebc544296595d01e10e42629084b7", "sha256": "c41be698c094e05c0e75bbe97554e07669061ab34b813718fa96e8fd66d8fd30" }, "downloads": -1, "filename": "openapi2oms-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "129ebc544296595d01e10e42629084b7", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 16467, "upload_time": "2019-10-31T06:06:03", "upload_time_iso_8601": "2019-10-31T06:06:03.680075Z", "url": "https://files.pythonhosted.org/packages/5d/4c/26bed4224519cb5aee4fce23ac054c5f5dfa2cb05998a3d7edf04cf1f06f/openapi2oms-0.1.0-py3.6.egg", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "d412a6fc06c74d1da0e366a26d53a8e2", "sha256": "4372eabc2dc1b152d09506c2ffc9093ccfe2ea5583285d37885a177b05002a52" }, "downloads": -1, "filename": "openapi2oms-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d412a6fc06c74d1da0e366a26d53a8e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9002, "upload_time": "2019-10-31T06:05:41", "upload_time_iso_8601": "2019-10-31T06:05:41.530880Z", "url": "https://files.pythonhosted.org/packages/af/78/f0d0c468ee1682a795a53758ccf274355a96d61037adb6fc6cf4e3b306d5/openapi2oms-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "977eb7c6977b6988110a8f612ca546d0", "sha256": "f392cda5e9ab7d8da544e4f7708c3da2fd6d6597e9849d8110f8c8260001391f" }, "downloads": -1, "filename": "openapi2oms-0.1.0.tar.gz", "has_sig": false, "md5_digest": "977eb7c6977b6988110a8f612ca546d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5989, "upload_time": "2019-10-31T06:06:13", "upload_time_iso_8601": "2019-10-31T06:06:13.305446Z", "url": "https://files.pythonhosted.org/packages/f8/1c/a6b6ed8d5da8263fde361b6ff687bb118f8c86cc0dea4c5c353946e32b5b/openapi2oms-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }