Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Mar 27, 2023
1 parent bd8f1a5 commit 9fa182b
Show file tree
Hide file tree
Showing 121 changed files with 1,149 additions and 276 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ docs/PagedOrganizations.md
docs/PagedOrganizationsAllOf.md
docs/PagedPersons.md
docs/PagedPersonsAllOf.md
docs/PagedProjectParticipations.md
docs/PagedProjectParticipationsAllOf.md
docs/PagedProjects.md
docs/PagedProjectsAllOf.md
docs/PagedSkills.md
Expand All @@ -98,6 +100,7 @@ docs/ProjectApi.md
docs/ProjectDetails.md
docs/ProjectParticipation.md
docs/ProjectParticipationAllOf.md
docs/ProjectParticipationSearch.md
docs/ProjectParticipationUpdate.md
docs/ProjectScoreDetail.md
docs/ProjectScoreDetailAllOf.md
Expand Down Expand Up @@ -172,6 +175,8 @@ model_paged_organizations.go
model_paged_organizations_all_of.go
model_paged_persons.go
model_paged_persons_all_of.go
model_paged_project_participations.go
model_paged_project_participations_all_of.go
model_paged_projects.go
model_paged_projects_all_of.go
model_paged_skills.go
Expand All @@ -196,6 +201,7 @@ model_project_all_of.go
model_project_details.go
model_project_participation.go
model_project_participation_all_of.go
model_project_participation_search.go
model_project_participation_update.go
model_project_score_detail.go
model_project_score_detail_all_of.go
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is an example of using OAuth2 Implicit Flow in a specification to describe
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.3.12
- API version: 1.3.13
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -188,6 +188,7 @@ Class | Method | HTTP request | Description
*ProjectApi* | [**GetProject**](docs/ProjectApi.md#getproject) | **Get** /projects/{projectId} | Get details about a Project
*ProjectApi* | [**MergeProjects**](docs/ProjectApi.md#mergeprojects) | **Put** /projects/{projectId}/merge/{otherProjectId} | Merge to projects
*ProjectApi* | [**ReadPersonProject**](docs/ProjectApi.md#readpersonproject) | **Get** /persons/{personId}/projects/{projectId} | Get a Project Partifipation of a Person
*ProjectApi* | [**SearchProjectParticipations**](docs/ProjectApi.md#searchprojectparticipations) | **Post** /project-participations/search | Complex search over project entities
*ProjectApi* | [**SearchProjects**](docs/ProjectApi.md#searchprojects) | **Post** /projects/search | Complex search over project entities
*ProjectApi* | [**UpdatePersonProject**](docs/ProjectApi.md#updatepersonproject) | **Put** /persons/{personId}/projects/{projectId} | Update a Project of a Person
*ProjectApi* | [**UpdatePersonProjectSkill**](docs/ProjectApi.md#updatepersonprojectskill) | **Put** /persons/{personId}/projects/{projectId}/skills/{skillId} | Update the level of a Skill in a Project participation
Expand Down Expand Up @@ -272,6 +273,8 @@ Class | Method | HTTP request | Description
- [PagedOrganizationsAllOf](docs/PagedOrganizationsAllOf.md)
- [PagedPersons](docs/PagedPersons.md)
- [PagedPersonsAllOf](docs/PagedPersonsAllOf.md)
- [PagedProjectParticipations](docs/PagedProjectParticipations.md)
- [PagedProjectParticipationsAllOf](docs/PagedProjectParticipationsAllOf.md)
- [PagedProjects](docs/PagedProjects.md)
- [PagedProjectsAllOf](docs/PagedProjectsAllOf.md)
- [PagedSkills](docs/PagedSkills.md)
Expand All @@ -296,6 +299,7 @@ Class | Method | HTTP request | Description
- [ProjectDetails](docs/ProjectDetails.md)
- [ProjectParticipation](docs/ProjectParticipation.md)
- [ProjectParticipationAllOf](docs/ProjectParticipationAllOf.md)
- [ProjectParticipationSearch](docs/ProjectParticipationSearch.md)
- [ProjectParticipationUpdate](docs/ProjectParticipationUpdate.md)
- [ProjectScoreDetail](docs/ProjectScoreDetail.md)
- [ProjectScoreDetailAllOf](docs/ProjectScoreDetailAllOf.md)
Expand Down
103 changes: 90 additions & 13 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
description: This is an example of using OAuth2 Implicit Flow in a specification
to describe security to your API.
title: YASM (Yet Another Skill Management) API
version: 1.3.12
version: 1.3.13
servers:
- url: http://localhost:8080/api/v1
- url: https://dev-yasm.prodyna.com/api/v1
Expand Down Expand Up @@ -1269,6 +1269,50 @@ paths:
summary: Merge to projects
tags:
- Project
/project-participations/search:
post:
operationId: searchProjectParticipations
parameters:
- explode: true
in: query
name: skip
required: false
schema:
default: 0
example: 0
type: integer
style: form
- explode: true
in: query
name: limit
required: false
schema:
default: 20
example: 20
type: integer
style: form
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectParticipationSearch'
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PagedProjectParticipations'
description: OK
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: The specified resource was not found
summary: Complex search over project entities
tags:
- Project
/skills:
get:
operationId: getSkills
Expand Down Expand Up @@ -2551,7 +2595,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonDetails'
$ref: '#/components/schemas/ProjectParticipation'
description: OK
default:
content:
Expand Down Expand Up @@ -2594,7 +2638,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonDetails'
$ref: '#/components/schemas/ProjectParticipation'
description: OK
default:
content:
Expand Down Expand Up @@ -2639,7 +2683,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonDetails'
$ref: '#/components/schemas/ProjectParticipation'
description: OK
default:
content:
Expand Down Expand Up @@ -2691,7 +2735,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonDetails'
$ref: '#/components/schemas/ProjectParticipation'
description: OK
default:
content:
Expand Down Expand Up @@ -2743,7 +2787,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonDetails'
$ref: '#/components/schemas/ProjectParticipation'
description: OK
default:
content:
Expand Down Expand Up @@ -3692,9 +3736,6 @@ components:
discriminator:
propertyName: objectType
example:
projects:
- null
- null
languages:
- level:
level: 1
Expand Down Expand Up @@ -3762,10 +3803,6 @@ components:
properties:
person:
$ref: '#/components/schemas/Person'
projects:
items:
$ref: '#/components/schemas/ProjectParticipation'
type: array
industries:
items:
$ref: '#/components/schemas/Industry'
Expand Down Expand Up @@ -3956,6 +3993,34 @@ components:
allOf:
- $ref: '#/components/schemas/BasicDomainModel'
- $ref: '#/components/schemas/ProjectParticipation_allOf'
ProjectParticipationSearch:
example:
personIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
projectIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
projectParticipationIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
projectIds:
items:
format: uuid
type: string
type: array
personIds:
items:
format: uuid
type: string
type: array
projectParticipationIds:
items:
format: uuid
type: string
type: array
type: object
ProjectParticipationUpdate:
example:
skills:
Expand Down Expand Up @@ -4206,6 +4271,10 @@ components:
allOf:
- $ref: '#/components/schemas/Page'
- $ref: '#/components/schemas/PagedProjects_allOf'
PagedProjectParticipations:
allOf:
- $ref: '#/components/schemas/Page'
- $ref: '#/components/schemas/PagedProjectParticipations_allOf'
PagedPersons:
allOf:
- $ref: '#/components/schemas/Page'
Expand Down Expand Up @@ -4533,6 +4602,14 @@ components:
type: array
type: object
example: null
PagedProjectParticipations_allOf:
properties:
projectParticipations:
items:
$ref: '#/components/schemas/ProjectParticipation'
type: array
type: object
example: null
PagedPersons_allOf:
properties:
persons:
Expand Down
2 changes: 1 addition & 1 deletion api_availability.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_certification.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_country.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_industry.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_language.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_office.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_organization.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9fa182b

Please sign in to comment.