description |
---|
This article focuses on how to use the API Quality feature to govern your APIs and ensure that only high-quality APIs enter production |
{% hint style="warning" %} The API Quality feature is only available to v2 APIs {% endhint %}
The Gravitee API Quality feature enables API governance by allowing you to create and automatically assign customizable scores based on certain variables determined to impact API quality. If API Quality is enabled, APIs that you create in Gravitee will automatically be assigned an API quality score.
API Quality is configured at the Portal Settings level. To access these settings:
-
Log in to your API Management Console.
-
Select Settings from the left nav.
-
Select API Quality from the inner left nav
-
Configure pre-built quality characteristics that Gravitee automatically enforces:
API Quality settings
- Enable API review: Toggle ON to build API Quality review into your workflow and not allow an API to be published without review
- Enable API Quality Metrics: Toggle ON to enable quality to be measured and viewable within an APIs details
- Description: Description weight assigns a weight to the overall description, while Description minimum length, Logo weight, Categories weight, and Labels weight assign weights to description characteristics
- Documentation: Specify Functional documentation weight and Technical documentation weight
- Endpoint: Specify Healthcheck weight
-
Click + Add new quality rule to configure a custom rule that will be enforced manually:
Create a manual custom rule
- Specify the rule name, description, and weight
- Click Create
To view an API Quality score: