From a5180dfb631125e06dabb66d51ec75d6020b6e46 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Fri, 25 Nov 2016 11:31:21 +0000 Subject: [PATCH] Add intro to swagger.yaml to explain what it's for Signed-off-by: Ben Firshman Upstream-commit: be52738a2c5a327741da6be7eb95a93a4c214a99 Component: engine --- components/engine/api/swagger.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index fe2bbedcfe..8852641e99 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -1,3 +1,14 @@ +# A Swagger 2.0 (a.k.a. OpenAPI) definition of the Engine API. +# +# This is used for generating API documentation and the types used by the +# client/server. See api/README.md for more information. +# +# Some style notes: +# - This file is used by ReDoc, which allows GitHub Flavored Markdown in +# descriptions. +# - There is no maximum line length, for ease of editing and pretty diffs. +# - operationIds are in the format "NounVerb", with a singular noun. + swagger: "2.0" schemes: - "http"