@mikrocms/swagger

Package swagger ui mikrocms


Keywords
mikrocms
License
MIT
Install
npm install @mikrocms/swagger@1.0.1

Documentation

mikrocms swagger

Swagger UI generates interactive documentation from a Swagger-compliant API specification, typically written in the OpenAPI Specification (OAS) format. Users can explore endpoints, view parameter details, and see responses in real-time.

Specification version
mikrocms/core 1.0.0
Config Module
router default

Environment

  • mikrocms@swagger.auth (object) : A list of authentication methods using key pairs. Do not define this environment variable to allow Swagger to operate without requiring authentication or access control.
{
  "username": "password"
}
[
  {
    "url": "baseurl",
    "description": "name of the base URL"
  }
]
[
  {
    "url": "URL to the documentation file",
    "name": "Name of the documentation"
  }
]

Views

Path description
mikrocms@swagger/login The page handles authentication to allow access to the Swagger UI.
mikrocms@swagger/ui Page that contains the Swagger UI.

Services

You can find detailed documentation of the service in the API documentation.