APIs-guru / openapi-directory

🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
https://apis.guru/
Creative Commons Zero v1.0 Universal
3.74k stars 561 forks source link

amadeus/amadeus-trip-parser has invalid regex pattern #1252

Open floitsch opened 2 months ago

floitsch commented 2 months ago

From what I can tell the pattern [a-zA-Z]{1-70} isn't valid. It should probably be [a-zA-Z}{1,70}.

https://github.com/APIs-guru/openapi-directory/blob/433a94f3e9e268f2b000b0b497785ede34332a7f/APIs/amadeus.com/amadeus-trip-parser/3.0.1/openapi.yaml#L326