Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function create(BuilderFactory $build): EndpointBuilder |
||
20 | { |
||
21 | return $build->endpoint(self::class) |
||
22 | ->description('Builds OpenAPI schema') |
||
23 | ->exportTo(Tenant::ALL) |
||
24 | ->take(OpenAPISchemaCommand::class) |
||
25 | ->middlewares( |
||
26 | $build->call(OpenAPISchemaAction::class) |
||
27 | ) |
||
28 | ->return(Response::class); |
||
29 | } |
||
30 | } |
||
32 |