Skip to content

Commit

Permalink
Fix Docs Validator (#2)
Browse files Browse the repository at this point in the history
Use the option rather than a hard coded path!
  • Loading branch information
spjmurray authored Feb 7, 2024
1 parent 05681f9 commit 4707718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn Core

type: application

version: v0.1.1
appVersion: v0.1.1
version: v0.1.2
appVersion: v0.1.2

icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg
2 changes: 1 addition & 1 deletion hack/docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func (o *options) run() error {
// Load in the OpenAPI schema.
loader := openapi3.NewLoader()

doc, err := loader.LoadFromFile("pkg/server/openapi/server.spec.yaml")
doc, err := loader.LoadFromFile(o.openapiSchema)
if err != nil {
return err
}
Expand Down

0 comments on commit 4707718

Please sign in to comment.