fix: Index incorrectly handling file references on the local file system.

This was reported in https://github.com/daveshanley/vacuum/issues/225, it's a continuation of the issue found in https://github.com/pb33f/libopenapi/issues/37. This fix allows the full import of the file (not just a path/component) to be imported.

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2023-01-04 06:43:32 -05:00
parent 07a11be5a3
commit 6b28e414bd
3 changed files with 56 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
<p align="center">
<img src="libopenapi-logo.png" alt="libopenapi" height="300px"/>
<img src="libopenapi-logo.png" alt="libopenapi" height="300px" width="450px"/>
</p>
# libopenapi - enterprise grade OpenAPI tools for golang.
![Pipeline](https://github.com/pb33f/libopenapi/workflows/Build/badge.svg)
[![GoReportCard](https://goreportcard.com/badge/github.com/pb33f/libopenapi)](https://goreportcard.com/report/github.com/pb33f/libopenapi)
[![codecov](https://codecov.io/gh/pb33f/libopenapi/branch/main/graph/badge.svg?)](https://codecov.io/gh/pb33f/libopenapi)