Skip to content

Conversation

@norberttech
Copy link
Member

Resolves: #1353

Change Log


Added

  • OpenAPI Specification Bridge

Fixed

Changed

Removed

Deprecated

Security

I might be wrong since I didn't had time yet to fully play with ApiPlatform but it seems it should be possible to register custom endpoints through something like this (pseudocode):

<?php

use ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface;
use ApiPlatform\OpenApi\OpenApi;

class CustomApiOpenApiDecorator implements OpenApiFactoryInterface
{
    public function __construct(private OpenApiFactoryInterface $decorated) {}
    
    public function __invoke(array $context = []): OpenApi
    {
        $openApi = $this->decorated->__invoke($context);
        
        // Add your custom paths/schemas
        $openApi->getPaths()->addPath('/custom/endpoint', $customPathItem);
        
        return $openApi;
    }
}

@norberttech norberttech linked an issue Jul 10, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jul 10, 2025

Codecov Report

Attention: Patch coverage is 93.16770% with 11 lines in your changes missing coverage. Please review.

Project coverage is 81.68%. Comparing base (d775693) to head (db230e6).
Report is 2 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1760      +/-   ##
==========================================
+ Coverage   81.58%   81.68%   +0.09%     
==========================================
  Files         716      718       +2     
  Lines       20118    20279     +161     
==========================================
+ Hits        16413    16564     +151     
- Misses       3705     3715      +10     
Components Coverage Δ
etl 88.41% <ø> (ø)
cli 85.46% <ø> (ø)
lib-array-dot 94.56% <ø> (ø)
lib-azure-sdk 61.35% <ø> (ø)
lib-doctrine-dbal-bulk 93.88% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-types 53.55% <ø> (+0.12%) ⬆️
lib-parquet 85.46% <ø> (ø)
lib-parquet-viewer 83.11% <ø> (ø)
lib-snappy 89.76% <ø> (-0.47%) ⬇️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 97.04% <ø> (ø)
bridge-openapi-specification 93.16% <93.16%> (∅)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.70% <ø> (ø)
adapter-csv 88.85% <ø> (ø)
adapter-doctrine 89.89% <ø> (ø)
adapter-elasticsearch 97.23% <ø> (ø)
adapter-google-sheet 83.87% <ø> (ø)
adapter-http 58.10% <ø> (ø)
adapter-json 87.98% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.95% <ø> (ø)
adapter-parquet 78.92% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 82.73% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit b58621d into 1.x Jul 10, 2025
21 checks passed
@norberttech norberttech deleted the 1353-openapi-tofrom-flow-schema branch July 10, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI to/from Flow Schema

2 participants