garm/vendor/github.com/go-openapi/loads
Gabriel Adrian Samfira 0093393bc3 Update all dependencies
Note: should we ditch vendoring?

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-29 13:30:24 +03:00
..
.editorconfig Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
.gitignore Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
.golangci.yml Update all dependencies 2025-09-29 13:30:24 +03:00
.travis.yml Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
CODE_OF_CONDUCT.md Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
doc.go Update all dependencies 2025-09-29 13:30:24 +03:00
errors.go Update all dependencies 2025-09-29 13:30:24 +03:00
LICENSE Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
loaders.go Update all dependencies 2025-09-29 13:30:24 +03:00
options.go Update all dependencies 2025-09-29 13:30:24 +03:00
README.md Update all dependencies 2025-09-29 13:30:24 +03:00
spec.go Update all dependencies 2025-09-29 13:30:24 +03:00

Loads OAI specs Build Status codecov

license GoDoc Go Report Card

Loading of OAI v2 API specification documents from local or remote locations. Supports JSON and YAML documents.

Primary usage:

  import (
	  "github.com/go-openapi/loads"
  )

  ...

	// loads a YAML spec from a http file
	doc, err := loads.Spec(ts.URL)
  
  ...

  // retrieves the object model for the API specification
  spec := doc.Spec()

  ...

See also the provided examples.