ArnavBalyan opened a new pull request, #7766:
URL: https://github.com/apache/paimon/pull/7766

   ### Purpose
      - The rest catalog OpenAPI spec at 
`docs/static/rest-catalog-open-api.yaml` fails strict OpenAPI 3 validation with 
32 errors. Lenient renderers like Swagger UI mask this, but 
openapi-generator-cli rejects it, breaking downstream.
      - Two structural mistakes. Several named ErrorResponse components have 
schema.$ref pointing to another response object instead of a schema. The 
databaseNamePattern parameter is declared in: path but is a sql like filter, so 
it has to be in: query.
      - Replaced the $ref targets with #/components/schemas/ErrorResponse and 
switched the 3 databaseNamePattern occurrences from path to query.
      - Fixes: #7760
   
   ### Tests
    - Validated locally with openapi-generator-cli 7.22.0. Before the change 
the same command reports 32 errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to