Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToCamelCase ¶
ToCamelCase converts subject-method to camelCase (e.g., "users-get" → "usersGet").
Types ¶
type Operation ¶
type Operation struct {
Path string
Method string
Subject string
FieldName string
Summary string
Description string
RequestSchema string
ResponseSchema string
IsListOperation bool
}
Operation represents a GraphQL query operation.
type ParsedData ¶
type ParsedData struct {
Operations []Operation
Schemas map[string]*SchemaInfo
Timestamp string
}
ParsedData contains extracted operations and schemas.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser extracts relevant data from OpenAPI specs.
func (*Parser) Parse ¶
func (p *Parser) Parse() (*ParsedData, error)
Parse extracts all query operations and their schemas.
Click to show internal directories.
Click to hide internal directories.