Last active
March 3, 2018 08:10
-
-
Save hemikak/9ca8d6a6f71d93d2f7e059373e5240c4 to your computer and use it in GitHub Desktop.
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
swagger: '2.0' | |
info: | |
version: 1.0.0 | |
title: PackagingService | |
basePath: /p | |
paths: | |
'/{orgName}/{packageName}/{packageVersion}': | |
get: | |
operationId: handlePullRequest | |
parameters: | |
- name: orgName | |
in: path | |
required: true | |
type: string | |
- name: packageName | |
in: path | |
required: true | |
type: string | |
- name: packageVersion | |
in: path | |
required: true | |
type: string | |
responses: | |
'200': | |
description: Successful | |
examples: | |
application/json: Ok | |
post: | |
operationId: handlePushRequest | |
parameters: | |
- in: body | |
name: conn | |
required: false | |
schema: | |
$ref: '#/definitions/Request' | |
- name: orgName | |
in: path | |
required: true | |
type: string | |
- name: packageName | |
in: path | |
required: true | |
type: string | |
- name: packageVersion | |
in: path | |
required: true | |
type: string | |
responses: | |
'200': | |
description: Successful | |
examples: | |
application/json: Ok | |
put: | |
operationId: handleUpdateRequest | |
consumes: | |
- multipart/form-data | |
produces: | |
- application/json | |
parameters: | |
- in: body | |
name: conn | |
required: false | |
schema: | |
$ref: '#/definitions/Request' | |
- name: orgName | |
in: path | |
required: true | |
type: string | |
- name: packageName | |
in: path | |
required: true | |
type: string | |
- name: packageVersion | |
in: path | |
required: true | |
type: string | |
responses: | |
'200': | |
description: Successful | |
examples: | |
application/json: Ok | |
delete: | |
operationId: handleDeleteRequest | |
parameters: | |
- in: body | |
name: conn | |
required: false | |
schema: | |
$ref: '#/definitions/Request' | |
- name: orgName | |
in: path | |
required: true | |
type: string | |
- name: packageName | |
in: path | |
required: true | |
type: string | |
- name: packageVersion | |
in: path | |
required: true | |
type: string | |
responses: | |
'200': | |
description: Successful | |
examples: | |
application/json: Ok | |
/: | |
get: | |
operationId: handleSearchRequest | |
produces: | |
- application/json | |
responses: | |
'200': | |
description: Successful | |
examples: | |
application/json: Ok | |
definitions: | |
Request: | |
type: object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment