From c73e441f682dd0fa985b7f548416680e1770fee1 Mon Sep 17 00:00:00 2001 From: "@fenric" Date: Tue, 2 Jun 2020 17:24:13 +0300 Subject: [PATCH] support the `Schema.patternProperties` property --- src/Annotation/OpenApi/Schema.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Annotation/OpenApi/Schema.php b/src/Annotation/OpenApi/Schema.php index 1d1fbdf..d542f8a 100644 --- a/src/Annotation/OpenApi/Schema.php +++ b/src/Annotation/OpenApi/Schema.php @@ -229,6 +229,15 @@ final class Schema extends AbstractAnnotation implements SchemaInterface, Compon */ public $properties; + /** + * [!] Isn't standard property + * + * @var array<\Sunrise\Http\Router\OpenApi\Annotation\OpenApi\SchemaInterface> + * + * @since 1.4.1 + */ + public $patternProperties; + /** * @var bool *