Documentation
¶
Index ¶
- type JApiCore
- func (core *JApiCore) BuildResourceMethodsPathVariables() *jerr.JAPIError
- func (core *JApiCore) Catalog() *catalog.Catalog
- func (core *JApiCore) CheckRawPathVariableSchemas() *jerr.JAPIError
- func (core *JApiCore) ExpandRawPathVariableShortcuts() *jerr.JAPIError
- func (core *JApiCore) HasUnclosedExplicitContext() bool
- func (core *JApiCore) ProcessAllOf() *jerr.JAPIError
- func (core *JApiCore) ValidateJAPI() *jerr.JAPIError
- type PathParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JApiCore ¶
type JApiCore struct {
// contains filtered or unexported fields
}
JApiCore the Brain and heart of jApi. Collects lexemes from scanner, validates document logic and structure, builds catalog, renders documentation
func NewJApiCore ¶
func (*JApiCore) BuildResourceMethodsPathVariables ¶
func (*JApiCore) CheckRawPathVariableSchemas ¶
func (*JApiCore) ExpandRawPathVariableShortcuts ¶
func (*JApiCore) HasUnclosedExplicitContext ¶
func (*JApiCore) ProcessAllOf ¶
func (*JApiCore) ValidateJAPI ¶
ValidateJAPI should be used to check if .jst file is valid according to specification
type PathParameter ¶
type PathParameter struct {
// contains filtered or unexported fields
}
func PathParameters ¶
func PathParameters(path string) ([]PathParameter, error)
Source Files
¶
- build_catalog.go
- build_catalog_directives.go
- collect_core_path.go
- compile_catalog.go
- compile_core.go
- compile_core_macro.go
- compile_core_paste.go
- const.go
- context_processing.go
- core.go
- description.go
- error.go
- interface.go
- path_parameter.go
- path_variables.go
- raw_path_variables.go
- scan_project.go
- scan_project_directive.go
- simular_paths.go
- util.go
- validate_catalog.go
Click to show internal directories.
Click to hide internal directories.