svetli-n commented on a change in pull request #9338:
URL: https://github.com/apache/airflow/pull/9338#discussion_r443033237



##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -2134,6 +2134,7 @@ components:
       schema:
         type: integer
         minimum: 1
+        maximum: 100

Review comment:
       - isn't this supposed to be done with custom validators? 
https://connexion.readthedocs.io/en/latest/request.html
   
https://github.com/zalando/connexion/tree/master/examples/swagger2/enforcedefaults
   
   - isn't the intention to not allow the user to call the API with too high 
limit?




----------------------------------------------------------------
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.

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


Reply via email to