Use this streamlined template for each Microsoft API documentation file, focused on OpenAPI specification generation.
Source: [microsoft-doc-filename.md]
Tags: [Category]
Summary: [Brief description <50 chars]
OperationId: [camelCaseOperationId]
[Concise business description - 1-2 sentences max focusing on what the endpoint does and its primary use case]
param1(string, required): Descriptionparam2(string, optional): Description
$filter(string, optional): OData filter query$top(integer, optional): Number of entries to returncustomParam(string, required): Custom parameter description
{
"property1": "string",
"property2": 123,
"property3": ["array", "values"]
}Required: property1, property2
Optional: property3
{
"value": [
{
"id": "string",
"name": "string"
}
],
"@odata.nextLink": "string"
}Standard error responses: 400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 429 (Rate Limited), 500 (Server Error)
- OAuth2:
https://api.securitycenter.microsoft.com/.default
- 100 calls per minute, 1,500 calls per hour
- ✅ $filter: field1, field2, field3
- ✅ $top: Max 10,000
- ❌ $expand: Not supported
GET /api/example?$filter=status eq 'Active'&$top=50
Authorization: Bearer {token}
Response:
{
"value": [
{
"id": "12345",
"status": "Active"
}
]
}- Key limitations or special considerations only
- Related endpoints if relevant
- Replace all
[PLACEHOLDER]values - Remove sections that don't apply (e.g., Request Body for GET requests)
- Include actual examples from Microsoft docs
- Focus on information needed for OpenAPI generation
- Keep descriptions concise and technical