-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #827 from eclipse-tractusx/TRG_1.8
New TRG 1.08 - Interface documentation (APIs)
- Loading branch information
Showing
2 changed files
with
27 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: TRG 1.08 - Interface documentation (APIs) | ||
sidebar_position: 1 | ||
--- | ||
|
||
| Status | Created | Post-History | | ||
|--------|-------------|-------------------------------------------------------| | ||
| Active | 01-Aug-2024 | | | ||
| Draft | 21-Mar-2024 | Transferred from Release Acceptance Criteria into TRG | | ||
|
||
## Why | ||
|
||
Interface documentation is crucial to interact with components. It fundamentally enables others to consume your APIs. | ||
|
||
## Description | ||
|
||
- The interface documentation **should** be either stored in the folder `/docs/api` as `openAPI.yaml` or referenced in the `.tractusx` meta file as reachable document (like GitHub release asset) through the `openApiSpecs` key | ||
- It **must** be in the OpenAPI standard | ||
- It **must** be at least version 2 | ||
- It **must** contain all interfaces | ||
- It **must** be up-to-date for the latest released component version | ||
|
||
## Best Practice | ||
|
||
- consider functional and non-functional commitments of each interface | ||
- make sure that the context of a request is understandable, like the sequence of API calls | ||
- anchor a link to your Interface documentation within your `README.md` (see [TRG 1.01](https://eclipse-tractusx.github.io/docs/release/trg-1/trg-1-1)) |