Documentation
¶
Overview ¶
Package openapi provides search functionality over a pre-processed Microsoft Graph OpenAPI index.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
Path string `json:"path"`
Method string `json:"method"`
Summary string `json:"summary"`
Description string `json:"description,omitempty"`
Scopes []string `json:"scopes,omitempty"`
Resource string `json:"resource,omitempty"` // e.g. "users", "groups", "messages"
}
Endpoint represents a single API endpoint in the index.
type Index ¶
type Index struct {
Endpoints []Endpoint `json:"endpoints"`
}
Index holds the full searchable OpenAPI index.
type SearchResult ¶
SearchResult wraps an endpoint with a relevance indicator.
Click to show internal directories.
Click to hide internal directories.