SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Extend API swagger documentation

Open SORMAS-JanBoehme opened this issue 3 years ago • 3 comments

Problem Description

The API swagger documentation is relative hard to use for new developers and people interested in interfacing with SORMAS.

Proposed Change

Extend swagger documentation with descriptive text that explains what an endpoint is used for, which parameters it accepts and what they are doing. Provide examples for data structures for requests and response.

Acceptance Criteria

The swagger documentation is extended with tags that either contian explanatory texts or are marked "tbd" for future expansion.

Implementation Details

Additional Information

SORMAS-JanBoehme avatar Dec 14 '22 20:12 SORMAS-JanBoehme

Currently being developed, opened issue to be referenced in the pull request.

SORMAS-JanBoehme avatar Dec 14 '22 20:12 SORMAS-JanBoehme

I kindly want to draw your attention to https://github.com/hzi-braunschweig/SORMAS-Project/issues/11175 . There is a great chance that openapi doc generation will stop working at some point in the future.

JonasCir avatar Dec 15 '22 08:12 JonasCir

You should consider using Apidog, as it's very user-friendly, especially for beginners. It's easy to get started with and provides a great user experience.

satokenta940 avatar May 20 '24 09:05 satokenta940