Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 133 additions & 31 deletions openapi/reference/Default.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ paths:
/projects:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -67,7 +67,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -118,7 +118,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -130,7 +130,7 @@ paths:
$ref: ../models/Repository.v1.yaml
operationId: get-projects-id-repositories
description: Get a list with repositories for a given project.
parameters: [ ]
parameters: []
'/projects/{id}/issues':
parameters:
- schema:
Expand All @@ -142,7 +142,7 @@ paths:
description: ''
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -179,7 +179,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -216,7 +216,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -246,7 +246,7 @@ paths:
/repositories:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -267,7 +267,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -313,7 +313,7 @@ paths:
/user:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -334,7 +334,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -355,7 +355,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -376,7 +376,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -391,7 +391,7 @@ paths:
/tags:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -403,7 +403,7 @@ paths:
$ref: ../models/Tag.v1.yaml
operationId: get-tags
description: Get a list with tags.
parameters: [ ]
parameters: []
post:
summary: ''
operationId: post-tags
Expand Down Expand Up @@ -446,7 +446,7 @@ paths:
application/json:
schema:
$ref: ../models/Tag.v1.yaml
examples: { }
examples: {}
description: Update a given tag by id.
requestBody:
content:
Expand Down Expand Up @@ -490,7 +490,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -509,7 +509,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -556,15 +556,15 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../models/Pull.v1.yaml
examples: { }
examples: {}
operationId: get-pulls-id
description: Get a pull request by id.
'/pulls/{id}/tags':
Expand All @@ -576,7 +576,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -623,7 +623,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -642,7 +642,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -689,7 +689,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand Down Expand Up @@ -730,7 +730,7 @@ paths:
/search:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -755,6 +755,108 @@ paths:
type: array
items:
$ref: ../models/Branch.v1.yaml
examples:
example-1:
value:
issues:
- id: 0
title: string
timestamp: 0
status: open
url: 'http://example.com'
author:
name: string
username: string
description: string
url: string
avatar: string
repository:
id: 0
name: string
description: string
url: string
image: string
newIssueUrl: 'http://example.com'
newPullUrl: 'http://example.com'
labels:
- id: 0
name: string
color: string
description: string
tags:
- id: 0
name: string
description: string
color: string
type: string
featured: true
pulls:
- id: 0
title: string
timestamp: 0
status: open
url: 'http://example.com'
author:
name: string
username: string
description: string
url: string
avatar: string
repository:
id: 0
name: string
description: string
url: string
image: string
newIssueUrl: 'http://example.com'
newPullUrl: 'http://example.com'
labels:
- id: 0
name: string
color: string
description: string
tags:
- id: 0
name: string
description: string
color: string
type: string
featured: true
projects:
- id: 0
name: string
description: string
image: string
statistics:
issuesCount: 0
repositoriesCount: 0
pullsCount: 0
tags:
- id: 0
name: string
description: string
color: string
type: string
featured: true
branches:
- id: 0
name: string
url: string
repository:
id: 0
name: string
description: string
url: string
image: string
newIssueUrl: 'http://example.com'
newPullUrl: 'http://example.com'
tags:
- id: 0
name: string
description: string
color: string
type: string
featured: true
operationId: get-search
description: Search for specific data using a given query.
parameters:
Expand Down Expand Up @@ -876,7 +978,7 @@ paths:
required: true
get:
summary: Get tags linked to a specific repository
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -890,11 +992,11 @@ paths:
'/oauth/{provider}':
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'307':
description: Temporary Redirect
headers: { }
headers: {}
operationId: get-oauth-zeus
description: |-
OAuth endpoint for login with {provider}.
Expand Down Expand Up @@ -923,7 +1025,7 @@ paths:
/oauth/callback:
get:
summary: Your GET endpoint
tags: [ ]
tags: []
operationId: get-oauth-callback
parameters:
- schema:
Expand Down Expand Up @@ -970,7 +1072,7 @@ paths:
required: true
get:
summary: Your GET endpoint
tags: [ ]
tags: []
responses:
'200':
description: OK
Expand All @@ -983,4 +1085,4 @@ paths:
operationId: get-projects-id-subprojects
description: Get a list with subprojects for a given project.
components:
schemas: { }
schemas: {}
Loading