Skip to content

Commit 6ee93c0

Browse files
committed
[APIC] Linting constraints
1 parent 13787a6 commit 6ee93c0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

articles/api-center/enable-managed-api-analysis-linting.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ ms.custom:
1414

1515
This article explains how to enable API analysis in [Azure API Center](overview.md) without having to manage it yourself (preview). API analysis offers linting capabilities to analyze API definitions in your organization's API center. Linting ensures your API definitions adhere to organizational style rules, generating both individual and summary reports. Use API analysis to identify and correct common errors and inconsistencies in your API definitions.
1616

17+
> [!IMPORTANT]
18+
> Managed API analysis in API Center sets up a linting engine and necessary dependencies automatically. You can also enable linting and analysis [manually](enable-api-analysis-linting.md) with a custom Azure function. **Disable any function used for manual linting before enabling managed linting.**
19+
1720
> [!NOTE]
18-
> With managed linting and analysis, API Center sets up a linting engine and any required dependencies and triggers. You can also enable linting and analysis [manually](enable-api-analysis-linting.md).
21+
> Managed API analysis in API Center sets up a linting engine and necessary dependencies automatically. You can also enable linting and analysis [manually](enable-api-analysis-linting.md) with a custom Azure function. **Disable any function used for manual linting before enabling managed linting.**
22+
1923

2024
In this scenario:
2125

@@ -29,6 +33,9 @@ In this scenario:
2933
* Currently, only OpenAPI specification documents in JSON or YAML format are analyzed.
3034
* By default, you enable analysis with the [`spectral:oas` ruleset](https://docs.stoplight.io/docs/spectral/4dec24461f3af-open-api-rules). To learn more about the built-in rules, see the [Spectral GitHub repo](https://github.com/stoplightio/spectral/blob/develop/docs/reference/openapi-rules.md).
3135
* Currently, you configure a single ruleset, and it's applied to all OpenAPI definitions in your API center.
36+
* Azure API Center applies the following limits for linting:
37+
* Linting operations per 4 hours (Standard tier): 100
38+
* Linting operations per 4 hours (Free tier): 10
3239

3340
## Prerequisites
3441

articles/api-center/includes/api-center-service-limits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ms.custom: Include file
2323
| Maximum number of custom metadata properties per entity<sup>3</sup> | 10 | 20 |
2424
| Maximum number of child properties in custom metadata property of type "object" | 10 |10 |
2525
| Maximum requests per minute (data plane) | 3,000 | 6,000 |
26+
| API definition linting operations per 4 hours | 10 | 100 |
2627

2728
<sup>1</sup> To increase a limit in the Standard plan, contact [support](https://azure.microsoft.com/support/options/).<br/>
2829
<sup>2</sup> In the Free plan, use of full service features including API analysis and access through the data plane API is limited to 5 APIs.<br/>

0 commit comments

Comments
 (0)