tliebrand.com Private Homepage von Thomas Liebrand

Docker

  • Document REST APIs

    Introduction

    Througout this post I am describing the path it took me to specify my own REST API's (API specifications) as well as how to document them in a browasable and accessable way.

    Document petstore with redoc template

    It focues on tools to simplify your work but also includes topics like mocking and linting.
    A summary in git project can be found at the bottom

    If you are developing REST API's for internal or external use, you will need to document it at some point. To do so, probably the best approach is to follow a given standard. Some of the goals we can achieve with this, is:

    - fast starting point for new developers
    - follow the same principles
    - standardize and follow best practices
    - save time (compared to writing your own specs)
    - use tools (document, try out, test, mock, stub)