Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

OpenAPI (MonitorControl.Web)

This folder holds the committed OpenAPI 3 document for the HTTP host, so integrators can diff schemas, run codegen, or import into API gateways without starting the ASP.NET process.

File Description
monitorcontrol.openapi.json Snapshot of GET /swagger/v1/swagger.json from MonitorControl.Web (Swashbuckle).

Regenerate

From the repository root (requires .NET 8 SDK and curl):

bash scripts/fetch-openapi.sh

Optional: PORT=56000 bash scripts/fetch-openapi.sh if the default ephemeral port is busy.

Run this whenever minimal API routes, request/response DTOs, or Swagger metadata change, then commit the updated JSON with the code change.

Related documentation