File tree Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55namespace PhpList \RestBundle ;
66
77use Symfony \Component \HttpKernel \Bundle \Bundle ;
8+ use OpenApi \Attributes as OA ;
9+
810
911/**
1012 * This bundle provides the REST API for phpList.
1113 *
1214 * @author Oliver Klee <oliver@phplist.com>
1315 */
16+ #[OA \Info(
17+ version: "1.0.0 " ,
18+ description: "This is the OpenAPI documentation for My API. " ,
19+ title: "My API Documentation " ,
20+ contact: new OA \Contact (
21+ email: "support@phplist.com "
22+ ),
23+ license: new OA \License (
24+ name: "AGPL-3.0-or-later " ,
25+ url: "https://www.gnu.org/licenses/agpl.txt "
26+ )
27+ )]
28+ #[OA \Server(
29+ url: "https://www.phplist.com/api/v2 " ,
30+ description: "Production server "
31+ )]
1432class PhpListRestBundle extends Bundle
1533{
1634}
You can’t perform that action at this time.
0 commit comments