Skip to content

Instantly share code, notes, and snippets.

@kevinawoo
Created August 18, 2020 02:19
Show Gist options
  • Save kevinawoo/cd651d52dceb68fda8025e9b61ca37db to your computer and use it in GitHub Desktop.
Save kevinawoo/cd651d52dceb68fda8025e9b61ca37db to your computer and use it in GitHub Desktop.
swagger-pipelinetemplates-issue
---
swagger: "2.0"
info:
title: "Spinnaker API"
contact: {}
host: "localhost"
basePath: "/"
tags:
- name: "v-2-pipeline-templates-controller"
description: "V 2 Pipeline Templates Controller"
paths:
/v2/pipelineTemplates/create:
post:
tags:
- "v-2-pipeline-templates-controller"
summary: "(ALPHA) Create a pipeline template."
operationId: "createUsingPOST_1"
consumes:
- "application/json"
produces:
- "*/*"
parameters:
- in: "body"
name: "pipelineTemplate"
description: "pipelineTemplate"
required: true
schema:
type: "object"
x-exportParamName: "PipelineTemplate"
- name: "tag"
in: "query"
description: "tag"
required: false
type: "string"
x-exportParamName: "Tag"
x-optionalDataType: "String"
responses:
"201":
description: "Created"
"202":
description: "Accepted"
schema:
type: "object"
additionalProperties:
type: "object"
properties: {}
"401":
description: "Unauthorized"
"403":
description: "Forbidden"
"404":
description: "Not Found"
deprecated: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment