main.aug
Weather API · Source and specification
Files in this project
Code
aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
import weatherForecast from forecasts
serve weatherForecast on port 8787aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
import weatherForecast from forecasts
serve weatherForecast on port 8787Compiled specification
HTTP configuration
Listen on 127.0.0.1. Limit request bodies to 1048576 bytes and buffered responses to 4194304 bytes. Serve OpenAPI at /openapi.json and API docs at /docs.
Startup
It serves weatherForecast on port 8787. source
Dependencies
It uses weatherForecast from forecasts.