Skip to content

Commit dafe0d7

Browse files
committed
Fix owner field
1 parent e08bbc1 commit dafe0d7

File tree

6 files changed

+758
-135
lines changed

6 files changed

+758
-135
lines changed

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ src/Model/ErrorResponse.php
1313
src/Model/ModelInterface.php
1414
src/Model/Project.php
1515
src/Model/ProjectDefaultReleaseChannel.php
16+
src/Model/ProjectListItem.php
1617
src/Model/ProjectListResponse.php
1718
src/Model/ProjectResponse.php
1819
src/Model/SearchRequest.php

openapi.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ paths:
161161
/builds/{project}/{channel}/{build}:
162162
get:
163163
summary: Get a specific build by its build ID for a project in a specific release channel
164-
operationId: getProjectBuild
164+
operationId: getBuild
165165
tags:
166166
- builds
167167
parameters:
@@ -302,20 +302,27 @@ components:
302302
data:
303303
type: array
304304
items:
305-
$ref: '#/components/schemas/Project'
305+
$ref: '#/components/schemas/ProjectListItem'
306306
ProjectResponse:
307307
allOf:
308308
- $ref: '#/components/schemas/SuccessResponse'
309309
- type: object
310310
properties:
311311
data:
312312
$ref: '#/components/schemas/Project'
313+
ProjectListItem:
314+
allOf:
315+
- $ref: '#/components/schemas/Project'
316+
- type: object
317+
properties:
318+
owner:
319+
type: string
320+
description: Project owner's name
321+
required:
322+
- owner
313323
Project:
314324
type: object
315325
properties:
316-
owner:
317-
type: string
318-
description: Project owner's name
319326
name:
320327
type: string
321328
description: Project name
@@ -349,7 +356,6 @@ components:
349356
fileNaming:
350357
type: string
351358
required:
352-
- owner
353359
- name
354360
- description
355361
- repoLink

0 commit comments

Comments
 (0)