Files
renovate-sh-app[bot] f53a609be4 fix(deps): update module github.com/prometheus/alertmanager to v0.30.0 (main) (#20358)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-01-08 10:02:12 -05:00
..
2022-06-15 12:16:23 -04: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.