This repository has been 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
changed JSON task state back to task_state added the script to remove the sed command generated swagger.jsone file addressed code review feedback 1 removed the perl replacement in swagger.sh and related variable renames added multiform-data for post & put Use Body to hide config made the annotation accurate for consumers and producers plus changed formData to body annotation remove typo
- Loading branch information
1 parent
f09abc5
commit 7aff489
Showing
23 changed files
with
2,048 additions
and
290 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,29 @@ | ||
// 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: 2.0 | ||
// License: Apache 2.0 http://www.apache.org/licenses/ | ||
// Contact: Snap Maintainer<snap@intelsdi-x.slack.com> https://github.com/intelsdi-x/snap | ||
// | ||
// Consumes: | ||
// - application/json | ||
// | ||
// Produces: | ||
// - application/json | ||
// | ||
// | ||
// 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.