What this file is
Theapi-reference/openapi.json file in this docs repo is a future public API
draft.
It is useful for shaping a cleaner external contract across reports, incidents,
vehicles, feedback, surveyor workflows, and learning workflows.
What this file is not
It is not the current production route inventory. The live interfaces today are still split across:tibsroute handlerstibs-surveyrestricted route handlerstibs-learning-centerauth callbacks and Supabase usage
Current gaps before this becomes real
The draft OpenAPI file still needs:- a real production server URL
- a final auth model
- stable request and response envelopes
- error formats and status conventions
- examples that match live behavior
- a decision on which internal routes stay internal and which become public
Recommended use
Use the OpenAPI draft when:- designing a cleaner external API surface
- reviewing naming consistency across domains
- planning a future dedicated API origin