Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentTypeFromFilename ¶
func NopSeekCloser ¶
func NopSeekCloser(r io.ReadSeeker) io.ReadSeekCloser
Types ¶
type Option ¶
type Option func(*Config)
func WithIndexFilePath ¶
WithIndexFilePath Sets another path to where files for swagger ui is located
func WithOpenAPIPath ¶
WithOpenAPIPath Sets another name for index file than index.html
func WithSwaggerInitJSPath ¶ added in v0.14.0
WithSwaggerInitJSPath Sets a path for swagger-initializer.js. This is required for using swagger >= 4.0.0
func WithSwaggerUIDirectory ¶
WithSwaggerUIDirectory Sets another base path for the swagger endpoints
Click to show internal directories.
Click to hide internal directories.