Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSynonyms ¶
GetSynonyms returns all synonym rows.
Types ¶
type Endpoint ¶
type Endpoint struct {
ID int64
ProductID string
Release string
Method string
Path string
Summary string
Description string
Tags string // raw JSON array
Parameters string // raw JSON array
RequestBody string // raw JSON object
Responses string // raw JSON object
SourceFormat string
}
Endpoint represents one HTTP operation.
func GetEndpoint ¶
GetEndpoint fetches full endpoint detail. releasePrefix filters by release using prefix matching; empty matches any release. If multiple releases match with no prefix, returns an error listing available releases.
type Product ¶
type Product struct {
ID string
Name string
Description string
BaseURL string
AuthType string
AuthNotes string
AuthSchema string // raw JSON
}
Product represents one Cisco API product.
type SearchResult ¶
type SearchResult struct {
ProductID string
Release string
Method string
Path string
Summary string
}
SearchResult is a lightweight endpoint for search output.
func SearchEndpoints ¶
func SearchEndpoints(db *sql.DB, ftsQuery, productID, releasePrefix string, limit int) ([]SearchResult, int, error)
SearchEndpoints runs FTS5 query and returns ranked results. releasePrefix filters by release using prefix matching (e.g. "3" matches "3.2.2m"). Empty productID or releasePrefix disables that filter.
Click to show internal directories.
Click to hide internal directories.