-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Bioconductor/master
merge for CRAN release v0.1.3
- Loading branch information
Showing
6 changed files
with
247 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: rapiclient | ||
Type: Package | ||
Title: Dynamic OpenAPI/Swagger Client | ||
Version: 0.1.2.3 | ||
Version: 0.1.3 | ||
Authors@R: person("Darko", "Bergant", email = "[email protected]", | ||
role = c("aut", "cre")) | ||
URL: https://github.com/bergant/rapiclient | ||
|
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,103 @@ | ||
swagger: "2.0" | ||
info: | ||
version: 1.0.0 | ||
title: Swagger Petstore | ||
license: | ||
name: MIT | ||
host: petstore.swagger.io | ||
basePath: /v1 | ||
schemes: | ||
- http | ||
consumes: | ||
- application/json | ||
produces: | ||
- application/json | ||
paths: | ||
/pets: | ||
get: | ||
summary: List all pets | ||
operationId: listPets | ||
tags: | ||
- pets | ||
parameters: | ||
- name: limit | ||
in: query | ||
description: How many items to return at one time (max 100) | ||
required: false | ||
type: integer | ||
format: int32 | ||
responses: | ||
"200": | ||
description: A paged array of pets | ||
headers: | ||
x-next: | ||
type: string | ||
description: A link to the next page of responses | ||
schema: | ||
$ref: '#/definitions/Pets' | ||
default: | ||
description: unexpected error | ||
schema: | ||
$ref: '#/definitions/Error' | ||
post: | ||
summary: Create a pet | ||
operationId: createPets | ||
tags: | ||
- pets | ||
responses: | ||
"201": | ||
description: Null response | ||
default: | ||
description: unexpected error | ||
schema: | ||
$ref: '#/definitions/Error' | ||
/pets/{petId}: | ||
get: | ||
summary: Info for a specific pet | ||
operationId: showPetById | ||
tags: | ||
- pets | ||
parameters: | ||
- name: petId | ||
in: path | ||
required: true | ||
description: The id of the pet to retrieve | ||
type: string | ||
responses: | ||
"200": | ||
description: Expected response to a valid request | ||
schema: | ||
$ref: '#/definitions/Pets' | ||
default: | ||
description: unexpected error | ||
schema: | ||
$ref: '#/definitions/Error' | ||
definitions: | ||
Pet: | ||
type: "object" | ||
required: | ||
- id | ||
- name | ||
properties: | ||
id: | ||
type: integer | ||
format: int64 | ||
name: | ||
type: string | ||
tag: | ||
type: string | ||
Pets: | ||
type: array | ||
items: | ||
$ref: '#/definitions/Pet' | ||
Error: | ||
type: "object" | ||
required: | ||
- code | ||
- message | ||
properties: | ||
code: | ||
type: integer | ||
format: int32 | ||
message: | ||
type: string |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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