gravitee-io / issues

Gravitee.io - API Platform - Issues
65 stars 26 forks source link

Import an large API definition exceeds the snakeyaml limit #9675

Closed kazepoy closed 7 months ago

kazepoy commented 7 months ago

version 4.3 (quick start docker compose)

an Exception is thrown when importing large API definition (add API) :

gio_apim_management_api | Caused by: org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.

exemple https://hapi.fhir.org/baseR4/swagger-ui/

kazepoy commented 7 months ago

ok with


management_api:
  environment:
    - JAVA_TOOL_OPTIONS=-DmaxYamlCodePoints=8138022