The specifications provide the documentation on some of Drupal's apis following OpenAPI (aka Swagger) standards. These json files can be used in tools such as the Swagger Editor to provide a more detailed version of the API documentation or Swagger Codegen to create an api client.

Module Specification Explore
JSON:API

* Please visit the OpenAPI UI module for information on these interfaces and to discover others.