Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Links to documentation #633

Merged
merged 1 commit into from Jan 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/SchemaNormalizer.php
Expand Up @@ -142,7 +142,7 @@ private function normalizeArray(
$itemSchema = $schema->items;

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#tuple-validation
* @see https://json-schema.org/understanding-json-schema/reference/array.html#tuple-validation
*/
if (\is_array($itemSchema)) {
return \array_map(function ($item, \stdClass $itemSchema) {
Expand All @@ -154,7 +154,7 @@ private function normalizeArray(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#list-validation
* @see https://json-schema.org/understanding-json-schema/reference/array.html#list-validation
*/
return \array_map(function ($item) use ($itemSchema) {
return $this->normalizeData(
Expand Down Expand Up @@ -223,7 +223,7 @@ private function resolveSchema(
\stdClass $schema
): \stdClass {
/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#anyof
* @see https://json-schema.org/understanding-json-schema/reference/combining.html#anyof
*/
if (
\property_exists($schema, 'anyOf')
Expand All @@ -246,7 +246,7 @@ private function resolveSchema(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#oneof
* @see https://json-schema.org/understanding-json-schema/reference/combining.html#oneof
*/
if (
\property_exists($schema, 'oneOf')
Expand All @@ -269,7 +269,7 @@ private function resolveSchema(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/structuring.html#reuse
* @see https://json-schema.org/understanding-json-schema/structuring.html#reuse
*/
if (
\property_exists($schema, '$ref')
Expand Down