Skip to content

Commit

Permalink
Refactor project model references in API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
raikbitters committed Apr 17, 2024
1 parent 734bd6a commit fc51807
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 17 deletions.
4 changes: 1 addition & 3 deletions api/openapi/models/project/ProjectDetails.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ allOf:
description: Display project name.
required:
- name
- $ref: ../Slug.yaml
x-stoplight:
id: eac9sdm2tal7x
- $ref: ../Slug.yaml
4 changes: 1 addition & 3 deletions api/openapi/models/project/ProjectInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ x-stoplight:
id: 0938dyxh8tyrr
allOf:
- $ref: ./ProjectDetails.yaml
- $ref: ./ProjectMetadata.yaml
x-stoplight:
id: j28j90a73icbd
- $ref: ./ProjectMetadata.yaml
2 changes: 0 additions & 2 deletions api/openapi/models/project/ProjectProfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ allOf:
properties:
relationships:
$ref: ./ProjectRelation.yaml
x-stoplight:
id: g4mai64rch5zv
description: 'Comprehensive information about a project.'
6 changes: 1 addition & 5 deletions api/openapi/models/user/UserAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,4 @@ x-stoplight:
id: 2a6cm6zrojhcx
allOf:
- $ref: ./UserDetails.yaml
x-stoplight:
id: cd9fv44a7d4pj
- $ref: ./UserMetadata.yaml
x-stoplight:
id: m12gn4c2iqhp1
- $ref: ./UserMetadata.yaml
4 changes: 0 additions & 4 deletions api/openapi/models/user/UserProjectDefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,5 @@ allOf:
description: Project internal identifier.
minimum: 0
- $ref: ../Slug.yaml
x-stoplight:
id: mq0kagsd2m7tg
- $ref: ../project/ProjectUserDetails.yaml
x-stoplight:
id: 0new1li2b8uld
description: Information about user's project.

0 comments on commit fc51807

Please sign in to comment.