Documentation
¶
Overview ¶
Package validate performs provider-free structural and API-source validation for native Ramen projects.
The validate package is part of Ramen's supported v0.1 core API.
Index ¶
Constants ¶
View Source
const Version = "ramen.validate.v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISourceInput ¶
type Diagnostic ¶
type Diagnostic struct {
Code string `json:"code"`
Severity string `json:"severity"`
Message string `json:"message"`
Address string `json:"address,omitempty"`
APISourceKind string `json:"api_source_kind,omitempty"`
APISourceID string `json:"api_source_id,omitempty"`
OperationID string `json:"operation_id,omitempty"`
}
type Options ¶
type Options struct {
ProjectPath string
APISources []APISourceInput
Strict bool
}
Click to show internal directories.
Click to hide internal directories.