Documentation ¶
Index ¶
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 (*JApiCore) AddRawUserType ¶
func (*JApiCore) BuildCatalog ¶
func (*JApiCore) HasUnclosedExplicitContext ¶
type Option ¶
type Option func(*JApiCore)
func WithBannedDirectives ¶
func WithBannedDirectives(dd ...directive.Enumeration) Option
WithBannedDirectives ban specified directives. Core will emit an error if found one of them.
type PathParameter ¶
type PathParameter struct {
// contains filtered or unexported fields
}
func PathParameters ¶
func PathParameters(path string) ([]PathParameter, error)
type PieceOfPathVariable ¶
type PieceOfPathVariable struct {
// contains filtered or unexported fields
}
func PieceOfPathVariableImitation ¶ added in v0.2.0
func PieceOfPathVariableImitation() PieceOfPathVariable
imitates piece for param, gatherd from URL or Method-directive, not from Path schema.
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
- compile_core_rules.go
- compile_core_tags.go
- compile_core_user_types.go
- const.go
- context_processing.go
- core.go
- description.go
- error.go
- include.go
- path_parameter.go
- path_variable_piece.go
- path_variables_schema.go
- raw_path_variables.go
- scan_project.go
- scan_project_directive.go
- simular_paths.go
- used_user_types.go
- user_schema_error.go
- user_types.go
- validate_catalog.go
Click to show internal directories.
Click to hide internal directories.