From 0a7bf95fd94d7567c8b0b620d3428a2a7e79f474 Mon Sep 17 00:00:00 2001 From: prodyna-yasm Date: Fri, 15 Dec 2023 16:39:00 +0000 Subject: [PATCH] Update from https://github.com/PRODYNA-YASM/yasm-api/commit/f36f86d0ddc310b5ef790b047142799cf631e918 --- README.md | 14 +- api/openapi.yaml | 245 +++++++++++++----- api_availability.go | 2 +- api_certification.go | 16 +- api_country.go | 2 +- api_industry.go | 4 +- api_language.go | 22 +- api_office.go | 2 +- api_organization.go | 16 +- api_person.go | 219 ++++++++-------- api_profile.go | 2 +- api_project.go | 2 +- api_project_participation.go | 5 +- api_search.go | 2 +- api_skill.go | 70 ++--- api_status.go | 2 +- api_templates.go | 2 +- client.go | 4 +- configuration.go | 2 +- docs/CertificationAPI.md | 16 +- docs/IndustryAPI.md | 4 +- docs/LanguageAPI.md | 16 +- docs/OrganizationAPI.md | 24 +- docs/PersonAPI.md | 144 +++++----- docs/ProjectAPI.md | 8 +- docs/ProjectParticipationAPI.md | 8 +- docs/SkillAPI.md | 16 +- model_abstract_entity_filter.go | 2 +- model_availability.go | 2 +- model_availability_detail.go | 2 +- model_availability_filter.go | 2 +- model_basic_domain_model.go | 2 +- model_certification.go | 2 +- model_certification_details.go | 2 +- model_certification_search.go | 2 +- model_confidentiality.go | 2 +- model_country.go | 2 +- model_country_details.go | 2 +- model_descriptable.go | 2 +- model_entity_filter.go | 2 +- model_error.go | 2 +- model_experience.go | 2 +- model_experience_skill.go | 2 +- model_experience_skill_group.go | 2 +- model_geolocation.go | 2 +- model_industry.go | 2 +- model_industry_details.go | 2 +- model_language.go | 2 +- model_language_details.go | 2 +- model_language_level.go | 2 +- model_level.go | 2 +- model_linkable.go | 2 +- model_locateable.go | 2 +- model_min_max.go | 2 +- model_min_max_percent.go | 2 +- model_nameable.go | 2 +- model_named_domain_model.go | 2 +- model_office.go | 2 +- model_organization.go | 2 +- model_organization_details.go | 2 +- model_page.go | 2 +- model_paged_availabilities.go | 2 +- model_paged_certifications.go | 2 +- model_paged_countries.go | 2 +- model_paged_industries.go | 2 +- model_paged_languages.go | 2 +- model_paged_offices.go | 2 +- model_paged_organizations.go | 2 +- model_paged_persons.go | 2 +- model_paged_profiles.go | 2 +- model_paged_project_participation.go | 2 +- model_paged_projects.go | 2 +- model_paged_skills.go | 2 +- model_person.go | 2 +- model_person_certification_filter.go | 2 +- model_person_details.go | 2 +- model_person_industry_filter.go | 2 +- model_person_organization_filter.go | 2 +- model_person_project_filter.go | 2 +- model_person_project_participation_details.go | 2 +- model_person_project_participation_item.go | 2 +- model_person_score_detail.go | 2 +- model_person_search.go | 2 +- model_person_skill_filter.go | 2 +- model_profile.go | 2 +- model_profile_details.go | 2 +- model_project.go | 2 +- model_project_details.go | 2 +- model_project_participation.go | 2 +- model_project_participation_create.go | 2 +- model_project_participation_details.go | 2 +- model_project_participation_search.go | 2 +- model_project_participation_update.go | 2 +- model_project_score_detail.go | 2 +- model_project_search.go | 2 +- model_project_status.go | 2 +- model_project_type.go | 2 +- model_score_result.go | 2 +- model_search_result.go | 2 +- model_search_result_item.go | 2 +- model_seniority.go | 2 +- model_skill.go | 2 +- model_skill_details.go | 2 +- model_skill_group.go | 2 +- model_skill_level.go | 2 +- model_skill_level_update.go | 2 +- model_skill_link.go | 2 +- model_skill_link_update.go | 2 +- model_status.go | 2 +- model_suggestable.go | 2 +- model_synonymable.go | 2 +- model_timeframed.go | 2 +- model_version.go | 2 +- response.go | 2 +- test/api_certification_test.go | 4 +- test/api_language_test.go | 4 +- test/api_organization_test.go | 4 +- test/api_person_test.go | 28 +- utils.go | 2 +- 119 files changed, 607 insertions(+), 478 deletions(-) diff --git a/README.md b/README.md index 4acf9d7b..e107b23d 100644 --- a/README.md +++ b/README.md @@ -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.9.0 +- API version: 1.10.0 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -90,7 +90,7 @@ Class | Method | HTTP request | Description *CertificationAPI* | [**GetCertification**](docs/CertificationAPI.md#getcertification) | **Get** /certifications/{certificationId} | Get details about a Certification *CertificationAPI* | [**GetCertifications**](docs/CertificationAPI.md#getcertifications) | **Get** /certifications | Get a list of all Certifications independent of the Organization *CertificationAPI* | [**GetCertificationsForOrganization**](docs/CertificationAPI.md#getcertificationsfororganization) | **Get** /organizations/{organizationId}/certifications | Get a list of all certifications for a organization -*CertificationAPI* | [**MoveCertification**](docs/CertificationAPI.md#movecertification) | **Put** /organizations/{organizationId}/certificates/{certificateId} | Move a Certification to an Organization +*CertificationAPI* | [**MoveCertification**](docs/CertificationAPI.md#movecertification) | **Put** /organizations/{organizationId}/certificates/{certificationId} | Move a Certification to an Organization *CertificationAPI* | [**SearchCertifications**](docs/CertificationAPI.md#searchcertifications) | **Post** /certifications/search | Complex search over certification entities *CertificationAPI* | [**UpdateCertification**](docs/CertificationAPI.md#updatecertification) | **Put** /certifications/{certificationId} | Update a Certification *CertificationAPI* | [**UpdatePersonCertification**](docs/CertificationAPI.md#updatepersoncertification) | **Put** /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person @@ -117,7 +117,7 @@ Class | Method | HTTP request | Description *LanguageAPI* | [**GetLanguages**](docs/LanguageAPI.md#getlanguages) | **Get** /languages | Get a list of Languages *LanguageAPI* | [**RemoveLanguageFromCountry**](docs/LanguageAPI.md#removelanguagefromcountry) | **Delete** /countries/{countryId}/languages/{languageId} | Assign a language to a country *LanguageAPI* | [**RemovePersonLanguage**](docs/LanguageAPI.md#removepersonlanguage) | **Delete** /persons/{personId}/languages/{languageId} | Remove a language from a person -*LanguageAPI* | [**UupdatePersonLanguage**](docs/LanguageAPI.md#uupdatepersonlanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person +*LanguageAPI* | [**UpdatePersonLanguage**](docs/LanguageAPI.md#updatepersonlanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person *OfficeAPI* | [**AddPersonOffice**](docs/OfficeAPI.md#addpersonoffice) | **Post** /persons/{personId}/offices/{officeId} | Assign a person to an office *OfficeAPI* | [**CreateOffice**](docs/OfficeAPI.md#createoffice) | **Post** /organizations/{organizationId}/offices | Create an Office in an Organization *OfficeAPI* | [**DeleteOffice**](docs/OfficeAPI.md#deleteoffice) | **Delete** /organizations/{organizationId}/offices/{officeId} | Delete an Office from an Organization @@ -141,7 +141,7 @@ Class | Method | HTTP request | Description *OrganizationAPI* | [**GetOrganization**](docs/OrganizationAPI.md#getorganization) | **Get** /organizations/{organizationId} | Get details about an Organization *OrganizationAPI* | [**GetOrganizationProjects**](docs/OrganizationAPI.md#getorganizationprojects) | **Get** /organizations/{organizationId}/projects | Get a list of all Projects for an Organization *OrganizationAPI* | [**GetOrganizations**](docs/OrganizationAPI.md#getorganizations) | **Get** /organizations | Get a list of all Organizations -*OrganizationAPI* | [**MoveCertification**](docs/OrganizationAPI.md#movecertification) | **Put** /organizations/{organizationId}/certificates/{certificateId} | Move a Certification to an Organization +*OrganizationAPI* | [**MoveCertification**](docs/OrganizationAPI.md#movecertification) | **Put** /organizations/{organizationId}/certificates/{certificationId} | Move a Certification to an Organization *OrganizationAPI* | [**RemoveExecutiveOrganizationFromProject**](docs/OrganizationAPI.md#removeexecutiveorganizationfromproject) | **Delete** /projects/{projectId}/executive-organizations/{organizationId} | Remove an Organization from a Project as executive organization *OrganizationAPI* | [**RemoveOrganizationFromParentOrganization**](docs/OrganizationAPI.md#removeorganizationfromparentorganization) | **Delete** /organizations/{organizationId}/parents/{parentOrganizationId} | Detaches an Organization from parent Organization, return the parent Organization *OrganizationAPI* | [**UpdateOffice**](docs/OrganizationAPI.md#updateoffice) | **Put** /organizations/{organizationId}/offices/{officeId} | Update an Office for an Organization @@ -172,7 +172,7 @@ Class | Method | HTTP request | Description *PersonAPI* | [**GetAvailabilities**](docs/PersonAPI.md#getavailabilities) | **Get** /persons/{personId}/availabilities | Get a list of all activities for a person *PersonAPI* | [**GetPerson**](docs/PersonAPI.md#getperson) | **Get** /persons/{personId} | Get basic info about a person *PersonAPI* | [**ReadPersonPicture**](docs/PersonAPI.md#readpersonpicture) | **Get** /persons/{personId}/picture | Read person image -*PersonAPI* | [**ReadPersonProjectParticipation**](docs/PersonAPI.md#readpersonprojectparticipation) | **Get** /persons/{personId}/project-participation | Get a Project Partifipation of a Person +*PersonAPI* | [**ReadPersonProjectParticipation**](docs/PersonAPI.md#readpersonprojectparticipation) | **Get** /persons/{personId}/project-participation | Get a Project Participation of a Person *PersonAPI* | [**ReadProjectParticipation**](docs/PersonAPI.md#readprojectparticipation) | **Get** /project-participations/{projectParticipationId} | Get a project participation *PersonAPI* | [**RemovePersonLanguage**](docs/PersonAPI.md#removepersonlanguage) | **Delete** /persons/{personId}/languages/{languageId} | Remove a language from a person *PersonAPI* | [**RemoveSkillConfirmation**](docs/PersonAPI.md#removeskillconfirmation) | **Delete** /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Remove a confirmation @@ -180,11 +180,11 @@ Class | Method | HTTP request | Description *PersonAPI* | [**UpdateAvailability**](docs/PersonAPI.md#updateavailability) | **Put** /persons/{personId}/availabilities/{availabilityId} | Update a person availability *PersonAPI* | [**UpdatePerson**](docs/PersonAPI.md#updateperson) | **Put** /persons/{personId} | Update an existing Person *PersonAPI* | [**UpdatePersonCertification**](docs/PersonAPI.md#updatepersoncertification) | **Put** /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person +*PersonAPI* | [**UpdatePersonLanguage**](docs/PersonAPI.md#updatepersonlanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person *PersonAPI* | [**UpdatePersonPicture**](docs/PersonAPI.md#updatepersonpicture) | **Put** /persons/{personId}/picture | Update person image *PersonAPI* | [**UpdatePersonSkillExperience**](docs/PersonAPI.md#updatepersonskillexperience) | **Put** /persons/{personId}/experiences/skills/{skillId} | Edit an Skill experience to a Person *PersonAPI* | [**UpdatePersonSkillExperiences**](docs/PersonAPI.md#updatepersonskillexperiences) | **Put** /persons/{personId}/experiences | Edit an Skill experience to a Person *PersonAPI* | [**UpdateProjectParticipation**](docs/PersonAPI.md#updateprojectparticipation) | **Put** /project-participations/{projectParticipationId} | Update a Project of a Person -*PersonAPI* | [**UupdatePersonLanguage**](docs/PersonAPI.md#uupdatepersonlanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person *ProfileAPI* | [**AddPersonProfile**](docs/ProfileAPI.md#addpersonprofile) | **Post** /persons/{personId}/profiles/{profileId} | Add a Profile to a Person *ProfileAPI* | [**CreateProfile**](docs/ProfileAPI.md#createprofile) | **Post** /profiles | Create a new Profile *ProfileAPI* | [**DeletePersonProfile**](docs/ProfileAPI.md#deletepersonprofile) | **Delete** /persons/{personId}/profiles/{profileId} | Remove a Profile from a Person @@ -208,7 +208,7 @@ Class | Method | HTTP request | Description *ProjectAPI* | [**UpdateProject**](docs/ProjectAPI.md#updateproject) | **Put** /projects/{projectId} | Update a Project *ProjectAPI* | [**UpdateProjectOrganization**](docs/ProjectAPI.md#updateprojectorganization) | **Put** /organizations/{organizationId}/projects/{projectId} | project is now point to the new organization *ProjectAPI* | [**UpdateProjectParticipation**](docs/ProjectAPI.md#updateprojectparticipation) | **Put** /project-participations/{projectParticipationId} | Update a Project of a Person -*ProjectParticipationAPI* | [**ReadPersonProjectParticipation**](docs/ProjectParticipationAPI.md#readpersonprojectparticipation) | **Get** /persons/{personId}/project-participation | Get a Project Partifipation of a Person +*ProjectParticipationAPI* | [**ReadPersonProjectParticipation**](docs/ProjectParticipationAPI.md#readpersonprojectparticipation) | **Get** /persons/{personId}/project-participation | Get a Project Participation of a Person *SearchAPI* | [**SearchAll**](docs/SearchAPI.md#searchall) | **Get** /search/all/{text} | Fulltext search on all kinds of objects *SkillAPI* | [**AddPersonInterest**](docs/SkillAPI.md#addpersoninterest) | **Post** /persons/{personId}/interests/skills/{skillId} | Add an Interest to a Person *SkillAPI* | [**AddPersonSkillExperience**](docs/SkillAPI.md#addpersonskillexperience) | **Post** /persons/{personId}/experiences/skills/{skillId} | Add an Skill experience to a Person diff --git a/api/openapi.yaml b/api/openapi.yaml index 1426c26d..c2b92022 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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.9.0 + version: 1.10.0 servers: - url: http://localhost:8080/api/v1 - url: https://dev-yasm.prodyna.com/api/v1 @@ -84,7 +84,7 @@ paths: example: 20 type: integer style: form - - description: Optionally filter organizations by search term + - description: Optionally search via search term explode: true in: query name: term @@ -131,8 +131,6 @@ paths: schema: $ref: '#/components/schemas/Error' description: The specified resource was not found - security: - - bearerAuth: [] summary: Create an Organization tags: - Organization @@ -161,8 +159,6 @@ paths: schema: $ref: '#/components/schemas/Error' description: The specified resource was not found - security: - - bearerAuth: [] summary: Delete an organization tags: - Organization @@ -224,8 +220,6 @@ paths: schema: $ref: '#/components/schemas/Error' description: The specified resource was not found - security: - - bearerAuth: [] summary: Update an Organization tags: - Organization @@ -621,7 +615,7 @@ paths: example: 20 type: integer style: form - - description: Optionally search Industries via a search term + - description: Optionally search via search term explode: true in: query name: term @@ -839,25 +833,23 @@ paths: tags: - Organization - Certification - /organizations/{organizationId}/certificates/{certificateId}: + /organizations/{organizationId}/certificates/{certificationId}: put: operationId: moveCertification parameters: - explode: false in: path - name: organizationId + name: certificationId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple - explode: false in: path - name: certificateId + name: organizationId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple @@ -887,7 +879,6 @@ paths: name: organizationId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple @@ -934,7 +925,6 @@ paths: name: organizationId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple @@ -970,7 +960,6 @@ paths: name: organizationId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple @@ -979,7 +968,6 @@ paths: name: projectId required: true schema: - example: 70ee6f30-d7c1-4f91-a653-9819ecbfa667 format: uuid type: string style: simple @@ -1022,7 +1010,7 @@ paths: example: 20 type: integer style: form - - description: Optionally search for Certifications via search term + - description: Optionally search via search term explode: true in: query name: term @@ -1552,6 +1540,33 @@ paths: get: operationId: getSkills 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 + - description: Optionally search via search term + explode: true + in: query + name: term + required: false + schema: + default: "" + type: string + style: form - description: "Gives you either all skills, only the root kills" explode: true in: query @@ -1589,33 +1604,6 @@ paths: example: true type: boolean style: form - - 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 - - description: Optionally filter skills based on a search term - explode: true - in: query - name: term - required: false - schema: - default: "" - type: string - style: form responses: "200": content: @@ -2086,13 +2074,13 @@ paths: get: operationId: getAllBusinessDepartments parameters: - - example: 0 - explode: true + - explode: true in: query name: skip required: false schema: default: 0 + example: 0 type: integer style: form - explode: true @@ -2101,6 +2089,7 @@ paths: required: false schema: default: 20 + example: 20 type: integer style: form responses: @@ -2125,13 +2114,13 @@ paths: post: operationId: searchPersons parameters: - - example: 0 - explode: true + - explode: true in: query name: skip required: false schema: default: 0 + example: 0 type: integer style: form - explode: true @@ -2140,6 +2129,7 @@ paths: required: false schema: default: 20 + example: 20 type: integer style: form requestBody: @@ -2506,7 +2496,7 @@ paths: - Person - Language put: - operationId: uupdatePersonLanguage + operationId: updatePersonLanguage parameters: - explode: false in: path @@ -2947,7 +2937,8 @@ paths: format: uuid type: string style: simple - - explode: true + - description: "Filter by project ids, if not set, all projects are returned" + explode: true in: query name: projectIds required: false @@ -2972,7 +2963,7 @@ paths: schema: $ref: '#/components/schemas/Error' description: The specified resource was not found - summary: Get a Project Partifipation of a Person + summary: Get a Project Participation of a Person tags: - Person - ProjectParticipation @@ -3342,8 +3333,7 @@ paths: schema: type: string style: simple - - example: 0 - explode: true + - explode: true in: query name: skip required: false @@ -3521,8 +3511,7 @@ paths: get: operationId: getCountries parameters: - - example: 0 - explode: true + - explode: true in: query name: skip required: false @@ -3739,8 +3728,7 @@ paths: get: operationId: getProfiles parameters: - - example: 0 - explode: true + - explode: true in: query name: skip required: false @@ -3881,6 +3869,145 @@ paths: tags: - Profile components: + parameters: + Skip: + explode: true + in: query + name: skip + required: false + schema: + default: 0 + example: 0 + type: integer + style: form + Limit: + explode: true + in: query + name: limit + required: false + schema: + default: 20 + example: 20 + type: integer + style: form + Term: + description: Optionally search via search term + explode: true + in: query + name: term + required: false + schema: + default: "" + type: string + style: form + AvailabilityId: + explode: false + in: path + name: availabilityId + required: true + schema: + format: uuid + type: string + style: simple + CertificationId: + explode: false + in: path + name: certificationId + required: true + schema: + format: uuid + type: string + style: simple + LanguageId: + explode: false + in: path + name: languageId + required: true + schema: + format: uuid + type: string + style: simple + ProfileId: + explode: false + in: path + name: profileId + required: true + schema: + format: uuid + type: string + style: simple + CountryId: + explode: false + in: path + name: countryId + required: true + schema: + format: uuid + type: string + style: simple + OrganizationId: + explode: false + in: path + name: organizationId + required: true + schema: + format: uuid + type: string + style: simple + OfficeId: + explode: false + in: path + name: officeId + required: true + schema: + format: uuid + type: string + style: simple + IndustryId: + explode: false + in: path + name: industryId + required: true + schema: + format: uuid + type: string + style: simple + PersonId: + explode: false + in: path + name: personId + required: true + schema: + format: uuid + type: string + style: simple + ProjectId: + explode: false + in: path + name: projectId + required: true + schema: + format: uuid + type: string + style: simple + ProjectParticipationId: + explode: false + in: path + name: projectParticipationId + required: true + schema: + format: uuid + type: string + style: simple + SkillId: + explode: false + in: path + name: skillId + required: true + schema: + format: uuid + type: string + style: simple responses: ErrorResponse: content: diff --git a/api_availability.go b/api_availability.go index 53a51a47..6517378b 100644 --- a/api_availability.go +++ b/api_availability.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_certification.go b/api_certification.go index c8c1166b..ecbd059b 100644 --- a/api_certification.go +++ b/api_certification.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -855,7 +855,7 @@ func (r CertificationAPIGetCertificationsRequest) Limit(limit int32) Certificati return r } -// Optionally search for Certifications via search term +// Optionally search via search term func (r CertificationAPIGetCertificationsRequest) Term(term string) CertificationAPIGetCertificationsRequest { r.term = &term return r @@ -1115,8 +1115,8 @@ func (a *CertificationAPIService) GetCertificationsForOrganizationExecute(r Cert type CertificationAPIMoveCertificationRequest struct { ctx context.Context ApiService *CertificationAPIService + certificationId string organizationId string - certificateId string } func (r CertificationAPIMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { @@ -1127,16 +1127,16 @@ func (r CertificationAPIMoveCertificationRequest) Execute() (*CertificationDetai MoveCertification Move a Certification to an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param certificationId @param organizationId - @param certificateId @return CertificationAPIMoveCertificationRequest */ -func (a *CertificationAPIService) MoveCertification(ctx context.Context, organizationId string, certificateId string) CertificationAPIMoveCertificationRequest { +func (a *CertificationAPIService) MoveCertification(ctx context.Context, certificationId string, organizationId string) CertificationAPIMoveCertificationRequest { return CertificationAPIMoveCertificationRequest{ ApiService: a, ctx: ctx, + certificationId: certificationId, organizationId: organizationId, - certificateId: certificateId, } } @@ -1155,9 +1155,9 @@ func (a *CertificationAPIService) MoveCertificationExecute(r CertificationAPIMov return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/organizations/{organizationId}/certificates/{certificateId}" + localVarPath := localBasePath + "/organizations/{organizationId}/certificates/{certificationId}" + localVarPath = strings.Replace(localVarPath, "{"+"certificationId"+"}", url.PathEscape(parameterValueToString(r.certificationId, "certificationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"certificateId"+"}", url.PathEscape(parameterValueToString(r.certificateId, "certificateId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} diff --git a/api_country.go b/api_country.go index 5d03a6b6..4ed1c391 100644 --- a/api_country.go +++ b/api_country.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_industry.go b/api_industry.go index 29467a86..621e8a9e 100644 --- a/api_industry.go +++ b/api_industry.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -492,7 +492,7 @@ func (r IndustryAPIGetIndustriesRequest) Limit(limit int32) IndustryAPIGetIndust return r } -// Optionally search Industries via a search term +// Optionally search via search term func (r IndustryAPIGetIndustriesRequest) Term(term string) IndustryAPIGetIndustriesRequest { r.term = &term return r diff --git a/api_language.go b/api_language.go index 86b9333e..91d32c69 100644 --- a/api_language.go +++ b/api_language.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -951,7 +951,7 @@ func (a *LanguageAPIService) RemovePersonLanguageExecute(r LanguageAPIRemovePers return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageAPIUupdatePersonLanguageRequest struct { +type LanguageAPIUpdatePersonLanguageRequest struct { ctx context.Context ApiService *LanguageAPIService personId string @@ -959,25 +959,25 @@ type LanguageAPIUupdatePersonLanguageRequest struct { level *Level } -func (r LanguageAPIUupdatePersonLanguageRequest) Level(level Level) LanguageAPIUupdatePersonLanguageRequest { +func (r LanguageAPIUpdatePersonLanguageRequest) Level(level Level) LanguageAPIUpdatePersonLanguageRequest { r.level = &level return r } -func (r LanguageAPIUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { - return r.ApiService.UupdatePersonLanguageExecute(r) +func (r LanguageAPIUpdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { + return r.ApiService.UpdatePersonLanguageExecute(r) } /* -UupdatePersonLanguage Update a language of a person +UpdatePersonLanguage Update a language of a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return LanguageAPIUupdatePersonLanguageRequest + @return LanguageAPIUpdatePersonLanguageRequest */ -func (a *LanguageAPIService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) LanguageAPIUupdatePersonLanguageRequest { - return LanguageAPIUupdatePersonLanguageRequest{ +func (a *LanguageAPIService) UpdatePersonLanguage(ctx context.Context, personId string, languageId string) LanguageAPIUpdatePersonLanguageRequest { + return LanguageAPIUpdatePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -987,7 +987,7 @@ func (a *LanguageAPIService) UupdatePersonLanguage(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *LanguageAPIService) UupdatePersonLanguageExecute(r LanguageAPIUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *LanguageAPIService) UpdatePersonLanguageExecute(r LanguageAPIUpdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -995,7 +995,7 @@ func (a *LanguageAPIService) UupdatePersonLanguageExecute(r LanguageAPIUupdatePe localVarReturnValue *PersonDetails ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageAPIService.UupdatePersonLanguage") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageAPIService.UpdatePersonLanguage") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/api_office.go b/api_office.go index e5f60592..96f07376 100644 --- a/api_office.go +++ b/api_office.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_organization.go b/api_organization.go index 9c139052..641a7a55 100644 --- a/api_organization.go +++ b/api_organization.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -1680,7 +1680,7 @@ func (r OrganizationAPIGetOrganizationsRequest) Limit(limit int32) OrganizationA return r } -// Optionally filter organizations by search term +// Optionally search via search term func (r OrganizationAPIGetOrganizationsRequest) Term(term string) OrganizationAPIGetOrganizationsRequest { r.term = &term return r @@ -1807,8 +1807,8 @@ func (a *OrganizationAPIService) GetOrganizationsExecute(r OrganizationAPIGetOrg type OrganizationAPIMoveCertificationRequest struct { ctx context.Context ApiService *OrganizationAPIService + certificationId string organizationId string - certificateId string } func (r OrganizationAPIMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { @@ -1819,16 +1819,16 @@ func (r OrganizationAPIMoveCertificationRequest) Execute() (*CertificationDetail MoveCertification Move a Certification to an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param certificationId @param organizationId - @param certificateId @return OrganizationAPIMoveCertificationRequest */ -func (a *OrganizationAPIService) MoveCertification(ctx context.Context, organizationId string, certificateId string) OrganizationAPIMoveCertificationRequest { +func (a *OrganizationAPIService) MoveCertification(ctx context.Context, certificationId string, organizationId string) OrganizationAPIMoveCertificationRequest { return OrganizationAPIMoveCertificationRequest{ ApiService: a, ctx: ctx, + certificationId: certificationId, organizationId: organizationId, - certificateId: certificateId, } } @@ -1847,9 +1847,9 @@ func (a *OrganizationAPIService) MoveCertificationExecute(r OrganizationAPIMoveC return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/organizations/{organizationId}/certificates/{certificateId}" + localVarPath := localBasePath + "/organizations/{organizationId}/certificates/{certificationId}" + localVarPath = strings.Replace(localVarPath, "{"+"certificationId"+"}", url.PathEscape(parameterValueToString(r.certificationId, "certificationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"certificateId"+"}", url.PathEscape(parameterValueToString(r.certificateId, "certificateId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} diff --git a/api_person.go b/api_person.go index d658797b..99195746 100644 --- a/api_person.go +++ b/api_person.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -2993,6 +2993,7 @@ type PersonAPIReadPersonProjectParticipationRequest struct { projectIds *[]string } +// Filter by project ids, if not set, all projects are returned func (r PersonAPIReadPersonProjectParticipationRequest) ProjectIds(projectIds []string) PersonAPIReadPersonProjectParticipationRequest { r.projectIds = &projectIds return r @@ -3003,7 +3004,7 @@ func (r PersonAPIReadPersonProjectParticipationRequest) Execute() ([]PersonProje } /* -ReadPersonProjectParticipation Get a Project Partifipation of a Person +ReadPersonProjectParticipation Get a Project Participation of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @@ -3960,64 +3961,68 @@ func (a *PersonAPIService) UpdatePersonCertificationExecute(r PersonAPIUpdatePer return localVarReturnValue, localVarHTTPResponse, nil } -type PersonAPIUpdatePersonPictureRequest struct { +type PersonAPIUpdatePersonLanguageRequest struct { ctx context.Context ApiService *PersonAPIService personId string - body *os.File + languageId string + level *Level } -func (r PersonAPIUpdatePersonPictureRequest) Body(body *os.File) PersonAPIUpdatePersonPictureRequest { - r.body = body +func (r PersonAPIUpdatePersonLanguageRequest) Level(level Level) PersonAPIUpdatePersonLanguageRequest { + r.level = &level return r } -func (r PersonAPIUpdatePersonPictureRequest) Execute() (*Status, *http.Response, error) { - return r.ApiService.UpdatePersonPictureExecute(r) +func (r PersonAPIUpdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { + return r.ApiService.UpdatePersonLanguageExecute(r) } /* -UpdatePersonPicture Update person image +UpdatePersonLanguage Update a language of a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonAPIUpdatePersonPictureRequest + @param languageId + @return PersonAPIUpdatePersonLanguageRequest */ -func (a *PersonAPIService) UpdatePersonPicture(ctx context.Context, personId string) PersonAPIUpdatePersonPictureRequest { - return PersonAPIUpdatePersonPictureRequest{ +func (a *PersonAPIService) UpdatePersonLanguage(ctx context.Context, personId string, languageId string) PersonAPIUpdatePersonLanguageRequest { + return PersonAPIUpdatePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, + languageId: languageId, } } // Execute executes the request -// @return Status -func (a *PersonAPIService) UpdatePersonPictureExecute(r PersonAPIUpdatePersonPictureRequest) (*Status, *http.Response, error) { +// @return PersonDetails +func (a *PersonAPIService) UpdatePersonLanguageExecute(r PersonAPIUpdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Status + localVarReturnValue *PersonDetails ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonPicture") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonLanguage") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/persons/{personId}/picture" + localVarPath := localBasePath + "/persons/{personId}/languages/{languageId}" localVarPath = strings.Replace(localVarPath, "{"+"personId"+"}", url.PathEscape(parameterValueToString(r.personId, "personId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"languageId"+"}", url.PathEscape(parameterValueToString(r.languageId, "languageId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.body == nil { - return localVarReturnValue, nil, reportError("body is required and must be specified") + if r.level == nil { + return localVarReturnValue, nil, reportError("level is required and must be specified") } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/octet-stream"} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -4034,7 +4039,7 @@ func (a *PersonAPIService) UpdatePersonPictureExecute(r PersonAPIUpdatePersonPic localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.body + localVarPostBody = r.level req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4080,68 +4085,64 @@ func (a *PersonAPIService) UpdatePersonPictureExecute(r PersonAPIUpdatePersonPic return localVarReturnValue, localVarHTTPResponse, nil } -type PersonAPIUpdatePersonSkillExperienceRequest struct { +type PersonAPIUpdatePersonPictureRequest struct { ctx context.Context ApiService *PersonAPIService personId string - skillId string - level *Level + body *os.File } -func (r PersonAPIUpdatePersonSkillExperienceRequest) Level(level Level) PersonAPIUpdatePersonSkillExperienceRequest { - r.level = &level +func (r PersonAPIUpdatePersonPictureRequest) Body(body *os.File) PersonAPIUpdatePersonPictureRequest { + r.body = body return r } -func (r PersonAPIUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { - return r.ApiService.UpdatePersonSkillExperienceExecute(r) +func (r PersonAPIUpdatePersonPictureRequest) Execute() (*Status, *http.Response, error) { + return r.ApiService.UpdatePersonPictureExecute(r) } /* -UpdatePersonSkillExperience Edit an Skill experience to a Person +UpdatePersonPicture Update person image @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @param skillId - @return PersonAPIUpdatePersonSkillExperienceRequest + @return PersonAPIUpdatePersonPictureRequest */ -func (a *PersonAPIService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonAPIUpdatePersonSkillExperienceRequest { - return PersonAPIUpdatePersonSkillExperienceRequest{ +func (a *PersonAPIService) UpdatePersonPicture(ctx context.Context, personId string) PersonAPIUpdatePersonPictureRequest { + return PersonAPIUpdatePersonPictureRequest{ ApiService: a, ctx: ctx, personId: personId, - skillId: skillId, } } // Execute executes the request -// @return PersonDetails -func (a *PersonAPIService) UpdatePersonSkillExperienceExecute(r PersonAPIUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +// @return Status +func (a *PersonAPIService) UpdatePersonPictureExecute(r PersonAPIUpdatePersonPictureRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PersonDetails + localVarReturnValue *Status ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonSkillExperience") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonPicture") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/persons/{personId}/experiences/skills/{skillId}" + localVarPath := localBasePath + "/persons/{personId}/picture" localVarPath = strings.Replace(localVarPath, "{"+"personId"+"}", url.PathEscape(parameterValueToString(r.personId, "personId")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"skillId"+"}", url.PathEscape(parameterValueToString(r.skillId, "skillId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.level == nil { - return localVarReturnValue, nil, reportError("level is required and must be specified") + if r.body == nil { + return localVarReturnValue, nil, reportError("body is required and must be specified") } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} + localVarHTTPContentTypes := []string{"application/octet-stream"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -4158,7 +4159,7 @@ func (a *PersonAPIService) UpdatePersonSkillExperienceExecute(r PersonAPIUpdateP localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.level + localVarPostBody = r.body req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4204,40 +4205,43 @@ func (a *PersonAPIService) UpdatePersonSkillExperienceExecute(r PersonAPIUpdateP return localVarReturnValue, localVarHTTPResponse, nil } -type PersonAPIUpdatePersonSkillExperiencesRequest struct { +type PersonAPIUpdatePersonSkillExperienceRequest struct { ctx context.Context ApiService *PersonAPIService personId string - skillLevelUpdate *[]SkillLevelUpdate + skillId string + level *Level } -func (r PersonAPIUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonAPIUpdatePersonSkillExperiencesRequest { - r.skillLevelUpdate = &skillLevelUpdate +func (r PersonAPIUpdatePersonSkillExperienceRequest) Level(level Level) PersonAPIUpdatePersonSkillExperienceRequest { + r.level = &level return r } -func (r PersonAPIUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { - return r.ApiService.UpdatePersonSkillExperiencesExecute(r) +func (r PersonAPIUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { + return r.ApiService.UpdatePersonSkillExperienceExecute(r) } /* -UpdatePersonSkillExperiences Edit an Skill experience to a Person +UpdatePersonSkillExperience Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonAPIUpdatePersonSkillExperiencesRequest + @param skillId + @return PersonAPIUpdatePersonSkillExperienceRequest */ -func (a *PersonAPIService) UpdatePersonSkillExperiences(ctx context.Context, personId string) PersonAPIUpdatePersonSkillExperiencesRequest { - return PersonAPIUpdatePersonSkillExperiencesRequest{ +func (a *PersonAPIService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonAPIUpdatePersonSkillExperienceRequest { + return PersonAPIUpdatePersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, + skillId: skillId, } } // Execute executes the request // @return PersonDetails -func (a *PersonAPIService) UpdatePersonSkillExperiencesExecute(r PersonAPIUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonAPIService) UpdatePersonSkillExperienceExecute(r PersonAPIUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -4245,19 +4249,20 @@ func (a *PersonAPIService) UpdatePersonSkillExperiencesExecute(r PersonAPIUpdate localVarReturnValue *PersonDetails ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonSkillExperiences") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonSkillExperience") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/persons/{personId}/experiences" + localVarPath := localBasePath + "/persons/{personId}/experiences/skills/{skillId}" localVarPath = strings.Replace(localVarPath, "{"+"personId"+"}", url.PathEscape(parameterValueToString(r.personId, "personId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"skillId"+"}", url.PathEscape(parameterValueToString(r.skillId, "skillId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.skillLevelUpdate == nil { - return localVarReturnValue, nil, reportError("skillLevelUpdate is required and must be specified") + if r.level == nil { + return localVarReturnValue, nil, reportError("level is required and must be specified") } // to determine the Content-Type header @@ -4278,7 +4283,7 @@ func (a *PersonAPIService) UpdatePersonSkillExperiencesExecute(r PersonAPIUpdate localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.skillLevelUpdate + localVarPostBody = r.level req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4324,61 +4329,60 @@ func (a *PersonAPIService) UpdatePersonSkillExperiencesExecute(r PersonAPIUpdate return localVarReturnValue, localVarHTTPResponse, nil } -type PersonAPIUpdateProjectParticipationRequest struct { +type PersonAPIUpdatePersonSkillExperiencesRequest struct { ctx context.Context ApiService *PersonAPIService - projectParticipationId string - projectParticipationUpdate *ProjectParticipationUpdate + personId string + skillLevelUpdate *[]SkillLevelUpdate } -// A time frame and a list of Skills -func (r PersonAPIUpdateProjectParticipationRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonAPIUpdateProjectParticipationRequest { - r.projectParticipationUpdate = &projectParticipationUpdate +func (r PersonAPIUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonAPIUpdatePersonSkillExperiencesRequest { + r.skillLevelUpdate = &skillLevelUpdate return r } -func (r PersonAPIUpdateProjectParticipationRequest) Execute() (*ProjectParticipationDetails, *http.Response, error) { - return r.ApiService.UpdateProjectParticipationExecute(r) +func (r PersonAPIUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { + return r.ApiService.UpdatePersonSkillExperiencesExecute(r) } /* -UpdateProjectParticipation Update a Project of a Person +UpdatePersonSkillExperiences Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param projectParticipationId - @return PersonAPIUpdateProjectParticipationRequest + @param personId + @return PersonAPIUpdatePersonSkillExperiencesRequest */ -func (a *PersonAPIService) UpdateProjectParticipation(ctx context.Context, projectParticipationId string) PersonAPIUpdateProjectParticipationRequest { - return PersonAPIUpdateProjectParticipationRequest{ +func (a *PersonAPIService) UpdatePersonSkillExperiences(ctx context.Context, personId string) PersonAPIUpdatePersonSkillExperiencesRequest { + return PersonAPIUpdatePersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, - projectParticipationId: projectParticipationId, + personId: personId, } } // Execute executes the request -// @return ProjectParticipationDetails -func (a *PersonAPIService) UpdateProjectParticipationExecute(r PersonAPIUpdateProjectParticipationRequest) (*ProjectParticipationDetails, *http.Response, error) { +// @return PersonDetails +func (a *PersonAPIService) UpdatePersonSkillExperiencesExecute(r PersonAPIUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ProjectParticipationDetails + localVarReturnValue *PersonDetails ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdateProjectParticipation") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdatePersonSkillExperiences") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/project-participations/{projectParticipationId}" - localVarPath = strings.Replace(localVarPath, "{"+"projectParticipationId"+"}", url.PathEscape(parameterValueToString(r.projectParticipationId, "projectParticipationId")), -1) + localVarPath := localBasePath + "/persons/{personId}/experiences" + localVarPath = strings.Replace(localVarPath, "{"+"personId"+"}", url.PathEscape(parameterValueToString(r.personId, "personId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.projectParticipationUpdate == nil { - return localVarReturnValue, nil, reportError("projectParticipationUpdate is required and must be specified") + if r.skillLevelUpdate == nil { + return localVarReturnValue, nil, reportError("skillLevelUpdate is required and must be specified") } // to determine the Content-Type header @@ -4399,7 +4403,7 @@ func (a *PersonAPIService) UpdateProjectParticipationExecute(r PersonAPIUpdatePr localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.projectParticipationUpdate + localVarPostBody = r.skillLevelUpdate req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4445,64 +4449,61 @@ func (a *PersonAPIService) UpdateProjectParticipationExecute(r PersonAPIUpdatePr return localVarReturnValue, localVarHTTPResponse, nil } -type PersonAPIUupdatePersonLanguageRequest struct { +type PersonAPIUpdateProjectParticipationRequest struct { ctx context.Context ApiService *PersonAPIService - personId string - languageId string - level *Level + projectParticipationId string + projectParticipationUpdate *ProjectParticipationUpdate } -func (r PersonAPIUupdatePersonLanguageRequest) Level(level Level) PersonAPIUupdatePersonLanguageRequest { - r.level = &level +// A time frame and a list of Skills +func (r PersonAPIUpdateProjectParticipationRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonAPIUpdateProjectParticipationRequest { + r.projectParticipationUpdate = &projectParticipationUpdate return r } -func (r PersonAPIUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { - return r.ApiService.UupdatePersonLanguageExecute(r) +func (r PersonAPIUpdateProjectParticipationRequest) Execute() (*ProjectParticipationDetails, *http.Response, error) { + return r.ApiService.UpdateProjectParticipationExecute(r) } /* -UupdatePersonLanguage Update a language of a person +UpdateProjectParticipation Update a Project of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param personId - @param languageId - @return PersonAPIUupdatePersonLanguageRequest + @param projectParticipationId + @return PersonAPIUpdateProjectParticipationRequest */ -func (a *PersonAPIService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) PersonAPIUupdatePersonLanguageRequest { - return PersonAPIUupdatePersonLanguageRequest{ +func (a *PersonAPIService) UpdateProjectParticipation(ctx context.Context, projectParticipationId string) PersonAPIUpdateProjectParticipationRequest { + return PersonAPIUpdateProjectParticipationRequest{ ApiService: a, ctx: ctx, - personId: personId, - languageId: languageId, + projectParticipationId: projectParticipationId, } } // Execute executes the request -// @return PersonDetails -func (a *PersonAPIService) UupdatePersonLanguageExecute(r PersonAPIUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +// @return ProjectParticipationDetails +func (a *PersonAPIService) UpdateProjectParticipationExecute(r PersonAPIUpdateProjectParticipationRequest) (*ProjectParticipationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PersonDetails + localVarReturnValue *ProjectParticipationDetails ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UupdatePersonLanguage") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.UpdateProjectParticipation") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/persons/{personId}/languages/{languageId}" - localVarPath = strings.Replace(localVarPath, "{"+"personId"+"}", url.PathEscape(parameterValueToString(r.personId, "personId")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"languageId"+"}", url.PathEscape(parameterValueToString(r.languageId, "languageId")), -1) + localVarPath := localBasePath + "/project-participations/{projectParticipationId}" + localVarPath = strings.Replace(localVarPath, "{"+"projectParticipationId"+"}", url.PathEscape(parameterValueToString(r.projectParticipationId, "projectParticipationId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.level == nil { - return localVarReturnValue, nil, reportError("level is required and must be specified") + if r.projectParticipationUpdate == nil { + return localVarReturnValue, nil, reportError("projectParticipationUpdate is required and must be specified") } // to determine the Content-Type header @@ -4523,7 +4524,7 @@ func (a *PersonAPIService) UupdatePersonLanguageExecute(r PersonAPIUupdatePerson localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.level + localVarPostBody = r.projectParticipationUpdate req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_profile.go b/api_profile.go index ecc1a5b8..74e6f2d9 100644 --- a/api_profile.go +++ b/api_profile.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_project.go b/api_project.go index 99c17d1f..db042dec 100644 --- a/api_project.go +++ b/api_project.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_project_participation.go b/api_project_participation.go index 7cc661ec..3b389636 100644 --- a/api_project_participation.go +++ b/api_project_participation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -31,6 +31,7 @@ type ProjectParticipationAPIReadPersonProjectParticipationRequest struct { projectIds *[]string } +// Filter by project ids, if not set, all projects are returned func (r ProjectParticipationAPIReadPersonProjectParticipationRequest) ProjectIds(projectIds []string) ProjectParticipationAPIReadPersonProjectParticipationRequest { r.projectIds = &projectIds return r @@ -41,7 +42,7 @@ func (r ProjectParticipationAPIReadPersonProjectParticipationRequest) Execute() } /* -ReadPersonProjectParticipation Get a Project Partifipation of a Person +ReadPersonProjectParticipation Get a Project Participation of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId diff --git a/api_search.go b/api_search.go index 2801ccc3..32349d35 100644 --- a/api_search.go +++ b/api_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_skill.go b/api_skill.go index e4ce4c69..3935738f 100644 --- a/api_skill.go +++ b/api_skill.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -1674,45 +1674,45 @@ func (a *SkillAPIService) GetSkillParentsExecute(r SkillAPIGetSkillParentsReques type SkillAPIGetSkillsRequest struct { ctx context.Context ApiService *SkillAPIService - types *string - suggestions *string - linkable *bool skip *int32 limit *int32 term *string + types *string + suggestions *string + linkable *bool } -// Gives you either all skills, only the root kills -func (r SkillAPIGetSkillsRequest) Types(types string) SkillAPIGetSkillsRequest { - r.types = &types +func (r SkillAPIGetSkillsRequest) Skip(skip int32) SkillAPIGetSkillsRequest { + r.skip = &skip return r } -// Optionally filter skills based on suggestion -func (r SkillAPIGetSkillsRequest) Suggestions(suggestions string) SkillAPIGetSkillsRequest { - r.suggestions = &suggestions +func (r SkillAPIGetSkillsRequest) Limit(limit int32) SkillAPIGetSkillsRequest { + r.limit = &limit return r } -// Optionally filter skills based on linkable -func (r SkillAPIGetSkillsRequest) Linkable(linkable bool) SkillAPIGetSkillsRequest { - r.linkable = &linkable +// Optionally search via search term +func (r SkillAPIGetSkillsRequest) Term(term string) SkillAPIGetSkillsRequest { + r.term = &term return r } -func (r SkillAPIGetSkillsRequest) Skip(skip int32) SkillAPIGetSkillsRequest { - r.skip = &skip +// Gives you either all skills, only the root kills +func (r SkillAPIGetSkillsRequest) Types(types string) SkillAPIGetSkillsRequest { + r.types = &types return r } -func (r SkillAPIGetSkillsRequest) Limit(limit int32) SkillAPIGetSkillsRequest { - r.limit = &limit +// Optionally filter skills based on suggestion +func (r SkillAPIGetSkillsRequest) Suggestions(suggestions string) SkillAPIGetSkillsRequest { + r.suggestions = &suggestions return r } -// Optionally filter skills based on a search term -func (r SkillAPIGetSkillsRequest) Term(term string) SkillAPIGetSkillsRequest { - r.term = &term +// Optionally filter skills based on linkable +func (r SkillAPIGetSkillsRequest) Linkable(linkable bool) SkillAPIGetSkillsRequest { + r.linkable = &linkable return r } @@ -1754,21 +1754,6 @@ func (a *SkillAPIService) GetSkillsExecute(r SkillAPIGetSkillsRequest) (*PagedSk localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.types != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "types", r.types, "") - } else { - var defaultValue string = "all" - r.types = &defaultValue - } - if r.suggestions != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "suggestions", r.suggestions, "") - } else { - var defaultValue string = "all" - r.suggestions = &defaultValue - } - if r.linkable != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "linkable", r.linkable, "") - } if r.skip != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "skip", r.skip, "") } else { @@ -1787,6 +1772,21 @@ func (a *SkillAPIService) GetSkillsExecute(r SkillAPIGetSkillsRequest) (*PagedSk var defaultValue string = "" r.term = &defaultValue } + if r.types != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "types", r.types, "") + } else { + var defaultValue string = "all" + r.types = &defaultValue + } + if r.suggestions != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "suggestions", r.suggestions, "") + } else { + var defaultValue string = "all" + r.suggestions = &defaultValue + } + if r.linkable != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "linkable", r.linkable, "") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_status.go b/api_status.go index b1685cca..c2f84076 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_templates.go b/api_templates.go index 77875947..577435f6 100644 --- a/api_templates.go +++ b/api_templates.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/client.go b/client.go index 6bf3868f..63b9b4cb 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the YASM (Yet Another Skill Management) API API v1.9.0 +// APIClient manages communication with the YASM (Yet Another Skill Management) API API v1.10.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index 98a86bfd..b8536b68 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/CertificationAPI.md b/docs/CertificationAPI.md index b44c8cf2..6d2ad565 100644 --- a/docs/CertificationAPI.md +++ b/docs/CertificationAPI.md @@ -13,7 +13,7 @@ Method | HTTP request | Description [**GetCertification**](CertificationAPI.md#GetCertification) | **Get** /certifications/{certificationId} | Get details about a Certification [**GetCertifications**](CertificationAPI.md#GetCertifications) | **Get** /certifications | Get a list of all Certifications independent of the Organization [**GetCertificationsForOrganization**](CertificationAPI.md#GetCertificationsForOrganization) | **Get** /organizations/{organizationId}/certifications | Get a list of all certifications for a organization -[**MoveCertification**](CertificationAPI.md#MoveCertification) | **Put** /organizations/{organizationId}/certificates/{certificateId} | Move a Certification to an Organization +[**MoveCertification**](CertificationAPI.md#MoveCertification) | **Put** /organizations/{organizationId}/certificates/{certificationId} | Move a Certification to an Organization [**SearchCertifications**](CertificationAPI.md#SearchCertifications) | **Post** /certifications/search | Complex search over certification entities [**UpdateCertification**](CertificationAPI.md#UpdateCertification) | **Put** /certifications/{certificationId} | Update a Certification [**UpdatePersonCertification**](CertificationAPI.md#UpdatePersonCertification) | **Put** /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person @@ -539,7 +539,7 @@ import ( func main() { skip := int32(0) // int32 | (optional) (default to 0) limit := int32(20) // int32 | (optional) (default to 20) - term := "term_example" // string | Optionally search for Certifications via search term (optional) (default to "") + term := "term_example" // string | Optionally search via search term (optional) (default to "") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -566,7 +566,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **skip** | **int32** | | [default to 0] **limit** | **int32** | | [default to 20] - **term** | **string** | Optionally search for Certifications via search term | [default to ""] + **term** | **string** | Optionally search via search term | [default to ""] ### Return type @@ -660,7 +660,7 @@ Name | Type | Description | Notes ## MoveCertification -> CertificationDetails MoveCertification(ctx, organizationId, certificateId).Execute() +> CertificationDetails MoveCertification(ctx, certificationId, organizationId).Execute() Move a Certification to an Organization @@ -677,12 +677,12 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | - certificateId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CertificationAPI.MoveCertification(context.Background(), organizationId, certificateId).Execute() + resp, r, err := apiClient.CertificationAPI.MoveCertification(context.Background(), certificationId, organizationId).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.MoveCertification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -698,8 +698,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**certificationId** | **string** | | **organizationId** | **string** | | -**certificateId** | **string** | | ### Other Parameters diff --git a/docs/IndustryAPI.md b/docs/IndustryAPI.md index a0edf136..4cc82bbb 100644 --- a/docs/IndustryAPI.md +++ b/docs/IndustryAPI.md @@ -309,7 +309,7 @@ import ( func main() { skip := int32(0) // int32 | (optional) (default to 0) limit := int32(20) // int32 | (optional) (default to 20) - term := "term_example" // string | Optionally search Industries via a search term (optional) (default to "") + term := "term_example" // string | Optionally search via search term (optional) (default to "") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -336,7 +336,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **skip** | **int32** | | [default to 0] **limit** | **int32** | | [default to 20] - **term** | **string** | Optionally search Industries via a search term | [default to ""] + **term** | **string** | Optionally search via search term | [default to ""] ### Return type diff --git a/docs/LanguageAPI.md b/docs/LanguageAPI.md index 6ac93d5d..0973e817 100644 --- a/docs/LanguageAPI.md +++ b/docs/LanguageAPI.md @@ -12,7 +12,7 @@ Method | HTTP request | Description [**GetLanguages**](LanguageAPI.md#GetLanguages) | **Get** /languages | Get a list of Languages [**RemoveLanguageFromCountry**](LanguageAPI.md#RemoveLanguageFromCountry) | **Delete** /countries/{countryId}/languages/{languageId} | Assign a language to a country [**RemovePersonLanguage**](LanguageAPI.md#RemovePersonLanguage) | **Delete** /persons/{personId}/languages/{languageId} | Remove a language from a person -[**UupdatePersonLanguage**](LanguageAPI.md#UupdatePersonLanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person +[**UpdatePersonLanguage**](LanguageAPI.md#UpdatePersonLanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person @@ -568,9 +568,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UupdatePersonLanguage +## UpdatePersonLanguage -> PersonDetails UupdatePersonLanguage(ctx, personId, languageId).Level(level).Execute() +> PersonDetails UpdatePersonLanguage(ctx, personId, languageId).Level(level).Execute() Update a language of a person @@ -593,13 +593,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageAPI.UupdatePersonLanguage(context.Background(), personId, languageId).Level(level).Execute() + resp, r, err := apiClient.LanguageAPI.UpdatePersonLanguage(context.Background(), personId, languageId).Level(level).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageAPI.UupdatePersonLanguage``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageAPI.UpdatePersonLanguage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UupdatePersonLanguage`: PersonDetails - fmt.Fprintf(os.Stdout, "Response from `LanguageAPI.UupdatePersonLanguage`: %v\n", resp) + // response from `UpdatePersonLanguage`: PersonDetails + fmt.Fprintf(os.Stdout, "Response from `LanguageAPI.UpdatePersonLanguage`: %v\n", resp) } ``` @@ -614,7 +614,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUupdatePersonLanguageRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdatePersonLanguageRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/docs/OrganizationAPI.md b/docs/OrganizationAPI.md index e9d35646..10680b3b 100644 --- a/docs/OrganizationAPI.md +++ b/docs/OrganizationAPI.md @@ -19,7 +19,7 @@ Method | HTTP request | Description [**GetOrganization**](OrganizationAPI.md#GetOrganization) | **Get** /organizations/{organizationId} | Get details about an Organization [**GetOrganizationProjects**](OrganizationAPI.md#GetOrganizationProjects) | **Get** /organizations/{organizationId}/projects | Get a list of all Projects for an Organization [**GetOrganizations**](OrganizationAPI.md#GetOrganizations) | **Get** /organizations | Get a list of all Organizations -[**MoveCertification**](OrganizationAPI.md#MoveCertification) | **Put** /organizations/{organizationId}/certificates/{certificateId} | Move a Certification to an Organization +[**MoveCertification**](OrganizationAPI.md#MoveCertification) | **Put** /organizations/{organizationId}/certificates/{certificationId} | Move a Certification to an Organization [**RemoveExecutiveOrganizationFromProject**](OrganizationAPI.md#RemoveExecutiveOrganizationFromProject) | **Delete** /projects/{projectId}/executive-organizations/{organizationId} | Remove an Organization from a Project as executive organization [**RemoveOrganizationFromParentOrganization**](OrganizationAPI.md#RemoveOrganizationFromParentOrganization) | **Delete** /organizations/{organizationId}/parents/{parentOrganizationId} | Detaches an Organization from parent Organization, return the parent Organization [**UpdateOffice**](OrganizationAPI.md#UpdateOffice) | **Put** /organizations/{organizationId}/offices/{officeId} | Update an Office for an Organization @@ -464,7 +464,7 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | project := *openapiclient.NewProject(false, "Id_example", "Name_example") // Project | configuration := openapiclient.NewConfiguration() @@ -955,7 +955,7 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | skip := int32(0) // int32 | (optional) (default to 0) limit := int32(20) // int32 | (optional) (default to 20) @@ -1029,7 +1029,7 @@ import ( func main() { skip := int32(0) // int32 | (optional) (default to 0) limit := int32(20) // int32 | (optional) (default to 20) - term := "term_example" // string | Optionally filter organizations by search term (optional) (default to "") + term := "term_example" // string | Optionally search via search term (optional) (default to "") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1056,7 +1056,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **skip** | **int32** | | [default to 0] **limit** | **int32** | | [default to 20] - **term** | **string** | Optionally filter organizations by search term | [default to ""] + **term** | **string** | Optionally search via search term | [default to ""] ### Return type @@ -1078,7 +1078,7 @@ Name | Type | Description | Notes ## MoveCertification -> CertificationDetails MoveCertification(ctx, organizationId, certificateId).Execute() +> CertificationDetails MoveCertification(ctx, certificationId, organizationId).Execute() Move a Certification to an Organization @@ -1095,12 +1095,12 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | - certificateId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationAPI.MoveCertification(context.Background(), organizationId, certificateId).Execute() + resp, r, err := apiClient.OrganizationAPI.MoveCertification(context.Background(), certificationId, organizationId).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrganizationAPI.MoveCertification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1116,8 +1116,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**certificationId** | **string** | | **organizationId** | **string** | | -**certificateId** | **string** | | ### Other Parameters @@ -1451,8 +1451,8 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | - projectId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + projectId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/PersonAPI.md b/docs/PersonAPI.md index 0e169702..1e8330ee 100644 --- a/docs/PersonAPI.md +++ b/docs/PersonAPI.md @@ -29,7 +29,7 @@ Method | HTTP request | Description [**GetAvailabilities**](PersonAPI.md#GetAvailabilities) | **Get** /persons/{personId}/availabilities | Get a list of all activities for a person [**GetPerson**](PersonAPI.md#GetPerson) | **Get** /persons/{personId} | Get basic info about a person [**ReadPersonPicture**](PersonAPI.md#ReadPersonPicture) | **Get** /persons/{personId}/picture | Read person image -[**ReadPersonProjectParticipation**](PersonAPI.md#ReadPersonProjectParticipation) | **Get** /persons/{personId}/project-participation | Get a Project Partifipation of a Person +[**ReadPersonProjectParticipation**](PersonAPI.md#ReadPersonProjectParticipation) | **Get** /persons/{personId}/project-participation | Get a Project Participation of a Person [**ReadProjectParticipation**](PersonAPI.md#ReadProjectParticipation) | **Get** /project-participations/{projectParticipationId} | Get a project participation [**RemovePersonLanguage**](PersonAPI.md#RemovePersonLanguage) | **Delete** /persons/{personId}/languages/{languageId} | Remove a language from a person [**RemoveSkillConfirmation**](PersonAPI.md#RemoveSkillConfirmation) | **Delete** /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Remove a confirmation @@ -37,11 +37,11 @@ Method | HTTP request | Description [**UpdateAvailability**](PersonAPI.md#UpdateAvailability) | **Put** /persons/{personId}/availabilities/{availabilityId} | Update a person availability [**UpdatePerson**](PersonAPI.md#UpdatePerson) | **Put** /persons/{personId} | Update an existing Person [**UpdatePersonCertification**](PersonAPI.md#UpdatePersonCertification) | **Put** /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person +[**UpdatePersonLanguage**](PersonAPI.md#UpdatePersonLanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person [**UpdatePersonPicture**](PersonAPI.md#UpdatePersonPicture) | **Put** /persons/{personId}/picture | Update person image [**UpdatePersonSkillExperience**](PersonAPI.md#UpdatePersonSkillExperience) | **Put** /persons/{personId}/experiences/skills/{skillId} | Edit an Skill experience to a Person [**UpdatePersonSkillExperiences**](PersonAPI.md#UpdatePersonSkillExperiences) | **Put** /persons/{personId}/experiences | Edit an Skill experience to a Person [**UpdateProjectParticipation**](PersonAPI.md#UpdateProjectParticipation) | **Put** /project-participations/{projectParticipationId} | Update a Project of a Person -[**UupdatePersonLanguage**](PersonAPI.md#UupdatePersonLanguage) | **Put** /persons/{personId}/languages/{languageId} | Update a language of a person @@ -1550,7 +1550,7 @@ import ( func main() { skip := int32(0) // int32 | (optional) (default to 0) - limit := int32(56) // int32 | (optional) (default to 20) + limit := int32(20) // int32 | (optional) (default to 20) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1804,7 +1804,7 @@ Name | Type | Description | Notes > []PersonProjectParticipationDetails ReadPersonProjectParticipation(ctx, personId).ProjectIds(projectIds).Execute() -Get a Project Partifipation of a Person +Get a Project Participation of a Person ### Example @@ -1820,7 +1820,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - projectIds := []string{"Inner_example"} // []string | (optional) + projectIds := []string{"Inner_example"} // []string | Filter by project ids, if not set, all projects are returned (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1850,7 +1850,7 @@ Other parameters are passed through a pointer to a apiReadPersonProjectParticipa Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **projectIds** | **[]string** | | + **projectIds** | **[]string** | Filter by project ids, if not set, all projects are returned | ### Return type @@ -2104,7 +2104,7 @@ import ( func main() { personSearch := *openapiclient.NewPersonSearch() // PersonSearch | skip := int32(0) // int32 | (optional) (default to 0) - limit := int32(56) // int32 | (optional) (default to 20) + limit := int32(20) // int32 | (optional) (default to 20) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2368,11 +2368,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdatePersonPicture +## UpdatePersonLanguage -> Status UpdatePersonPicture(ctx, personId).Body(body).Execute() +> PersonDetails UpdatePersonLanguage(ctx, personId, languageId).Level(level).Execute() -Update person image +Update a language of a person ### Example @@ -2388,17 +2388,18 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - body := os.NewFile(1234, "some_file") // *os.File | + languageId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + level := *openapiclient.NewLevel() // Level | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PersonAPI.UpdatePersonPicture(context.Background(), personId).Body(body).Execute() + resp, r, err := apiClient.PersonAPI.UpdatePersonLanguage(context.Background(), personId, languageId).Level(level).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonPicture``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonLanguage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdatePersonPicture`: Status - fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonPicture`: %v\n", resp) + // response from `UpdatePersonLanguage`: PersonDetails + fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonLanguage`: %v\n", resp) } ``` @@ -2409,20 +2410,22 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **personId** | **string** | | +**languageId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiUpdatePersonPictureRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdatePersonLanguageRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | ***os.File** | | + + **level** | [**Level**](Level.md) | | ### Return type -[**Status**](Status.md) +[**PersonDetails**](PersonDetails.md) ### Authorization @@ -2430,7 +2433,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/octet-stream +- **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -2438,11 +2441,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdatePersonSkillExperience +## UpdatePersonPicture -> PersonDetails UpdatePersonSkillExperience(ctx, personId, skillId).Level(level).Execute() +> Status UpdatePersonPicture(ctx, personId).Body(body).Execute() -Edit an Skill experience to a Person +Update person image ### Example @@ -2458,18 +2461,17 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - level := *openapiclient.NewLevel() // Level | + body := os.NewFile(1234, "some_file") // *os.File | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute() + resp, r, err := apiClient.PersonAPI.UpdatePersonPicture(context.Background(), personId).Body(body).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperience``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonPicture``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdatePersonSkillExperience`: PersonDetails - fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperience`: %v\n", resp) + // response from `UpdatePersonPicture`: Status + fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonPicture`: %v\n", resp) } ``` @@ -2480,22 +2482,20 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **personId** | **string** | | -**skillId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiUpdatePersonSkillExperienceRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdatePersonPictureRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - **level** | [**Level**](Level.md) | | + **body** | ***os.File** | | ### Return type -[**PersonDetails**](PersonDetails.md) +[**Status**](Status.md) ### Authorization @@ -2503,7 +2503,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json +- **Content-Type**: application/octet-stream - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -2511,9 +2511,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdatePersonSkillExperiences +## UpdatePersonSkillExperience -> PersonDetails UpdatePersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute() +> PersonDetails UpdatePersonSkillExperience(ctx, personId, skillId).Level(level).Execute() Edit an Skill experience to a Person @@ -2531,17 +2531,18 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate | + skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + level := *openapiclient.NewLevel() // Level | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute() + resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperiences``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperience``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdatePersonSkillExperiences`: PersonDetails - fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperiences`: %v\n", resp) + // response from `UpdatePersonSkillExperience`: PersonDetails + fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperience`: %v\n", resp) } ``` @@ -2552,16 +2553,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **personId** | **string** | | +**skillId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiUpdatePersonSkillExperiencesRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdatePersonSkillExperienceRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **skillLevelUpdate** | [**[]SkillLevelUpdate**](SkillLevelUpdate.md) | | + + **level** | [**Level**](Level.md) | | ### Return type @@ -2581,11 +2584,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdateProjectParticipation +## UpdatePersonSkillExperiences -> ProjectParticipationDetails UpdateProjectParticipation(ctx, projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute() +> PersonDetails UpdatePersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute() -Update a Project of a Person +Edit an Skill experience to a Person ### Example @@ -2600,18 +2603,18 @@ import ( ) func main() { - projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - projectParticipationUpdate := *openapiclient.NewProjectParticipationUpdate() // ProjectParticipationUpdate | A time frame and a list of Skills + personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PersonAPI.UpdateProjectParticipation(context.Background(), projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute() + resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdateProjectParticipation``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperiences``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateProjectParticipation`: ProjectParticipationDetails - fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdateProjectParticipation`: %v\n", resp) + // response from `UpdatePersonSkillExperiences`: PersonDetails + fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperiences`: %v\n", resp) } ``` @@ -2621,21 +2624,21 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**projectParticipationId** | **string** | | +**personId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateProjectParticipationRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdatePersonSkillExperiencesRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **projectParticipationUpdate** | [**ProjectParticipationUpdate**](ProjectParticipationUpdate.md) | A time frame and a list of Skills | + **skillLevelUpdate** | [**[]SkillLevelUpdate**](SkillLevelUpdate.md) | | ### Return type -[**ProjectParticipationDetails**](ProjectParticipationDetails.md) +[**PersonDetails**](PersonDetails.md) ### Authorization @@ -2651,11 +2654,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UupdatePersonLanguage +## UpdateProjectParticipation -> PersonDetails UupdatePersonLanguage(ctx, personId, languageId).Level(level).Execute() +> ProjectParticipationDetails UpdateProjectParticipation(ctx, projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute() -Update a language of a person +Update a Project of a Person ### Example @@ -2670,19 +2673,18 @@ import ( ) func main() { - personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - languageId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - level := *openapiclient.NewLevel() // Level | + projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + projectParticipationUpdate := *openapiclient.NewProjectParticipationUpdate() // ProjectParticipationUpdate | A time frame and a list of Skills configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PersonAPI.UupdatePersonLanguage(context.Background(), personId, languageId).Level(level).Execute() + resp, r, err := apiClient.PersonAPI.UpdateProjectParticipation(context.Background(), projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UupdatePersonLanguage``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdateProjectParticipation``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UupdatePersonLanguage`: PersonDetails - fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UupdatePersonLanguage`: %v\n", resp) + // response from `UpdateProjectParticipation`: ProjectParticipationDetails + fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdateProjectParticipation`: %v\n", resp) } ``` @@ -2692,23 +2694,21 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**personId** | **string** | | -**languageId** | **string** | | +**projectParticipationId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiUupdatePersonLanguageRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateProjectParticipationRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - **level** | [**Level**](Level.md) | | + **projectParticipationUpdate** | [**ProjectParticipationUpdate**](ProjectParticipationUpdate.md) | A time frame and a list of Skills | ### Return type -[**PersonDetails**](PersonDetails.md) +[**ProjectParticipationDetails**](ProjectParticipationDetails.md) ### Authorization diff --git a/docs/ProjectAPI.md b/docs/ProjectAPI.md index 25059e96..c11fab8c 100644 --- a/docs/ProjectAPI.md +++ b/docs/ProjectAPI.md @@ -251,7 +251,7 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | project := *openapiclient.NewProject(false, "Id_example", "Name_example") // Project | configuration := openapiclient.NewConfiguration() @@ -457,7 +457,7 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | skip := int32(0) // int32 | (optional) (default to 0) limit := int32(20) // int32 | (optional) (default to 20) @@ -1016,8 +1016,8 @@ import ( ) func main() { - organizationId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | - projectId := "70ee6f30-d7c1-4f91-a653-9819ecbfa667" // string | + organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + projectId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/ProjectParticipationAPI.md b/docs/ProjectParticipationAPI.md index 29ec8891..add57477 100644 --- a/docs/ProjectParticipationAPI.md +++ b/docs/ProjectParticipationAPI.md @@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:8080/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ReadPersonProjectParticipation**](ProjectParticipationAPI.md#ReadPersonProjectParticipation) | **Get** /persons/{personId}/project-participation | Get a Project Partifipation of a Person +[**ReadPersonProjectParticipation**](ProjectParticipationAPI.md#ReadPersonProjectParticipation) | **Get** /persons/{personId}/project-participation | Get a Project Participation of a Person @@ -12,7 +12,7 @@ Method | HTTP request | Description > []PersonProjectParticipationDetails ReadPersonProjectParticipation(ctx, personId).ProjectIds(projectIds).Execute() -Get a Project Partifipation of a Person +Get a Project Participation of a Person ### Example @@ -28,7 +28,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - projectIds := []string{"Inner_example"} // []string | (optional) + projectIds := []string{"Inner_example"} // []string | Filter by project ids, if not set, all projects are returned (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -58,7 +58,7 @@ Other parameters are passed through a pointer to a apiReadPersonProjectParticipa Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **projectIds** | **[]string** | | + **projectIds** | **[]string** | Filter by project ids, if not set, all projects are returned | ### Return type diff --git a/docs/SkillAPI.md b/docs/SkillAPI.md index 3a8cfd64..e2455016 100644 --- a/docs/SkillAPI.md +++ b/docs/SkillAPI.md @@ -1022,7 +1022,7 @@ Name | Type | Description | Notes ## GetSkills -> PagedSkills GetSkills(ctx).Types(types).Suggestions(suggestions).Linkable(linkable).Skip(skip).Limit(limit).Term(term).Execute() +> PagedSkills GetSkills(ctx).Skip(skip).Limit(limit).Term(term).Types(types).Suggestions(suggestions).Linkable(linkable).Execute() Get a list of all skills, optionally only root @@ -1039,16 +1039,16 @@ import ( ) func main() { + skip := int32(0) // int32 | (optional) (default to 0) + limit := int32(20) // int32 | (optional) (default to 20) + term := "term_example" // string | Optionally search via search term (optional) (default to "") types := "all" // string | Gives you either all skills, only the root kills (optional) (default to "all") suggestions := "all" // string | Optionally filter skills based on suggestion (optional) (default to "all") linkable := true // bool | Optionally filter skills based on linkable (optional) - skip := int32(0) // int32 | (optional) (default to 0) - limit := int32(20) // int32 | (optional) (default to 20) - term := "term_example" // string | Optionally filter skills based on a search term (optional) (default to "") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SkillAPI.GetSkills(context.Background()).Types(types).Suggestions(suggestions).Linkable(linkable).Skip(skip).Limit(limit).Term(term).Execute() + resp, r, err := apiClient.SkillAPI.GetSkills(context.Background()).Skip(skip).Limit(limit).Term(term).Types(types).Suggestions(suggestions).Linkable(linkable).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.GetSkills``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1069,12 +1069,12 @@ Other parameters are passed through a pointer to a apiGetSkillsRequest struct vi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **skip** | **int32** | | [default to 0] + **limit** | **int32** | | [default to 20] + **term** | **string** | Optionally search via search term | [default to ""] **types** | **string** | Gives you either all skills, only the root kills | [default to "all"] **suggestions** | **string** | Optionally filter skills based on suggestion | [default to "all"] **linkable** | **bool** | Optionally filter skills based on linkable | - **skip** | **int32** | | [default to 0] - **limit** | **int32** | | [default to 20] - **term** | **string** | Optionally filter skills based on a search term | [default to ""] ### Return type diff --git a/model_abstract_entity_filter.go b/model_abstract_entity_filter.go index c50f94db..5fd02af9 100644 --- a/model_abstract_entity_filter.go +++ b/model_abstract_entity_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability.go b/model_availability.go index aa0b4a31..12637c24 100644 --- a/model_availability.go +++ b/model_availability.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_detail.go b/model_availability_detail.go index 04baa83e..315eb535 100644 --- a/model_availability_detail.go +++ b/model_availability_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_filter.go b/model_availability_filter.go index 8e01d4f5..2ce58de6 100644 --- a/model_availability_filter.go +++ b/model_availability_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_basic_domain_model.go b/model_basic_domain_model.go index 436ad71b..e8f98982 100644 --- a/model_basic_domain_model.go +++ b/model_basic_domain_model.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification.go b/model_certification.go index 467fb384..13578718 100644 --- a/model_certification.go +++ b/model_certification.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification_details.go b/model_certification_details.go index b5fabfc5..d836a134 100644 --- a/model_certification_details.go +++ b/model_certification_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification_search.go b/model_certification_search.go index cfdffa1c..ba4f141f 100644 --- a/model_certification_search.go +++ b/model_certification_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_confidentiality.go b/model_confidentiality.go index 2e84be0b..c5cdc6b9 100644 --- a/model_confidentiality.go +++ b/model_confidentiality.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country.go b/model_country.go index ad0ee691..4372391d 100644 --- a/model_country.go +++ b/model_country.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country_details.go b/model_country_details.go index aa2d26ea..03152ae6 100644 --- a/model_country_details.go +++ b/model_country_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_descriptable.go b/model_descriptable.go index 5300a037..ed8a3a87 100644 --- a/model_descriptable.go +++ b/model_descriptable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_entity_filter.go b/model_entity_filter.go index 51888c7d..f6ef1325 100644 --- a/model_entity_filter.go +++ b/model_entity_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_error.go b/model_error.go index 8516f6ba..ddb45900 100644 --- a/model_error.go +++ b/model_error.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience.go b/model_experience.go index 67d1a2e0..21bb9548 100644 --- a/model_experience.go +++ b/model_experience.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience_skill.go b/model_experience_skill.go index df67d889..d0f063bd 100644 --- a/model_experience_skill.go +++ b/model_experience_skill.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience_skill_group.go b/model_experience_skill_group.go index 58aad559..4fb68716 100644 --- a/model_experience_skill_group.go +++ b/model_experience_skill_group.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_geolocation.go b/model_geolocation.go index 06ad8489..e998ef8d 100644 --- a/model_geolocation.go +++ b/model_geolocation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry.go b/model_industry.go index 82e5eddb..e676303b 100644 --- a/model_industry.go +++ b/model_industry.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry_details.go b/model_industry_details.go index 44bbfde5..413f4e14 100644 --- a/model_industry_details.go +++ b/model_industry_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language.go b/model_language.go index cbdab587..9987a2d4 100644 --- a/model_language.go +++ b/model_language.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language_details.go b/model_language_details.go index 498a2899..8bea2e6f 100644 --- a/model_language_details.go +++ b/model_language_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language_level.go b/model_language_level.go index 6219b02d..3a73b3de 100644 --- a/model_language_level.go +++ b/model_language_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_level.go b/model_level.go index f4f8c934..358c85af 100644 --- a/model_level.go +++ b/model_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_linkable.go b/model_linkable.go index e9b99fa1..844bb580 100644 --- a/model_linkable.go +++ b/model_linkable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_locateable.go b/model_locateable.go index d0f44c1d..4ff6e775 100644 --- a/model_locateable.go +++ b/model_locateable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_min_max.go b/model_min_max.go index 241b8e86..174deb9f 100644 --- a/model_min_max.go +++ b/model_min_max.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_min_max_percent.go b/model_min_max_percent.go index efd56f58..de83067d 100644 --- a/model_min_max_percent.go +++ b/model_min_max_percent.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nameable.go b/model_nameable.go index 65aa3daf..7bac7da5 100644 --- a/model_nameable.go +++ b/model_nameable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_named_domain_model.go b/model_named_domain_model.go index 5b64520a..3287aa75 100644 --- a/model_named_domain_model.go +++ b/model_named_domain_model.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_office.go b/model_office.go index 37a56b9e..fe93b8e5 100644 --- a/model_office.go +++ b/model_office.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization.go b/model_organization.go index 400a8deb..110f3da3 100644 --- a/model_organization.go +++ b/model_organization.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization_details.go b/model_organization_details.go index 556a44fd..1f16422a 100644 --- a/model_organization_details.go +++ b/model_organization_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_page.go b/model_page.go index 94483383..0777af22 100644 --- a/model_page.go +++ b/model_page.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_availabilities.go b/model_paged_availabilities.go index 84cc77c6..88cdca83 100644 --- a/model_paged_availabilities.go +++ b/model_paged_availabilities.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_certifications.go b/model_paged_certifications.go index ac1c5550..ecb02102 100644 --- a/model_paged_certifications.go +++ b/model_paged_certifications.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_countries.go b/model_paged_countries.go index 0d5ea485..fe3ba8d9 100644 --- a/model_paged_countries.go +++ b/model_paged_countries.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_industries.go b/model_paged_industries.go index 365a97d0..ef424c2f 100644 --- a/model_paged_industries.go +++ b/model_paged_industries.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_languages.go b/model_paged_languages.go index 2bd34677..bd386cde 100644 --- a/model_paged_languages.go +++ b/model_paged_languages.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_offices.go b/model_paged_offices.go index 752c1615..f335957f 100644 --- a/model_paged_offices.go +++ b/model_paged_offices.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_organizations.go b/model_paged_organizations.go index 0d9f1588..12388731 100644 --- a/model_paged_organizations.go +++ b/model_paged_organizations.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_persons.go b/model_paged_persons.go index 2041b5cb..d5fcba6c 100644 --- a/model_paged_persons.go +++ b/model_paged_persons.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_profiles.go b/model_paged_profiles.go index c3a2ac13..9bdf6dd0 100644 --- a/model_paged_profiles.go +++ b/model_paged_profiles.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_project_participation.go b/model_paged_project_participation.go index 940beae6..d4dea82f 100644 --- a/model_paged_project_participation.go +++ b/model_paged_project_participation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_projects.go b/model_paged_projects.go index 06222920..0bcc3cbe 100644 --- a/model_paged_projects.go +++ b/model_paged_projects.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_skills.go b/model_paged_skills.go index f3006eb7..ed253baa 100644 --- a/model_paged_skills.go +++ b/model_paged_skills.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person.go b/model_person.go index feba432b..d088dbc5 100644 --- a/model_person.go +++ b/model_person.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_certification_filter.go b/model_person_certification_filter.go index 201b2bdf..ce2fa230 100644 --- a/model_person_certification_filter.go +++ b/model_person_certification_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_details.go b/model_person_details.go index f8ca8f14..62f1e7f1 100644 --- a/model_person_details.go +++ b/model_person_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_industry_filter.go b/model_person_industry_filter.go index 268d51c3..015618fb 100644 --- a/model_person_industry_filter.go +++ b/model_person_industry_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_organization_filter.go b/model_person_organization_filter.go index f202906a..ed60f979 100644 --- a/model_person_organization_filter.go +++ b/model_person_organization_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_project_filter.go b/model_person_project_filter.go index c1ddc746..d7d474e5 100644 --- a/model_person_project_filter.go +++ b/model_person_project_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_project_participation_details.go b/model_person_project_participation_details.go index 785e4220..7819bf00 100644 --- a/model_person_project_participation_details.go +++ b/model_person_project_participation_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_project_participation_item.go b/model_person_project_participation_item.go index f5e15a5b..ed9d8edf 100644 --- a/model_person_project_participation_item.go +++ b/model_person_project_participation_item.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_score_detail.go b/model_person_score_detail.go index 7365a889..cc8d1044 100644 --- a/model_person_score_detail.go +++ b/model_person_score_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_search.go b/model_person_search.go index 47283433..1f99d2e9 100644 --- a/model_person_search.go +++ b/model_person_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_skill_filter.go b/model_person_skill_filter.go index 91fd2492..1f2c1ae5 100644 --- a/model_person_skill_filter.go +++ b/model_person_skill_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_profile.go b/model_profile.go index 7e66d792..c8db5ff4 100644 --- a/model_profile.go +++ b/model_profile.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_profile_details.go b/model_profile_details.go index be8a2bfb..619958db 100644 --- a/model_profile_details.go +++ b/model_profile_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project.go b/model_project.go index 9201c096..8aa4beb0 100644 --- a/model_project.go +++ b/model_project.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_details.go b/model_project_details.go index 8e4a637a..870cd0ca 100644 --- a/model_project_details.go +++ b/model_project_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation.go b/model_project_participation.go index b255dbf0..ad0c2a14 100644 --- a/model_project_participation.go +++ b/model_project_participation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_create.go b/model_project_participation_create.go index 38d4df25..67875961 100644 --- a/model_project_participation_create.go +++ b/model_project_participation_create.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_details.go b/model_project_participation_details.go index 935cba2b..03b64abd 100644 --- a/model_project_participation_details.go +++ b/model_project_participation_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_search.go b/model_project_participation_search.go index 8db4ab07..924be0bd 100644 --- a/model_project_participation_search.go +++ b/model_project_participation_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_update.go b/model_project_participation_update.go index b9db4bf0..ae3f605c 100644 --- a/model_project_participation_update.go +++ b/model_project_participation_update.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_score_detail.go b/model_project_score_detail.go index 78386def..be9edacb 100644 --- a/model_project_score_detail.go +++ b/model_project_score_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_search.go b/model_project_search.go index bf35d4e0..dcc7caf8 100644 --- a/model_project_search.go +++ b/model_project_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_status.go b/model_project_status.go index 8d75db20..bff9a25c 100644 --- a/model_project_status.go +++ b/model_project_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_type.go b/model_project_type.go index eb20bc66..555f4fd1 100644 --- a/model_project_type.go +++ b/model_project_type.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_score_result.go b/model_score_result.go index fa779841..f9690a1b 100644 --- a/model_score_result.go +++ b/model_score_result.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result.go b/model_search_result.go index b8d9bce2..10be23a0 100644 --- a/model_search_result.go +++ b/model_search_result.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result_item.go b/model_search_result_item.go index 4f1ae8ba..0aa3ddf8 100644 --- a/model_search_result_item.go +++ b/model_search_result_item.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_seniority.go b/model_seniority.go index b456e236..301fd84f 100644 --- a/model_seniority.go +++ b/model_seniority.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill.go b/model_skill.go index 3d4ea3c1..be109111 100644 --- a/model_skill.go +++ b/model_skill.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_details.go b/model_skill_details.go index 03a36366..492b52e7 100644 --- a/model_skill_details.go +++ b/model_skill_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_group.go b/model_skill_group.go index c240a4dc..5cfb3786 100644 --- a/model_skill_group.go +++ b/model_skill_group.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level.go b/model_skill_level.go index af555000..08d10a23 100644 --- a/model_skill_level.go +++ b/model_skill_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level_update.go b/model_skill_level_update.go index b5f8e030..117c01a1 100644 --- a/model_skill_level_update.go +++ b/model_skill_level_update.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_link.go b/model_skill_link.go index 5b0ed55b..24c08341 100644 --- a/model_skill_link.go +++ b/model_skill_link.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_link_update.go b/model_skill_link_update.go index 9bbc220b..902bf91f 100644 --- a/model_skill_link_update.go +++ b/model_skill_link_update.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_status.go b/model_status.go index 78ca51d1..108cf1e4 100644 --- a/model_status.go +++ b/model_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_suggestable.go b/model_suggestable.go index 8d712bd0..8618d9b5 100644 --- a/model_suggestable.go +++ b/model_suggestable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_synonymable.go b/model_synonymable.go index 49441d8b..dd949015 100644 --- a/model_synonymable.go +++ b/model_synonymable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_timeframed.go b/model_timeframed.go index 93a63a7f..ca3be6e5 100644 --- a/model_timeframed.go +++ b/model_timeframed.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_version.go b/model_version.go index 5a7f2d1f..760e78b8 100644 --- a/model_version.go +++ b/model_version.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index e9835140..ff5be8c3 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/test/api_certification_test.go b/test/api_certification_test.go index 7aac9ea9..80b19aca 100644 --- a/test/api_certification_test.go +++ b/test/api_certification_test.go @@ -154,10 +154,10 @@ func Test_client_CertificationAPIService(t *testing.T) { t.Skip("skip test") // remove to run test + var certificationId string var organizationId string - var certificateId string - resp, httpRes, err := apiClient.CertificationAPI.MoveCertification(context.Background(), organizationId, certificateId).Execute() + resp, httpRes, err := apiClient.CertificationAPI.MoveCertification(context.Background(), certificationId, organizationId).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/test/api_language_test.go b/test/api_language_test.go index a2162ebd..375a8afd 100644 --- a/test/api_language_test.go +++ b/test/api_language_test.go @@ -134,14 +134,14 @@ func Test_client_LanguageAPIService(t *testing.T) { }) - t.Run("Test LanguageAPIService UupdatePersonLanguage", func(t *testing.T) { + t.Run("Test LanguageAPIService UpdatePersonLanguage", func(t *testing.T) { t.Skip("skip test") // remove to run test var personId string var languageId string - resp, httpRes, err := apiClient.LanguageAPI.UupdatePersonLanguage(context.Background(), personId, languageId).Execute() + resp, httpRes, err := apiClient.LanguageAPI.UpdatePersonLanguage(context.Background(), personId, languageId).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/test/api_organization_test.go b/test/api_organization_test.go index 3e14003b..c6cfb439 100644 --- a/test/api_organization_test.go +++ b/test/api_organization_test.go @@ -238,10 +238,10 @@ func Test_client_OrganizationAPIService(t *testing.T) { t.Skip("skip test") // remove to run test + var certificationId string var organizationId string - var certificateId string - resp, httpRes, err := apiClient.OrganizationAPI.MoveCertification(context.Background(), organizationId, certificateId).Execute() + resp, httpRes, err := apiClient.OrganizationAPI.MoveCertification(context.Background(), certificationId, organizationId).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/test/api_person_test.go b/test/api_person_test.go index 3dc7ed89..da71c7b0 100644 --- a/test/api_person_test.go +++ b/test/api_person_test.go @@ -495,13 +495,14 @@ func Test_client_PersonAPIService(t *testing.T) { }) - t.Run("Test PersonAPIService UpdatePersonPicture", func(t *testing.T) { + t.Run("Test PersonAPIService UpdatePersonLanguage", func(t *testing.T) { t.Skip("skip test") // remove to run test var personId string + var languageId string - resp, httpRes, err := apiClient.PersonAPI.UpdatePersonPicture(context.Background(), personId).Execute() + resp, httpRes, err := apiClient.PersonAPI.UpdatePersonLanguage(context.Background(), personId, languageId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -509,14 +510,13 @@ func Test_client_PersonAPIService(t *testing.T) { }) - t.Run("Test PersonAPIService UpdatePersonSkillExperience", func(t *testing.T) { + t.Run("Test PersonAPIService UpdatePersonPicture", func(t *testing.T) { t.Skip("skip test") // remove to run test var personId string - var skillId string - resp, httpRes, err := apiClient.PersonAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Execute() + resp, httpRes, err := apiClient.PersonAPI.UpdatePersonPicture(context.Background(), personId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -524,13 +524,14 @@ func Test_client_PersonAPIService(t *testing.T) { }) - t.Run("Test PersonAPIService UpdatePersonSkillExperiences", func(t *testing.T) { + t.Run("Test PersonAPIService UpdatePersonSkillExperience", func(t *testing.T) { t.Skip("skip test") // remove to run test var personId string + var skillId string - resp, httpRes, err := apiClient.PersonAPI.UpdatePersonSkillExperiences(context.Background(), personId).Execute() + resp, httpRes, err := apiClient.PersonAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -538,13 +539,13 @@ func Test_client_PersonAPIService(t *testing.T) { }) - t.Run("Test PersonAPIService UpdateProjectParticipation", func(t *testing.T) { + t.Run("Test PersonAPIService UpdatePersonSkillExperiences", func(t *testing.T) { t.Skip("skip test") // remove to run test - var projectParticipationId string + var personId string - resp, httpRes, err := apiClient.PersonAPI.UpdateProjectParticipation(context.Background(), projectParticipationId).Execute() + resp, httpRes, err := apiClient.PersonAPI.UpdatePersonSkillExperiences(context.Background(), personId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -552,14 +553,13 @@ func Test_client_PersonAPIService(t *testing.T) { }) - t.Run("Test PersonAPIService UupdatePersonLanguage", func(t *testing.T) { + t.Run("Test PersonAPIService UpdateProjectParticipation", func(t *testing.T) { t.Skip("skip test") // remove to run test - var personId string - var languageId string + var projectParticipationId string - resp, httpRes, err := apiClient.PersonAPI.UupdatePersonLanguage(context.Background(), personId, languageId).Execute() + resp, httpRes, err := apiClient.PersonAPI.UpdateProjectParticipation(context.Background(), projectParticipationId).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/utils.go b/utils.go index 9dd9df8f..4657ca8d 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.9.0 +API version: 1.10.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.