You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A library for implementing the OpenAPI specification and ADC profile conversion.
Direction
Supported
OpenAPI to ADC
✅
ADC to OpenAPI
❎
Supported Extension Fields
Supported Levels
Root Level: on the root of the OAS document
Path Level: on each path object
Operation Level: on each HTTP method object for each path
Server Level: on each item in the servers field, supports Root, Path and Operation levels
Field
Level
Description
x-adc-name
Root Level
Override the name of the generated main service
Operation Level
Override the name of the generated route
x-adc-labels
Root Level
Add labels field to the specified level. It supports string and string array formats.
Path Level
Operation Level
x-adc-plugins
Root Level
Add plugis field to the specified level. It is an object that contains one or more plugins.
Path Level
Plugin objects at the Path level and Operation level will cause the service to be split, i.e. the sub-level containing the plugin will be included in a new service.
Operation Level
x-adc-plugin-[plugin-name]
Root Level
It will be consistent with x-adc-plugins. However, those configured using this format will override plugins of the same name in x-adc-plugins.
Path Level
Operation Level
x-adc-service-defaults
Root Level
It supports setting/overriding parameters in the service at various levels. This field on sub-levels will cause the service to be split.
Path Level
Operation Level
x-adc-upstream-defaults
Root Level
It supports setting/overriding parameters in the upstream at various levels. This field on sub-levels will cause the service to be split.
Path Level
Operation Level
x-adc-upstream-node-defaults
Root Level - Server Level
It supports setting/overriding parameters in the upstream's node at various levels. The servers field on sub-levels will cause the service to be split.