Skip to content

Commit 4dae056

Browse files
authored
chore: remove @experimental flag from parameters (#7357)
1 parent b80ab9a commit 4dae056

19 files changed

+4
-44
lines changed

src/Doctrine/Odm/State/LinksHandlerInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
use ApiPlatform\Metadata\Operation;
1717
use Doctrine\ODM\MongoDB\Aggregation\Builder;
1818

19-
/**
20-
* @experimental
21-
*/
2219
interface LinksHandlerInterface
2320
{
2421
/**

src/Doctrine/Orm/State/LinksHandlerInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
use ApiPlatform\Metadata\Operation;
1818
use Doctrine\ORM\QueryBuilder;
1919

20-
/**
21-
* @experimental
22-
*/
2320
interface LinksHandlerInterface
2421
{
2522
/**

src/Metadata/ApiProperty.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final class ApiProperty
5151
* @param string[]|null $types the RDF types of this property
5252
* @param string[]|null $iris
5353
* @param LegacyType[]|null $builtinTypes
54-
* @param string|null $uriTemplate (experimental) whether to return the subRessource collection IRI instead of an iterable of IRI
54+
* @param string|null $uriTemplate whether to return the subRessource collection IRI instead of an iterable of IRI
5555
* @param string|null $property The property name
5656
* @param Context|Groups|Ignore|SerializedName|SerializedPath|MaxDepth|array<array-key, Context|Groups|Ignore|SerializedName|SerializedPath|MaxDepth> $serialize Serializer attributes
5757
* @param Type|null $nativeType The internal PHP type
@@ -650,8 +650,6 @@ public function withGenId(bool $genId): static
650650

651651
/**
652652
* Whether to return the subRessource collection IRI instead of an iterable of IRI.
653-
*
654-
* @experimental
655653
*/
656654
public function getUriTemplate(): ?string
657655
{

src/Metadata/HeaderParameter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
namespace ApiPlatform\Metadata;
1515

16-
/**
17-
* @experimental
18-
*/
1916
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
2017
class HeaderParameter extends Parameter implements HeaderParameterInterface
2118
{

src/Metadata/HeaderParameterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace ApiPlatform\Metadata;
1515

1616
/**
17-
* @experimental
17+
* A HTTP header parameter.
1818
*/
1919
interface HeaderParameterInterface
2020
{

src/Metadata/Metadata.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ public function __construct(
7373
protected $provider = null,
7474
protected $processor = null,
7575
protected ?OptionsInterface $stateOptions = null,
76-
/*
77-
* @experimental
78-
*/
7976
array|Parameters|null $parameters = null,
8077
protected mixed $rules = null,
8178
protected ?string $policy = null,

src/Metadata/Parameter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
use ApiPlatform\State\ParameterProviderInterface;
1919
use Symfony\Component\TypeInfo\Type;
2020

21-
/**
22-
* @experimental
23-
*/
2421
abstract class Parameter
2522
{
2623
/**

src/Metadata/QueryParameter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
namespace ApiPlatform\Metadata;
1515

16-
/**
17-
* @experimental
18-
*/
1916
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
2017
class QueryParameter extends Parameter implements QueryParameterInterface
2118
{

src/Metadata/QueryParameterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace ApiPlatform\Metadata;
1515

1616
/**
17-
* @experimental
17+
* A parameter in the HTTP request query string.
1818
*/
1919
interface QueryParameterInterface
2020
{

src/Metadata/Resource/Factory/ParameterResourceMetadataCollectionFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838

3939
/**
4040
* Prepares Parameters documentation by reading its filter details and declaring an OpenApi parameter.
41-
*
42-
* @experimental
4341
*/
4442
final class ParameterResourceMetadataCollectionFactory implements ResourceMetadataCollectionFactoryInterface
4543
{

0 commit comments

Comments
 (0)