Total Lines | 12 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | package loader |
||
2 | |||
3 | import "github.com/getkin/kin-openapi/openapi3" |
||
4 | |||
5 | type SpecificationLoader interface { |
||
6 | LoadFromURI(uri string) (*openapi3.T, error) |
||
7 | } |
||
8 | |||
9 | func New() SpecificationLoader { |
||
10 | return &processingLoader{ |
||
11 | &autoLoader{ |
||
12 | loader: &openapi3.Loader{IsExternalRefsAllowed: true}, |
||
13 | }, |
||
16 |