defines the interfaces for the pluggable document reader and json/yaml converter. Only needed for implementing additional reader or converter.
the Reader interface is used to read OpenAPI json/yaml documents:
InputStream read(URI uri) throws IOException;
the Converter interface is used to convert a json/yaml document into a java Object tree. The tree structure should be a Map<String, Object>.
Object convert (String api) throws ConverterException;
The root may not be Map if the document just contains a single value.
See openapi-parser-jackson, openapi-parser-snakeyaml and openapi-parser-support for implementation examples.