From acfdd591ac151849ebcd0d7d5a3489bbacc81bd1 Mon Sep 17 00:00:00 2001 From: p1c2u Date: Mon, 27 Feb 2023 06:43:28 +0000 Subject: [PATCH] Move to python-openapi org --- README.rst | 14 +++++++------- docs/conf.py | 2 +- docs/contributing.rst | 4 ++-- docs/index.rst | 6 +++--- openapi_schema_validator/__init__.py | 2 +- openapi_schema_validator/validators.py | 4 ++-- pyproject.toml | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index 9377218..5d8b66f 100644 --- a/README.rst +++ b/README.rst @@ -4,10 +4,10 @@ openapi-schema-validator .. image:: https://img.shields.io/pypi/v/openapi-schema-validator.svg :target: https://pypi.python.org/pypi/openapi-schema-validator -.. image:: https://travis-ci.org/p1c2u/openapi-schema-validator.svg?branch=master - :target: https://travis-ci.org/p1c2u/openapi-schema-validator -.. image:: https://img.shields.io/codecov/c/github/p1c2u/openapi-schema-validator/master.svg?style=flat - :target: https://codecov.io/github/p1c2u/openapi-schema-validator?branch=master +.. image:: https://travis-ci.org/python-openapi/openapi-schema-validator.svg?branch=master + :target: https://travis-ci.org/python-openapi/openapi-schema-validator +.. image:: https://img.shields.io/codecov/c/github/python-openapi/openapi-schema-validator/master.svg?style=flat + :target: https://codecov.io/github/python-openapi/openapi-schema-validator?branch=master .. image:: https://img.shields.io/pypi/pyversions/openapi-schema-validator.svg :target: https://pypi.python.org/pypi/openapi-schema-validator .. image:: https://img.shields.io/pypi/format/openapi-schema-validator.svg @@ -43,7 +43,7 @@ Alternatively you can download the code and install from the repository: .. code-block:: console - pip install -e git+https://github.com/p1c2u/openapi-schema-validator.git#egg=openapi_schema_validator + pip install -e git+https://github.com/python-openapi/openapi-schema-validator.git#egg=openapi_schema_validator Usage @@ -103,7 +103,7 @@ For more details read about `Validation `__ +* `openapi-core `__ Python library that adds client-side and server-side support for the OpenAPI. -* `openapi-spec-validator `__ +* `openapi-spec-validator `__ Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 specification diff --git a/docs/conf.py b/docs/conf.py index 5bffbe7..e0462ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,7 @@ "provider": "google", "property": "G-11RDPBZ7EJ", }, - "repo_url": "https://github.com/p1c2u/openapi-schema-validator/", + "repo_url": "https://github.com/python-openapi/openapi-schema-validator/", "repo_name": "openapi-schema-validator", "repo_type": "github", "icon": { diff --git a/docs/contributing.rst b/docs/contributing.rst index 8dfc42d..614fb06 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -11,8 +11,8 @@ Reporting bugs Before you report ^^^^^^^^^^^^^^^^^ -* Check whether your issue does not already exist in the `Issue tracker `__. -* Make sure it is not a support request or question better suited for `Discussion board `__. +* Check whether your issue does not already exist in the `Issue tracker `__. +* Make sure it is not a support request or question better suited for `Discussion board `__. How to submit a report ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/docs/index.rst b/docs/index.rst index 5425d57..1b9b6fe 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -30,7 +30,7 @@ Installation .. code-block:: console - pip install -e git+https://github.com/p1c2u/openapi-schema-validator.git#egg=openapi_schema_validator + pip install -e git+https://github.com/python-openapi/openapi-schema-validator.git#egg=openapi_schema_validator Usage ----- @@ -86,9 +86,9 @@ Read more about the :doc:`validation`. Related projects ---------------- -* `openapi-core `__ +* `openapi-core `__ Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification. -* `openapi-spec-validator `__ +* `openapi-spec-validator `__ Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification. The validator aims to check for full compliance with the Specification. License diff --git a/openapi_schema_validator/__init__.py b/openapi_schema_validator/__init__.py index 9155f66..b7d2b76 100644 --- a/openapi_schema_validator/__init__.py +++ b/openapi_schema_validator/__init__.py @@ -9,7 +9,7 @@ __author__ = "Artur Maciag" __email__ = "maciag.artur@gmail.com" __version__ = "0.4.3" -__url__ = "https://github.com/p1c2u/openapi-schema-validator" +__url__ = "https://github.com/python-openapi/openapi-schema-validator" __license__ = "3-clause BSD License" __all__ = [ diff --git a/openapi_schema_validator/validators.py b/openapi_schema_validator/validators.py index 083fd5c..5d71543 100644 --- a/openapi_schema_validator/validators.py +++ b/openapi_schema_validator/validators.py @@ -58,7 +58,7 @@ type_checker=oas_types.oas30_type_checker, format_checker=oas_format.oas30_format_checker, # NOTE: version causes conflict with global jsonschema validator - # See https://github.com/p1c2u/openapi-schema-validator/pull/12 + # See https://github.com/python-openapi/openapi-schema-validator/pull/12 # version="oas30", id_of=lambda schema: schema.get("id", ""), ) @@ -103,7 +103,7 @@ def _patch_validator_with_read_write_context(cls: Type[Validator]) -> None: """Adds read/write context to jsonschema validator class""" # subclassing validator classes is not intended to # be part of their public API and will raise error - # See https://github.com/p1c2u/openapi-schema-validator/issues/48 + # See https://github.com/python-openapi/openapi-schema-validator/issues/48 original_init = cls.__init__ original_evolve = cls.evolve diff --git a/pyproject.toml b/pyproject.toml index 133a666..844bf47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ description = "OpenAPI schema validation for Python" authors = ["Artur Maciag "] license = "BSD-3-Clause" readme = "README.rst" -repository = "https://github.com/p1c2u/openapi-schema-validator" +repository = "https://github.com/python-openapi/openapi-schema-validator" keywords = ["openapi", "swagger", "schema"] classifiers = [ "Development Status :: 4 - Beta",