From dcd8f2ae842685db90d19b2c3d72defba7de8523 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 18 Sep 2020 00:22:35 -0400 Subject: [PATCH] Add license and readme --- LICENSE | 18 ++++++++++++++++++ README.rst | 14 ++++++++++++++ pyproject.toml | 3 ++- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 README.rst diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..be86798 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +Copyright 2020 Correl J. Roush + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..dfefeae --- /dev/null +++ b/README.rst @@ -0,0 +1,14 @@ +=================== + Tornado OpenAPI 3 +=================== + +Tornado OpenAPI 3 request and response validation library. + +Provides integration between the `Tornado`_ web framework and `Openapi-core`_ +library for validating request and response objects against an `OpenAPI 3`_ +specification. + + +.. _Tornado: https://www.tornadoweb.org/ +.. _Openapi-core: https://github.com/p1c2u/openapi-core +.. _OpenAPI 3: https://swagger.io/specification/ diff --git a/pyproject.toml b/pyproject.toml index a7eae5a..adb9767 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,10 @@ [tool.poetry] name = "tornado-openapi3" version = "0.1.0" -description = "Tornado OpenAPI 3 request and response validation" +description = "Tornado OpenAPI 3 request and response validation library" authors = ["Correl Roush "] license = "MIT" +readme = "README.rst" [tool.poetry.dependencies] python = "^3.7"