SAP API Style Guide
Related Skills
- sap-cap-capire: Use for OData service documentation, CAP API patterns, and service definition standards
- sap-fiori-tools: Use for API consumption patterns, Fiori app integration, and OData best practices
- sap-abap: Use when documenting ABAP APIs, implementing REST services, or following API design patterns
- sapui5: Use for frontend API integration, OData consumption, and UI service patterns
- sap-btp-cloud-platform: Use for BTP service API documentation and integration patterns
Table of Contents
- Overview
- When to Use This Skill
- Quick Decision Tree
- Core Principles
- Quick Reference Tables
- Templates Available
- Reference Files
- Instructions for Use
- Common Pitfalls to Avoid
- External Resources
- Updates and Maintenance
Overview
This skill provides comprehensive guidance for documenting SAP APIs according to official SAP API Style Guide standards. It covers all major API types and documentation approaches used across the SAP ecosystem.
Documentation Source: https://github.com/SAP-docs/api-style-guide (76 files extracted)
Last Verified: 2025-11-21
When to Use This Skill
Use this skill when:
- Creating API documentation for REST, OData, Java, JavaScript, .NET, or C/C++ APIs
- Writing OpenAPI specifications for SAP API Business Hub
- Reviewing API names for SAP naming convention compliance
- Documenting API parameters, responses, operations with proper formatting
- Creating manual API documentation using SAP templates
- Writing documentation comments in source code (Javadoc, JSDoc, XML comments)
- Implementing API deprecation following SAP lifecycle policies
- Developing developer guides or service documentation
- Performing quality checks on API documentation
- Publishing APIs to SAP API Business Hub
Quick Decision Tree
What Type of API?
REST/OData API
├─ Auto-generated (OpenAPI/Swagger)?
│ └─ references/rest-odata-openapi-guide.md
│ • OpenAPI specification standards
│ • Package, API, operation descriptions
│ • Parameters, responses, components
│ • SAP API Business Hub requirements
│
└─ Manually written?
└─ references/manual-templates-guide.md
• REST templates (2-level: overview → method)
• OData templates (3-level: service → resource → operation)
• Complete field requirements
• templates/ directory for ready-to-use files
Native Library API
├─ Java → references/java-javascript-dotnet-guide.md
├─ JavaScript → references/java-javascript-dotnet-guide.md
├─ .NET (C#) → references/java-javascript-dotnet-guide.md
└─ C/C++ → references/java-javascript-dotnet-guide.md
• Documentation comments structure
• Language-specific tags
• Templates for classes, methods, enums
• Complete code examples
What Task?
Naming
└─ references/naming-conventions.md
• REST/OData naming (resources, parameters, URIs)
• Native library naming (classes, methods, constants)
• Common mistakes to avoid
Writing Descriptions
└─ references/rest-odata-openapi-guide.md
• Package descriptions
• API details (info object)
• Operations, parameters, responses
Quality Assurance
└─ references/quality-processes.md
• Complete API Quality Checklist
• Review workflows
• Development team guidelines
Deprecating APIs
└─ references/deprecation-policy.md
• Lifecycle states (beta, active, deprecated, decommissioned)
• Timeline requirements (12+ months support)
• Required metadata (x-sap-stateInfo)
Developer Guides
└─ references/developer-guides.md
• Structure guidelines
• Content selection
• Code sample standards
Core Principles
1. Consistency Across SAP APIs
All SAP API documentation follows consistent conventions:
- Naming: Language-specific (camelCase, PascalCase, kebab-case)
- Structure: Hierarchical with clear navigation
- Formatting: Sentences start with capitals, end with periods
- Language: American English
2. API-Type-Specific Standards
| API Type |
Standard |
Tool |
Documentation |
| REST |
OpenAPI 3.0.3 |
Swagger |
Spec |
| OData |
v4.01, v3.0, v2.0 |
Various |
OData.org |
| Java |
Javadoc |
javadoc |
Oracle |
| JavaScript |
JSDoc 3 |
jsdoc |
JSDoc.app |
| .NET |
XML Comments |
DocFX |
Microsoft |
| C/C++ |
Doxygen |
doxygen |
Doxygen.nl |
3. Progressive Disclosure
Documentation organized hierarchically:
- High-level overviews provide context and navigation
- Detailed references cover specific APIs, methods, operations
- Examples and templates demonstrate practical usage
4. Quality Standards
All documentation must:
- ✅ Be reviewed by User Assistance (UA) developers
- ✅ Use consistent naming and terminology
- ✅ Include complete parameter and response descriptions
- ✅ Avoid sensitive data in examples
- ✅ Provide working code examples
- ✅ Maintain accurate links and cross-references
Quick Reference Tables
Character Limits
| Element |
Limit |
Use Case |
| API Title |
80 |
info.title in OpenAPI |
| API Short Text |
180 |
x-sap-shortText |
| Package Short Desc |
250 |
Package tile description |
| Operation Summary |
255 |
Operation summary line |
| Description |
1024 |
General descriptions |
API Naming Rules
General Rules (all API types):
- ❌ Don't include "API" in name:
"Custom Forms API" → ✅ "Custom Forms"
- ❌ Don't include "SAP" prefix:
"SAP Document Approval" → ✅ "Document Approval"
- ❌ Don't use verbs:
"Configuring Portal" → ✅ "Portal Configuration"
- ✅ Capitalize words properly
- ✅ Avoid technical specifics (REST, OData, etc.)
See references/naming-conventions.md for complete language-specific rules.
Common Documentation Tags
Java/JavaScript:
@param <name> <description> - Parameter documentation
@return <description> - Return value
@throws <class> <description> - Exception
@deprecated <description> - Deprecation notice
.NET:
<summary> - Brief description
<param name=""> - Parameter
<returns> - Return value
<exception cref=""> - Exception
See references/java-javascript-dotnet-guide.md for complete tag reference.
API Lifecycle States
| State |
Definition |
Support |
Metadata Required |
| Beta |
Pre-production testing |
No guarantees |
state: beta |
| Active |
Production-ready (default) |
Full support |
Optional |
| Deprecated |
Replaced by successor |
12+ months |
state, deprecationDate, successorApi |
| Decommissioned |
Fully retired |
None |
Document removal |
See references/deprecation-policy.md for complete timeline and process requirements.
Templates Available
Ready-to-use templates in templates/ directory:
REST API Templates (2-Level)
- rest-api-overview-template.md - Resource-level overview
- rest-api-method-template.md - Individual endpoint details
OData API Templates (3-Level)
- odata-service-overview-template.md - Complete service overview
- odata-resource-template.md - Individual resource/entity set
- odata-operation-template.md - Specific operation details
All templates include:
- Clear "How to Use" instructions
- [Placeholder text] for customization
- Complete section structure
- Working examples
- Inline guidance
Reference Files
Complete Guides Available
rest-odata-openapi-guide.md (2,800 lines)
- Complete OpenAPI specification guidelines
- Package, API, operation descriptions
- Parameters, responses, components
- Security schemes, tags, external docs
- Character limits and anti-patterns
manual-templates-guide.md (2,765 lines)
- REST API templates (2-level hierarchy)
- OData API templates (3-level hierarchy)
- Complete template structures
- Field-by-field requirements
- Best practices and examples
naming-conventions.md (2,059 lines)
- REST/OData naming rules (resources, parameters, URIs)
- Native library naming (classes, methods, constants, packages)
- Language-specific conventions
- Common mistakes with fixes
- Decision trees and reference tables
quality-processes.md (1,774 lines)
- Complete API Quality Checklist
- Review workflows (developer + UA collaboration)
- Development team guidelines
- Common review findings and solutions
- Process flowcharts
java-javascript-dotnet-guide.md (1,517 lines)
- Documentation comments structure
- Language-specific tags (Java, JavaScript, .NET, C/C++)
- Templates for classes, methods, enums
- Complete code examples
- Best practices by language
developer-guides.md (704 lines)
- Guide structure standards
- Topic types (concept, reference, task)
- Content selection criteria
- Code sample standards (compilable, concise, commented)
- Best practices
deprecation-policy.md (664 lines)
- API lifecycle states (beta, active, deprecated, decommissioned)
- Timeline requirements (12+ months support, 24+ months lifespan)
- Required metadata (x-sap-stateInfo, artifact.json)
- Decommission process
- Complete examples
glossary-resources.md (472 lines)
Complete terminology definitions (API, OData, OpenAPI, etc.)
External resource links (standards, tools, SAP resources)
Quick reference tables
Tool documentation links
Content extraction and organization tracking
Source file mapping from SAP documentation
Consolidation and adaptation notes
Bundled Resources
This skill includes comprehensive documentation and templates organized for optimal use:
Reference Guides (references/)
- 9 detailed reference files (10,861 total lines)
- Complete coverage of SAP API Style Guide standards
- Progressive disclosure architecture for efficient loading
Template Files (templates/)
- rest-api-overview-template.md (217 lines) - Level 1 REST overview
- rest-api-method-template.md (477 lines) - Level 2 REST method details
- odata-service-overview-template.md (411 lines) - Level 1 OData service
- odata-resource-template.md (557 lines) - Level 2 OData resource
- odata-operation-template.md (681 lines) - Level 3 OData operation
Total: 2,343 lines of ready-to-use templates
Instructions for Use
Step 1: Identify API Type
Determine if you're documenting REST, OData, Java, JavaScript, .NET, or C/C++ API.
Step 2: Choose Approach
Auto-Generated: Write documentation comments in source code → Use appropriate tags → Submit for review
Manual: Select template from templates/ → Customize [placeholders] → Follow hierarchy → Validate with checklist
Step 3: Apply Standards
Consult appropriate reference file:
- Naming:
naming-conventions.md
- Descriptions:
rest-odata-openapi-guide.md or java-javascript-dotnet-guide.md
- Quality:
quality-processes.md
- Deprecation:
deprecation-policy.md
Step 4: Quality Check
Before publishing:
- Review against API Quality Checklist (
quality-processes.md)
- Verify naming conventions (
naming-conventions.md)
- Check character limits (see Quick Reference Tables above)
- Validate no sensitive data in examples
- Test all code examples
- Verify links work
- Obtain UA developer review
Step 5: Publish
- REST/OData: Submit to SAP API Business Hub
- Java/JavaScript/.NET: Generate with appropriate tool (Javadoc, JSDoc, DocFX)
- Developer Guides: Publish to SAP Help Portal or product documentation
Common Pitfalls to Avoid
Naming:
- ❌ Including "API":
"Custom Forms APIs" → ✅ "Custom Forms"
- ❌ Using "SAP" prefix:
"SAP Document Approval" → ✅ "Document Approval"
- ❌ Using verbs:
"Configuring Portal" → ✅ "Portal Configuration"
Descriptions:
- ❌ Second person:
"This operation creates..." → ✅ "Creates a new user"
- ❌ Generic responses:
"No content" → ✅ "Product is out of stock"
- ❌ Repeating summary in description
Documentation:
- ❌ Skipping UA review
- ❌ Including sensitive data in examples
- ❌ Missing required tags
- ❌ Inconsistent terminology
See individual reference files for complete anti-patterns and fixes.
External Resources
Standards
SAP Resources
Source
Updates and Maintenance
Source Version: SAP API Style Guide 2025.01 (verified against commit 902247f)
Recent Changes:
- Source repository updated 2025-10-28
- Reference file line counts verified and updated
- Added comprehensive Table of Contents for navigation
- Added Bundled Resources section for content discovery
To Update This Skill:
- Check source repository for changes: https://github.com/SAP-docs/api-style-guide
- Review "What's New in the Style Guide"
- Update affected reference files
- Update templates if standards changed
- Update "Last Verified" date
Quarterly Review Recommended: Check for updates every 3 months
Next Review: 2026-02-27
Skill Version: 1.1.0
Last Updated: 2025-11-27
License: GPL-3.0
Maintainer: SAP Skills Team | https://github.com/secondsky/sap-skills
1---2name: sap-api-style3description: This skill provides comprehensive guidance for documenting SAP APIs following official SAP API Style Guide standards. It should be used when creating or reviewing API documentation for REST, OData, Java, JavaScript, .NET, or C/C++ APIs. The skill covers naming conventions, documentation comments, OpenAPI specifications, quality checklists, deprecation policies, and manual documentation templates. It ensures consistency with SAP API Business Hub standards and industry best practices. Keywords: SAP API, REST, OData, OpenAPI, Swagger, Javadoc, JSDoc, XML documentation, API Business Hub, API naming, API deprecation, x-sap-stateInfo, Entity Data Model, EDM, documentation tags, API quality, API templates4license: GPL-3.05---6
7# SAP API Style Guide
8
9## Related Skills
10
11- **sap-cap-capire**: Use for OData service documentation, CAP API patterns, and service definition standards
12- **sap-fiori-tools**: Use for API consumption patterns, Fiori app integration, and OData best practices
13- **sap-abap**: Use when documenting ABAP APIs, implementing REST services, or following API design patterns
14- **sapui5**: Use for frontend API integration, OData consumption, and UI service patterns
15- **sap-btp-cloud-platform**: Use for BTP service API documentation and integration patterns
16
17## Table of Contents
18
191. [Overview](#overview)
202. [When to Use This Skill](#when-to-use-this-skill)
213. [Quick Decision Tree](#quick-decision-tree)
224. [Core Principles](#core-principles)
235. [Quick Reference Tables](#quick-reference-tables)
246. [Templates Available](#templates-available)
257. [Reference Files](#reference-files)
268. [Instructions for Use](#instructions-for-use)
279. [Common Pitfalls to Avoid](#common-pitfalls-to-avoid)
2810. [External Resources](#external-resources)
2911. [Updates and Maintenance](#updates-and-maintenance)
30
31## Overview
32
33This skill provides comprehensive guidance for documenting SAP APIs according to official SAP API Style Guide standards. It covers all major API types and documentation approaches used across the SAP ecosystem.
34
35**Documentation Source**: [https://github.com/SAP-docs/api-style-guide](https://github.com/SAP-docs/api-style-guide) (76 files extracted)
36
37**Last Verified**: 2025-11-21
38
39## When to Use This Skill
40
41Use this skill when:
42
43- **Creating API documentation** for REST, OData, Java, JavaScript, .NET, or C/C++ APIs
44- **Writing OpenAPI specifications** for SAP API Business Hub
45- **Reviewing API names** for SAP naming convention compliance
46- **Documenting API parameters, responses, operations** with proper formatting
47- **Creating manual API documentation** using SAP templates
48- **Writing documentation comments** in source code (Javadoc, JSDoc, XML comments)
49- **Implementing API deprecation** following SAP lifecycle policies
50- **Developing developer guides** or service documentation
51- **Performing quality checks** on API documentation
52- **Publishing APIs** to SAP API Business Hub
53
54## Quick Decision Tree
55
56### What Type of API?
57
58```
59REST/OData API
60├─ Auto-generated (OpenAPI/Swagger)?
61│ └─ references/rest-odata-openapi-guide.md
62│ • OpenAPI specification standards
63│ • Package, API, operation descriptions
64│ • Parameters, responses, components
65│ • SAP API Business Hub requirements
66│
67└─ Manually written?
68 └─ references/manual-templates-guide.md
69 • REST templates (2-level: overview → method)
70 • OData templates (3-level: service → resource → operation)
71 • Complete field requirements
72 • templates/ directory for ready-to-use files
73
74Native Library API
75├─ Java → references/java-javascript-dotnet-guide.md
76├─ JavaScript → references/java-javascript-dotnet-guide.md
77├─ .NET (C#) → references/java-javascript-dotnet-guide.md
78└─ C/C++ → references/java-javascript-dotnet-guide.md
79 • Documentation comments structure
80 • Language-specific tags
81 • Templates for classes, methods, enums
82 • Complete code examples
83```
84
85### What Task?
86
87```
88Naming
89└─ references/naming-conventions.md
90 • REST/OData naming (resources, parameters, URIs)
91 • Native library naming (classes, methods, constants)
92 • Common mistakes to avoid
93
94Writing Descriptions
95└─ references/rest-odata-openapi-guide.md
96 • Package descriptions
97 • API details (info object)
98 • Operations, parameters, responses
99
100Quality Assurance
101└─ references/quality-processes.md
102 • Complete API Quality Checklist
103 • Review workflows
104 • Development team guidelines
105
106Deprecating APIs
107└─ references/deprecation-policy.md
108 • Lifecycle states (beta, active, deprecated, decommissioned)
109 • Timeline requirements (12+ months support)
110 • Required metadata (x-sap-stateInfo)
111
112Developer Guides
113└─ references/developer-guides.md
114 • Structure guidelines
115 • Content selection
116 • Code sample standards
117```
118
119## Core Principles
120
121### 1. Consistency Across SAP APIs
122
123All SAP API documentation follows consistent conventions:
124- **Naming**: Language-specific (camelCase, PascalCase, kebab-case)
125- **Structure**: Hierarchical with clear navigation
126- **Formatting**: Sentences start with capitals, end with periods
127- **Language**: American English
128
129### 2. API-Type-Specific Standards
130
131| API Type | Standard | Tool | Documentation |
132|----------|----------|------|---------------|
133| REST | OpenAPI 3.0.3 | Swagger | [Spec](https://spec.openapis.org/) |
134| OData | v4.01, v3.0, v2.0 | Various | [OData.org](https://www.odata.org/) |
135| Java | Javadoc | javadoc | [Oracle](https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html) |
136| JavaScript | JSDoc 3 | jsdoc | [JSDoc.app](https://jsdoc.app/) |
137| .NET | XML Comments | DocFX | [Microsoft](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/) |
138| C/C++ | Doxygen | doxygen | [Doxygen.nl](https://www.doxygen.nl/) |
139
140### 3. Progressive Disclosure
141
142Documentation organized hierarchically:
143- **High-level overviews** provide context and navigation
144- **Detailed references** cover specific APIs, methods, operations
145- **Examples and templates** demonstrate practical usage
146
147### 4. Quality Standards
148
149All documentation must:
150- ✅ Be reviewed by User Assistance (UA) developers
151- ✅ Use consistent naming and terminology
152- ✅ Include complete parameter and response descriptions
153- ✅ Avoid sensitive data in examples
154- ✅ Provide working code examples
155- ✅ Maintain accurate links and cross-references
156
157## Quick Reference Tables
158
159### Character Limits
160
161| Element | Limit | Use Case |
162|---------|-------|----------|
163| API Title | 80 | `info.title` in OpenAPI |
164| API Short Text | 180 | `x-sap-shortText` |
165| Package Short Desc | 250 | Package tile description |
166| Operation Summary | 255 | Operation summary line |
167| Description | 1024 | General descriptions |
168
169### API Naming Rules
170
171**General Rules** (all API types):
172- ❌ Don't include "API" in name: ~~"Custom Forms API"~~ → ✅ "Custom Forms"
173- ❌ Don't include "SAP" prefix: ~~"SAP Document Approval"~~ → ✅ "Document Approval"
174- ❌ Don't use verbs: ~~"Configuring Portal"~~ → ✅ "Portal Configuration"
175- ✅ Capitalize words properly
176- ✅ Avoid technical specifics (REST, OData, etc.)
177
178See `references/naming-conventions.md` for complete language-specific rules.
179
180### Common Documentation Tags
181
182**Java/JavaScript**:
183- `@param <name> <description>` - Parameter documentation
184- `@return <description>` - Return value
185- `@throws <class> <description>` - Exception
186- `@deprecated <description>` - Deprecation notice
187
188**.NET**:
189- `<summary>` - Brief description
190- `<param name="">` - Parameter
191- `<returns>` - Return value
192- `<exception cref="">` - Exception
193
194See `references/java-javascript-dotnet-guide.md` for complete tag reference.
195
196### API Lifecycle States
197
198| State | Definition | Support | Metadata Required |
199|-------|-----------|---------|-------------------|
200| **Beta** | Pre-production testing | No guarantees | `state: beta` |
201| **Active** | Production-ready (default) | Full support | Optional |
202| **Deprecated** | Replaced by successor | 12+ months | `state`, `deprecationDate`, `successorApi` |
203| **Decommissioned** | Fully retired | None | Document removal |
204
205See `references/deprecation-policy.md` for complete timeline and process requirements.
206
207## Templates Available
208
209Ready-to-use templates in `templates/` directory:
210
211### REST API Templates (2-Level)
2121. **rest-api-overview-template.md** - Resource-level overview
2132. **rest-api-method-template.md** - Individual endpoint details
214
215### OData API Templates (3-Level)
2161. **odata-service-overview-template.md** - Complete service overview
2172. **odata-resource-template.md** - Individual resource/entity set
2183. **odata-operation-template.md** - Specific operation details
219
220All templates include:
221- Clear "How to Use" instructions
222- [Placeholder text] for customization
223- Complete section structure
224- Working examples
225- Inline guidance
226
227## Reference Files
228
229### Complete Guides Available
230
2311. **rest-odata-openapi-guide.md** (2,800 lines)
232 - Complete OpenAPI specification guidelines
233 - Package, API, operation descriptions
234 - Parameters, responses, components
235 - Security schemes, tags, external docs
236 - Character limits and anti-patterns
237
2382. **manual-templates-guide.md** (2,765 lines)
239 - REST API templates (2-level hierarchy)
240 - OData API templates (3-level hierarchy)
241 - Complete template structures
242 - Field-by-field requirements
243 - Best practices and examples
244
2453. **naming-conventions.md** (2,059 lines)
246 - REST/OData naming rules (resources, parameters, URIs)
247 - Native library naming (classes, methods, constants, packages)
248 - Language-specific conventions
249 - Common mistakes with fixes
250 - Decision trees and reference tables
251
2524. **quality-processes.md** (1,774 lines)
253 - Complete API Quality Checklist
254 - Review workflows (developer + UA collaboration)
255 - Development team guidelines
256 - Common review findings and solutions
257 - Process flowcharts
258
2595. **java-javascript-dotnet-guide.md** (1,517 lines)
260 - Documentation comments structure
261 - Language-specific tags (Java, JavaScript, .NET, C/C++)
262 - Templates for classes, methods, enums
263 - Complete code examples
264 - Best practices by language
265
2666. **developer-guides.md** (704 lines)
267 - Guide structure standards
268 - Topic types (concept, reference, task)
269 - Content selection criteria
270 - Code sample standards (compilable, concise, commented)
271 - Best practices
272
2737. **deprecation-policy.md** (664 lines)
274 - API lifecycle states (beta, active, deprecated, decommissioned)
275 - Timeline requirements (12+ months support, 24+ months lifespan)
276 - Required metadata (x-sap-stateInfo, artifact.json)
277 - Decommission process
278 - Complete examples
279
2808. **glossary-resources.md** (472 lines)
281 - Complete terminology definitions (API, OData, OpenAPI, etc.)
282 - External resource links (standards, tools, SAP resources)
283 - Quick reference tables
284 - Tool documentation links
285
286 - Content extraction and organization tracking
287 - Source file mapping from SAP documentation
288 - Consolidation and adaptation notes
289
290## Bundled Resources
291
292This skill includes comprehensive documentation and templates organized for optimal use:
293
294### Reference Guides (`references/`)
295- 9 detailed reference files (10,861 total lines)
296- Complete coverage of SAP API Style Guide standards
297- Progressive disclosure architecture for efficient loading
298
299### Template Files (`templates/`)
3001. **rest-api-overview-template.md** (217 lines) - Level 1 REST overview
3012. **rest-api-method-template.md** (477 lines) - Level 2 REST method details
3023. **odata-service-overview-template.md** (411 lines) - Level 1 OData service
3034. **odata-resource-template.md** (557 lines) - Level 2 OData resource
3045. **odata-operation-template.md** (681 lines) - Level 3 OData operation
305
306Total: 2,343 lines of ready-to-use templates
307
308## Instructions for Use
309
310### Step 1: Identify API Type
311
312Determine if you're documenting REST, OData, Java, JavaScript, .NET, or C/C++ API.
313
314### Step 2: Choose Approach
315
316**Auto-Generated**: Write documentation comments in source code → Use appropriate tags → Submit for review
317
318**Manual**: Select template from `templates/` → Customize [placeholders] → Follow hierarchy → Validate with checklist
319
320### Step 3: Apply Standards
321
322Consult appropriate reference file:
323- **Naming**: `naming-conventions.md`
324- **Descriptions**: `rest-odata-openapi-guide.md` or `java-javascript-dotnet-guide.md`
325- **Quality**: `quality-processes.md`
326- **Deprecation**: `deprecation-policy.md`
327
328### Step 4: Quality Check
329
330Before publishing:
3311. Review against API Quality Checklist (`quality-processes.md`)
3322. Verify naming conventions (`naming-conventions.md`)
3333. Check character limits (see Quick Reference Tables above)
3344. Validate no sensitive data in examples
3355. Test all code examples
3366. Verify links work
3377. Obtain UA developer review
338
339### Step 5: Publish
340
341- **REST/OData**: Submit to SAP API Business Hub
342- **Java/JavaScript/.NET**: Generate with appropriate tool (Javadoc, JSDoc, DocFX)
343- **Developer Guides**: Publish to SAP Help Portal or product documentation
344
345## Common Pitfalls to Avoid
346
347**Naming**:
348- ❌ Including "API": ~~"Custom Forms APIs"~~ → ✅ "Custom Forms"
349- ❌ Using "SAP" prefix: ~~"SAP Document Approval"~~ → ✅ "Document Approval"
350- ❌ Using verbs: ~~"Configuring Portal"~~ → ✅ "Portal Configuration"
351
352**Descriptions**:
353- ❌ Second person: ~~"This operation creates..."~~ → ✅ "Creates a new user"
354- ❌ Generic responses: ~~"No content"~~ → ✅ "Product is out of stock"
355- ❌ Repeating summary in description
356
357**Documentation**:
358- ❌ Skipping UA review
359- ❌ Including sensitive data in examples
360- ❌ Missing required tags
361- ❌ Inconsistent terminology
362
363See individual reference files for complete anti-patterns and fixes.
364
365## External Resources
366
367### Standards
368- **OpenAPI Specification**: [https://spec.openapis.org/oas/latest.html](https://spec.openapis.org/oas/latest.html)
369- **OData v4.01**: [https://www.odata.org/documentation/](https://www.odata.org/documentation/)
370- **Javadoc**: [https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html](https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html)
371- **JSDoc 3**: [https://jsdoc.app/](https://jsdoc.app/)
372- **Doxygen**: [https://www.doxygen.nl/](https://www.doxygen.nl/)
373
374### SAP Resources
375- **SAP API Business Hub**: [https://api.sap.com/](https://api.sap.com/)
376- **SAP Developer Center**: [https://developers.sap.com/](https://developers.sap.com/)
377- **SAP Help Portal**: [https://help.sap.com/](https://help.sap.com/)
378- **SAP Community**: [https://community.sap.com/](https://community.sap.com/)
379
380### Source
381- **SAP API Style Guide**: [https://github.com/SAP-docs/api-style-guide](https://github.com/SAP-docs/api-style-guide)
382
383## Updates and Maintenance
384
385**Source Version**: SAP API Style Guide 2025.01 (verified against commit 902247f)
386
387**Recent Changes**:
388- Source repository updated 2025-10-28
389- Reference file line counts verified and updated
390- Added comprehensive Table of Contents for navigation
391- Added Bundled Resources section for content discovery
392
393**To Update This Skill**:
3941. Check source repository for changes: [https://github.com/SAP-docs/api-style-guide](https://github.com/SAP-docs/api-style-guide)
3952. Review "What's New in the Style Guide"
3963. Update affected reference files
3974. Update templates if standards changed
3985. Update "Last Verified" date
399
400**Quarterly Review Recommended**: Check for updates every 3 months
401
402**Next Review**: 2026-02-27
403
404---
405
406**Skill Version**: 1.1.0
407**Last Updated**: 2025-11-27
408**License**: GPL-3.0
409**Maintainer**: SAP Skills Team | [https://github.com/secondsky/sap-skills](https://github.com/secondsky/sap-skills)