Request validation in API Gateway

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 2

  • @j.erlandsson
    @j.erlandsson Год назад +1

    Is it possible to generate routes with request-validation based on OpenAPI specifications?

    • @apacheapisix
      @apacheapisix  Год назад

      Hi,
      No, currently it has not been automated yet this conversion process in APISIX.
      1. You can not create routes from OpenAPI spec.
      2. You can create request validation rules by converting OpenAPI spec to JSON schema.
      Ideally, it would be great to have this auto-generation of routes and validation rules.
      Feel free to create a feature request on GitHub:
      github.com/apache/apisix/issues/new/choose
      Thanks!