Skip to content

Commit

Permalink
Write projects inline (similar to all other list services)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasollien committed Aug 12, 2024
1 parent 186d506 commit 9188488
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,25 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/projects_GET'
type: object
required:
- skip
- top
- totalCount
- data
properties:
skip:
type: integer
top:
type: integer
totalCount:
type: integer
nextLink:
type: string
data:
type: array
items:
$ref: '#/components/schemas/project_GET'
example:
{
"skip": 0,
Expand Down Expand Up @@ -2193,28 +2211,6 @@ components:
properties:
name:
type: string
projects_GET:
type: object
required:
- skip
- top
- totalCount
- data
properties:
skip:
type: integer
top:
type: integer
totalCount:
type: integer
nextLink:
type: string
data:
$ref: '#/components/schemas/projects'
projects:
type: array
items:
$ref: '#/components/schemas/project_GET'
# actions schemas
project_actions:
type: array
Expand Down

0 comments on commit 9188488

Please sign in to comment.