Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUsersFragment ¶
func BuildUsersFragment() string
BuildUsersFragment returns the minimal deterministic OpenAPI YAML fragment for the /v1/users/{id} path required by acceptance test 1.
func FromEvents ¶
FromEvents scans evs for successful (status 200) GET requests under the "/v1/users/" prefix and template-normalizes their paths via infer.TemplatePath, purely to detect whether any matching traffic was observed. It is currently a placeholder: regardless of what it finds, it always returns the static BuildUsersFragment() OpenAPI fragment (when no matching events exist, that fragment is returned immediately; otherwise the normalized path set is computed deterministically but not yet merged into the output — that is left for future work).
Types ¶
This section is empty.