Skip to content

Commit

Permalink
Merge pull request #827 from eclipse-tractusx/TRG_1.8
Browse files Browse the repository at this point in the history
New TRG 1.08 - Interface documentation (APIs)
  • Loading branch information
Siegfriedk authored Jul 15, 2024
2 parents 3ff9b28 + ca8a15c commit 54f37b3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
29 changes: 0 additions & 29 deletions docs/release/trg-0/trg-1-08.md

This file was deleted.

27 changes: 27 additions & 0 deletions docs/release/trg-1/trg-1-08.md
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))

0 comments on commit 54f37b3

Please sign in to comment.