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.

Revisions

  1. kevinawoo created this gist Aug 18, 2020.
    53 changes: 53 additions & 0 deletions swagger-pipelinetemplates-issue.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    ---
    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