garm/vendor/github.com/go-openapi/loads
Gabriel Adrian Samfira 47537fb8b6 Update all dependencies
Update all deps.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2026-01-06 01:13:34 +02: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 2026-01-06 01:13:34 +02: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 2026-01-06 01:13:34 +02:00
errors.go Update all dependencies 2026-01-06 01:13:34 +02:00
LICENSE Generate initial swagger API client library code 2023-06-30 19:04:13 +03:00
loaders.go Update all dependencies 2026-01-06 01:13:34 +02:00
options.go Update all dependencies 2026-01-06 01:13:34 +02:00
README.md Update all dependencies 2026-01-06 01:13:34 +02:00
spec.go Update all dependencies 2026-01-06 01:13:34 +02: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.

Licensing

This library ships under the SPDX-License-Identifier: Apache-2.0.