Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
Schema abstracts schema access and validation.
func NewSchema ¶
func NewSchema(get SchemaGetter) (*Schema, error)
NewOpenRpi extracts the swagger document. NOTE: this is surprisingly slow, make sure you cache it and reuse it.
type SchemaGetter ¶
SchemaGetter allows clients to get their schema from wherever.
Click to show internal directories.
Click to hide internal directories.