This repository was archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document Snap with valid swagger spec
- Loading branch information
1 parent
74b20af
commit de3daa4
Showing
21 changed files
with
2,044 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Package main Snap Restful APIs. | ||
// | ||
// Snap is an open telemetry framework designed to simplify the collection, | ||
// processing and publishing of system data through a single API. | ||
// | ||
// This specification should demonstrate a fully compliant swagger 2.0 spec for Snap. | ||
// It lists all the possible Snap Restful APIs that are available for use, | ||
// testing or generating spec compatible clients. | ||
// | ||
// Terms Of Service: | ||
// | ||
// There are no TOS at this moment, use at your own risk we take no responsibility. | ||
// | ||
// Schemes: http, https | ||
// Host: 127.0.0.1:8181 | ||
// BasePath: /v2 | ||
// Version: 1.1.0 | ||
// License: Apache 2.0 http://www.apache.org/licenses/ | ||
// Contact: Snap Maintainer<[email protected]> https://github.com/intelsdi-x/snap | ||
// | ||
// Consumes: | ||
// - application/json | ||
// - application/x-protobuf | ||
// | ||
// Produces: | ||
// - application/json | ||
// - application/x-protobuf | ||
// | ||
// | ||
// swagger:meta | ||
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.