Skip to content

Commit 3ef5440

Browse files
Merge pull request #285644 from dlepow/lintfix
[APIC] Linting constraints
2 parents 5cb1af0 + 9c1e49c commit 3ef5440

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ 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-
> [!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).
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) using a custom Azure function. **Disable any function used for manual linting before enabling managed API analysis.**
19+
1920

2021
In this scenario:
2122

@@ -29,6 +30,9 @@ In this scenario:
2930
* Currently, only OpenAPI specification documents in JSON or YAML format are analyzed.
3031
* 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).
3132
* Currently, you configure a single ruleset, and it's applied to all OpenAPI definitions in your API center.
33+
* The following are limits for maximum number of API definitions linted per 4 hours:
34+
* Free tier: 10
35+
* Standard tier: 100
3236

3337
## Prerequisites
3438

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+
| Maximum number of API definitions [linted](../enable-managed-api-analysis-linting.md) 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)