From 6a5d2e24e84638bead87d4c254e56d4d772a4ddb Mon Sep 17 00:00:00 2001 From: prodyna Date: Thu, 25 Nov 2021 18:46:58 +0000 Subject: [PATCH] Update from https://github.com/PRODYNA/yasm-api/commit/f433eff6d4c2e7cdad6361ae3a5550cdea3c5070 --- README.md | 2 +- api/openapi.yaml | 343 +++++++++++++------------- api_availability.go | 42 +--- api_certification.go | 98 ++------ api_country.go | 56 ++--- api_industry.go | 58 ++--- api_language.go | 48 +--- api_office.go | 50 +--- api_organization.go | 130 +++------- api_person.go | 258 +++++-------------- api_project.go | 122 +++------ api_search.go | 10 +- api_skill.go | 194 ++++----------- api_status.go | 18 +- client.go | 39 +-- configuration.go | 2 +- docs/OrganizationApi.md | 6 +- docs/ProjectApi.md | 6 +- model_availability.go | 2 +- model_availability_all_of.go | 2 +- model_availability_detail.go | 2 +- model_basic_domain_model.go | 2 +- model_certification.go | 2 +- model_certification_all_of.go | 2 +- model_certification_details.go | 2 +- model_country.go | 2 +- model_country_details.go | 2 +- model_error.go | 2 +- model_experience.go | 2 +- model_experience_all_of.go | 2 +- model_geolocation.go | 2 +- model_industry.go | 2 +- model_language.go | 2 +- model_language_details.go | 2 +- model_language_level.go | 2 +- model_level.go | 2 +- model_locateable.go | 2 +- model_named_domain_model.go | 2 +- model_named_domain_model_all_of.go | 2 +- model_office.go | 2 +- model_organization.go | 2 +- model_organization_all_of.go | 2 +- model_organization_details.go | 2 +- model_page.go | 2 +- model_paged_availabilities.go | 2 +- model_paged_availabilities_all_of.go | 2 +- model_paged_certifications.go | 2 +- model_paged_certifications_all_of.go | 2 +- model_paged_countries.go | 2 +- model_paged_countries_all_of.go | 2 +- model_paged_industries.go | 2 +- model_paged_industries_all_of.go | 2 +- model_paged_languages.go | 2 +- model_paged_languages_all_of.go | 2 +- model_paged_organizations.go | 2 +- model_paged_organizations_all_of.go | 2 +- model_paged_persons.go | 2 +- model_paged_persons_all_of.go | 2 +- model_paged_projects.go | 2 +- model_paged_projects_all_of.go | 2 +- model_paged_skills.go | 2 +- model_paged_skills_all_of.go | 2 +- model_person.go | 2 +- model_person_all_of.go | 2 +- model_person_details.go | 2 +- model_person_score_detail.go | 2 +- model_project.go | 2 +- model_project_all_of.go | 2 +- model_project_details.go | 2 +- model_project_participation.go | 2 +- model_project_participation_all_of.go | 2 +- model_project_participation_update.go | 2 +- model_project_score_detail.go | 2 +- model_project_score_detail_all_of.go | 2 +- model_search_result.go | 2 +- model_search_result_all_of.go | 2 +- model_search_result_item.go | 2 +- model_skill.go | 2 +- model_skill_all_of.go | 2 +- model_skill_details.go | 2 +- model_skill_level.go | 2 +- model_skill_level_update.go | 2 +- model_skill_level_update_all_of.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 +- utils.go | 2 +- 90 files changed, 559 insertions(+), 1067 deletions(-) diff --git a/README.md b/README.md index a59783a2..37608e26 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: 0.9.2 +- API version: 0.9.3 - Package version: 0.0.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen diff --git a/api/openapi.yaml b/api/openapi.yaml index e495459d..08852c4e 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: 0.9.2 + version: 0.9.3 servers: - url: /api/v1 security: @@ -23,12 +23,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found security: [] summary: Server heartbeat operation tags: @@ -45,12 +45,12 @@ paths: schema: $ref: '#/components/schemas/Version' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found security: [] summary: Information about the server tags: @@ -82,12 +82,12 @@ paths: schema: $ref: '#/components/schemas/PagedOrganizations' description: A paged array of Organizations - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all Organizations tags: - Organization @@ -107,12 +107,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found security: - implicit: [] summary: Create an Organization @@ -137,12 +137,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found security: - implicit: [] summary: Delete an organization @@ -166,12 +166,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about an Organization tags: - Organization @@ -200,12 +200,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found security: - implicit: [] summary: Update an Organization @@ -238,12 +238,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Organization to an Industry tags: - Organization @@ -274,12 +274,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add an Organization to an Industry tags: - Organization @@ -309,12 +309,12 @@ paths: schema: $ref: '#/components/schemas/OrganizationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create an Office in an Organization tags: - Organization @@ -346,12 +346,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delte an Office from an Organization tags: - Organization @@ -382,12 +382,12 @@ paths: schema: $ref: '#/components/schemas/Office' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get an Office for an Organiaztion tags: - Organization @@ -424,12 +424,12 @@ paths: schema: $ref: '#/components/schemas/Office' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update an Office for an Organization tags: - Organization @@ -461,12 +461,12 @@ paths: schema: $ref: '#/components/schemas/PagedIndustries' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get all Industries tags: - Industry @@ -485,12 +485,12 @@ paths: schema: $ref: '#/components/schemas/Industry' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create an Industry tags: - Industry @@ -513,12 +513,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete an Industry tags: - Industry @@ -540,12 +540,12 @@ paths: schema: $ref: '#/components/schemas/Industry' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about an Industry tags: - Industry @@ -573,12 +573,12 @@ paths: schema: $ref: '#/components/schemas/Industry' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update an Industry tags: - Industry @@ -617,12 +617,12 @@ paths: schema: $ref: '#/components/schemas/PagedCertifications' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all certifications for a organization tags: - Organization @@ -651,12 +651,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a Certification in an Organization tags: - Organization @@ -696,12 +696,12 @@ paths: schema: $ref: '#/components/schemas/PagedProjects' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all Projects for an Organization tags: - Organization @@ -728,14 +728,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OrganizationDetails' + $ref: '#/components/schemas/ProjectDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a Project in an Organization tags: - Organization @@ -767,12 +767,12 @@ paths: schema: $ref: '#/components/schemas/PagedCertifications' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all Certifations indepdenant of the Organization tags: - Certification @@ -795,12 +795,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete a Certification tags: - Certification @@ -822,12 +822,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about a Certification tags: - Certification @@ -855,12 +855,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Certification tags: - Certification @@ -891,12 +891,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found tags: - Certification - Skill @@ -933,12 +933,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found tags: - Certification - Skill @@ -975,12 +975,12 @@ paths: schema: $ref: '#/components/schemas/CertificationDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found tags: - Certification - Skill @@ -1051,12 +1051,12 @@ paths: schema: $ref: '#/components/schemas/PagedProjects' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all Projects in all Organizations tags: - Project @@ -1079,12 +1079,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete a project tags: - Project @@ -1106,12 +1106,12 @@ paths: schema: $ref: '#/components/schemas/ProjectDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about a Project tags: - Project @@ -1139,12 +1139,12 @@ paths: schema: $ref: '#/components/schemas/ProjectDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Project tags: - Project @@ -1202,12 +1202,12 @@ paths: schema: $ref: '#/components/schemas/PagedSkills' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all skills, optionally only root, optionally only kinds tags: - Skill @@ -1226,12 +1226,12 @@ paths: schema: $ref: '#/components/schemas/SkillDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a Skill tags: - Skill @@ -1254,12 +1254,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete a Skill tags: - Skill @@ -1281,12 +1281,12 @@ paths: schema: $ref: '#/components/schemas/SkillDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details for a single skill tags: - Skill @@ -1314,12 +1314,12 @@ paths: schema: $ref: '#/components/schemas/SkillDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Skill tags: - Skill @@ -1358,12 +1358,12 @@ paths: schema: $ref: '#/components/schemas/PagedSkills' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get ghe list of parents for a skill tags: - Skill @@ -1394,12 +1394,12 @@ paths: schema: $ref: '#/components/schemas/SkillDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Detaches a Skill from parent Skill, return the parent Skill tags: - Skill @@ -1429,12 +1429,12 @@ paths: schema: $ref: '#/components/schemas/SkillDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Attach a Skill to a parent Skill, returns the parent Skill tags: - Skill @@ -1525,12 +1525,12 @@ paths: schema: $ref: '#/components/schemas/PagedPersons' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all persons tags: - Person @@ -1549,12 +1549,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a new Person tags: - Person @@ -1577,12 +1577,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete an existing Person tags: - Person @@ -1604,12 +1604,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get basic info about a person tags: - Person @@ -1637,12 +1637,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update an existing Person tags: - Person @@ -1666,12 +1666,12 @@ paths: format: binary type: string description: A PDF profile of a Person - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Generate a PDF profile from a Person tags: - Person @@ -1702,12 +1702,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Interest to a Person tags: - Person @@ -1738,12 +1738,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add an Interest to a Person tags: - Person @@ -1777,12 +1777,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Skill Experience to a Person tags: - Person @@ -1813,12 +1813,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add an Skill experience to a Person (bulk) tags: - Person @@ -1849,12 +1849,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Edit an Skill experience to a Person tags: - Person @@ -1886,12 +1886,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Skill Experience to a Person tags: - Person @@ -1928,12 +1928,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add an Skill experience to a Person tags: - Person @@ -1970,12 +1970,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Edit an Skill experience to a Person tags: - Person @@ -2007,12 +2007,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Interest to a Person tags: - Person @@ -2049,12 +2049,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add Certification to a Person tags: - Person @@ -2091,12 +2091,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Certification of a Person tags: - Person @@ -2128,12 +2128,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete the office from a Person tags: - Person @@ -2164,12 +2164,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Assing a person to an office tags: - Person @@ -2201,12 +2201,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove an Project from a Person tags: - Person @@ -2244,12 +2244,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add Project to a Person tags: - Person @@ -2287,12 +2287,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Project of a Person tags: - Person @@ -2332,12 +2332,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove a Skill from a Project participation tags: - Person @@ -2384,12 +2384,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Add Skill to a Project participation tags: - Person @@ -2436,12 +2436,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update the level of a Skill in a Project participation tags: - Person @@ -2490,12 +2490,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Remove a confirmation tags: - Person @@ -2543,12 +2543,12 @@ paths: schema: $ref: '#/components/schemas/PersonDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Confirm Skill tags: - Person @@ -2573,12 +2573,12 @@ paths: schema: $ref: '#/components/schemas/PagedAvailabilities' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all activities for a person tags: - Person @@ -2608,12 +2608,12 @@ paths: schema: $ref: '#/components/schemas/AvailabilityDetail' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a availability for a person tags: - Person @@ -2663,12 +2663,12 @@ paths: schema: $ref: '#/components/schemas/PagedAvailabilities' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of all activities for a person for a given time persion, calculated on server side tags: @@ -2701,12 +2701,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete a person availability tags: - Person @@ -2744,12 +2744,12 @@ paths: schema: $ref: '#/components/schemas/AvailabilityDetail' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a person availability tags: - Person @@ -2788,12 +2788,12 @@ paths: schema: $ref: '#/components/schemas/SearchResult' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Fulltext search on all kinds of objects tags: - Search @@ -2824,12 +2824,12 @@ paths: schema: $ref: '#/components/schemas/PagedLanguages' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get a list of Languages tags: - Language @@ -2848,12 +2848,12 @@ paths: schema: $ref: '#/components/schemas/LanguageDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a new language tags: - Language @@ -2903,12 +2903,12 @@ paths: schema: $ref: '#/components/schemas/LanguageDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about a language tags: - Language @@ -2957,12 +2957,12 @@ paths: schema: $ref: '#/components/schemas/CountryDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Create a new Country tags: - Country @@ -2985,12 +2985,12 @@ paths: schema: $ref: '#/components/schemas/Status' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Delete a Country tags: - Country @@ -3012,12 +3012,12 @@ paths: schema: $ref: '#/components/schemas/CountryDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Get details about a Country tags: - Country @@ -3045,12 +3045,12 @@ paths: schema: $ref: '#/components/schemas/CountryDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Update a Country tags: - Country @@ -3081,12 +3081,12 @@ paths: schema: $ref: '#/components/schemas/CountryDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Assign a language to a country tags: - Language @@ -3117,17 +3117,24 @@ paths: schema: $ref: '#/components/schemas/CountryDetails' description: OK - "400": + default: content: application/json: schema: $ref: '#/components/schemas/Error' - description: Error + description: The specified resource was not found summary: Assign a language to a country tags: - Language - Country components: + responses: + ErrorResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: The specified resource was not found schemas: Version: example: diff --git a/api_availability.go b/api_availability.go index 8d10130f..dc02fe00 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -65,9 +65,7 @@ func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiC var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue AvailabilityDetail ) @@ -105,7 +103,7 @@ func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiC } // body params localVarPostBody = r.availability - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -127,7 +125,6 @@ func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiC body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -135,7 +132,6 @@ func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiC return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -186,9 +182,7 @@ func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiD var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -222,7 +216,7 @@ func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiD if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -244,7 +238,6 @@ func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiD body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -252,7 +245,6 @@ func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiD return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -300,9 +292,7 @@ func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGe var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedAvailabilities ) @@ -335,7 +325,7 @@ func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -357,7 +347,6 @@ func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -365,7 +354,6 @@ func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGe return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -428,9 +416,7 @@ func (a *AvailabilityApiService) GetAvailabilitiesCalculatedExecute(r Availabili var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedAvailabilities ) @@ -473,7 +459,7 @@ func (a *AvailabilityApiService) GetAvailabilitiesCalculatedExecute(r Availabili if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -495,7 +481,6 @@ func (a *AvailabilityApiService) GetAvailabilitiesCalculatedExecute(r Availabili body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -503,7 +488,6 @@ func (a *AvailabilityApiService) GetAvailabilitiesCalculatedExecute(r Availabili return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -560,9 +544,7 @@ func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiApiU var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue AvailabilityDetail ) @@ -601,7 +583,7 @@ func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiApiU } // body params localVarPostBody = r.availability - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -623,7 +605,6 @@ func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiApiU body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -631,7 +612,6 @@ func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiApiU return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_certification.go b/api_certification.go index 026189d8..7e7440fc 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -67,9 +67,7 @@ func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationA var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -108,7 +106,7 @@ func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationA } // body params localVarPostBody = r.body - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -130,7 +128,6 @@ func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationA body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -138,7 +135,6 @@ func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationA return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -196,9 +192,7 @@ func (a *CertificationApiService) AddSkillToCertificationExecute(r Certification var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -237,7 +231,7 @@ func (a *CertificationApiService) AddSkillToCertificationExecute(r Certification } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -259,7 +253,6 @@ func (a *CertificationApiService) AddSkillToCertificationExecute(r Certification body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -267,7 +260,6 @@ func (a *CertificationApiService) AddSkillToCertificationExecute(r Certification return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -320,9 +312,7 @@ func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiA var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -360,7 +350,7 @@ func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiA } // body params localVarPostBody = r.certification - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -382,7 +372,6 @@ func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiA body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -390,7 +379,6 @@ func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -438,9 +426,7 @@ func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiA var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -473,7 +459,7 @@ func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiA if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -495,7 +481,6 @@ func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiA body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -503,7 +488,6 @@ func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -554,9 +538,7 @@ func (a *CertificationApiService) DeletePersonCertificationExecute(r Certificati var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -590,7 +572,7 @@ func (a *CertificationApiService) DeletePersonCertificationExecute(r Certificati if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -612,7 +594,6 @@ func (a *CertificationApiService) DeletePersonCertificationExecute(r Certificati body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -620,7 +601,6 @@ func (a *CertificationApiService) DeletePersonCertificationExecute(r Certificati return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -671,9 +651,7 @@ func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r Certific var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -707,7 +685,7 @@ func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r Certific if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -729,7 +707,6 @@ func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r Certific body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -737,7 +714,6 @@ func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r Certific return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -785,9 +761,7 @@ func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiG var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -820,7 +794,7 @@ func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiG if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -842,7 +816,6 @@ func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiG body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -850,7 +823,6 @@ func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiG return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -905,9 +877,7 @@ func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApi var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedCertifications ) @@ -945,7 +915,7 @@ func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApi if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -967,7 +937,6 @@ func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -975,7 +944,6 @@ func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1033,9 +1001,7 @@ func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r Cert var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedCertifications ) @@ -1074,7 +1040,7 @@ func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r Cert if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1096,7 +1062,6 @@ func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r Cert body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1104,7 +1069,6 @@ func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r Cert return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1157,9 +1121,7 @@ func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiA var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -1197,7 +1159,7 @@ func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiA } // body params localVarPostBody = r.certification - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1219,7 +1181,6 @@ func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiA body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1227,7 +1188,6 @@ func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1283,9 +1243,7 @@ func (a *CertificationApiService) UpdatePersonCertificationExecute(r Certificati var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1324,7 +1282,7 @@ func (a *CertificationApiService) UpdatePersonCertificationExecute(r Certificati } // body params localVarPostBody = r.body - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1346,7 +1304,6 @@ func (a *CertificationApiService) UpdatePersonCertificationExecute(r Certificati body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1354,7 +1311,6 @@ func (a *CertificationApiService) UpdatePersonCertificationExecute(r Certificati return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1412,9 +1368,7 @@ func (a *CertificationApiService) UpdateSkillInCertificationExecute(r Certificat var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -1453,7 +1407,7 @@ func (a *CertificationApiService) UpdateSkillInCertificationExecute(r Certificat } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1475,7 +1429,6 @@ func (a *CertificationApiService) UpdateSkillInCertificationExecute(r Certificat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1483,7 +1436,6 @@ func (a *CertificationApiService) UpdateSkillInCertificationExecute(r Certificat return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_country.go b/api_country.go index 2b043db2..b185d9e9 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLangua var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -98,7 +96,7 @@ func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLangua if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLangua body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLangua return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -178,9 +174,7 @@ func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryReq var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -217,7 +211,7 @@ func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryReq } // body params localVarPostBody = r.country - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -239,7 +233,6 @@ func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -247,7 +240,6 @@ func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -295,9 +287,7 @@ func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryReq var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -330,7 +320,7 @@ func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryReq if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -352,7 +342,6 @@ func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -360,7 +349,6 @@ func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -415,9 +403,7 @@ func (a *CountryApiService) GetCountriesExecute(r CountryApiApiGetCountriesReque var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedCountries ) @@ -455,7 +441,7 @@ func (a *CountryApiService) GetCountriesExecute(r CountryApiApiGetCountriesReque if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -524,9 +510,7 @@ func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -559,7 +543,7 @@ func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -581,7 +565,6 @@ func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -589,7 +572,6 @@ func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -640,9 +622,7 @@ func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemo var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -676,7 +656,7 @@ func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemo if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -698,7 +678,6 @@ func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemo body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -706,7 +685,6 @@ func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemo return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -759,9 +737,7 @@ func (a *CountryApiService) UpdateCountryExecute(r CountryApiApiUpdateCountryReq var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -799,7 +775,7 @@ func (a *CountryApiService) UpdateCountryExecute(r CountryApiApiUpdateCountryReq } // body params localVarPostBody = r.country - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -821,7 +797,6 @@ func (a *CountryApiService) UpdateCountryExecute(r CountryApiApiUpdateCountryReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -829,7 +804,6 @@ func (a *CountryApiService) UpdateCountryExecute(r CountryApiApiUpdateCountryReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_industry.go b/api_industry.go index 39838d2d..d9c4b889 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAp var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -98,7 +96,7 @@ func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAp if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAp body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAp return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -178,9 +174,7 @@ func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustr var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Industry ) @@ -217,7 +211,7 @@ func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustr } // body params localVarPostBody = r.industry - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -239,7 +233,6 @@ func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustr body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -247,7 +240,6 @@ func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustr return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -295,9 +287,7 @@ func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustr var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -330,7 +320,7 @@ func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustr if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -352,7 +342,6 @@ func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustr body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -360,7 +349,6 @@ func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustr return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -411,9 +399,7 @@ func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApi var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -447,7 +433,7 @@ func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApi if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -469,7 +455,6 @@ func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -477,7 +462,6 @@ func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -532,9 +516,7 @@ func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesR var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedIndustries ) @@ -572,7 +554,7 @@ func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesR if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -594,7 +576,6 @@ func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesR body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -602,7 +583,6 @@ func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesR return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -650,9 +630,7 @@ func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryReque var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Industry ) @@ -685,7 +663,7 @@ func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryReque if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -707,7 +685,6 @@ func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryReque body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -715,7 +692,6 @@ func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryReque return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -768,9 +744,7 @@ func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiApiUpdateIndustr var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Industry ) @@ -808,7 +782,7 @@ func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiApiUpdateIndustr } // body params localVarPostBody = r.industry - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -830,7 +804,6 @@ func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiApiUpdateIndustr body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -838,7 +811,6 @@ func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiApiUpdateIndustr return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_language.go b/api_language.go index 81e426a5..27f45211 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLang var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -98,7 +96,7 @@ func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLang if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLang body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLang return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -178,9 +174,7 @@ func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguag var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue LanguageDetails ) @@ -217,7 +211,7 @@ func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguag } // body params localVarPostBody = r.language - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -239,7 +233,6 @@ func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguag body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -247,7 +240,6 @@ func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguag return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -295,9 +287,7 @@ func (a *LanguageApiService) DeleteLanguageExecute(r LanguageApiApiDeleteLanguag var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -330,7 +320,7 @@ func (a *LanguageApiService) DeleteLanguageExecute(r LanguageApiApiDeleteLanguag if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -408,9 +398,7 @@ func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageReque var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue LanguageDetails ) @@ -443,7 +431,7 @@ func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageReque if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -465,7 +453,6 @@ func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageReque body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -473,7 +460,6 @@ func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageReque return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -528,9 +514,7 @@ func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesReq var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedLanguages ) @@ -568,7 +552,7 @@ func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesReq if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -590,7 +574,6 @@ func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -598,7 +581,6 @@ func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -649,9 +631,7 @@ func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRe var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CountryDetails ) @@ -685,7 +665,7 @@ func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -707,7 +687,6 @@ func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -715,7 +694,6 @@ func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRe return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_office.go b/api_office.go index aad648a0..c8439c04 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeR var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -98,7 +96,7 @@ func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeR if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeR body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeR return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -181,9 +177,7 @@ func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -221,7 +215,7 @@ func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest } // body params localVarPostBody = r.office - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -243,7 +237,6 @@ func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -251,7 +244,6 @@ func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -302,9 +294,7 @@ func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -338,7 +328,7 @@ func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -360,7 +350,6 @@ func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -368,7 +357,6 @@ func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -419,9 +407,7 @@ func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonO var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -455,7 +441,7 @@ func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonO if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -477,7 +463,6 @@ func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -485,7 +470,6 @@ func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -536,9 +520,7 @@ func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (Off var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Office ) @@ -572,7 +554,7 @@ func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (Off if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -594,7 +576,6 @@ func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (Off body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -602,7 +583,6 @@ func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (Off return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -658,9 +638,7 @@ func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiApiUpdateOfficeRequest var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Office ) @@ -699,7 +677,7 @@ func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiApiUpdateOfficeRequest } // body params localVarPostBody = r.office - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -721,7 +699,6 @@ func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiApiUpdateOfficeRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -729,7 +706,6 @@ func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiApiUpdateOfficeRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_organization.go b/api_organization.go index 963fe1e4..3bcd493a 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r Organizat var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -98,7 +96,7 @@ func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r Organizat if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r Organizat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r Organizat return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -181,9 +177,7 @@ func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApi var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -221,7 +215,7 @@ func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApi } // body params localVarPostBody = r.certification - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -243,7 +237,6 @@ func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -251,7 +244,6 @@ func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -304,9 +296,7 @@ func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateO var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -344,7 +334,7 @@ func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateO } // body params localVarPostBody = r.office - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -366,7 +356,6 @@ func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -374,7 +363,6 @@ func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -425,9 +413,7 @@ func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiC var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -464,7 +450,7 @@ func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiC } // body params localVarPostBody = r.organization - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -486,7 +472,6 @@ func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiC body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -494,7 +479,6 @@ func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiC return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -522,7 +506,7 @@ func (r OrganizationApiApiCreateProjectRequest) Project(project Project) Organiz return r } -func (r OrganizationApiApiCreateProjectRequest) Execute() (OrganizationDetails, *_nethttp.Response, error) { +func (r OrganizationApiApiCreateProjectRequest) Execute() (ProjectDetails, *_nethttp.Response, error) { return r.ApiService.CreateProjectExecute(r) } @@ -542,15 +526,13 @@ func (a *OrganizationApiService) CreateProject(ctx _context.Context, organizatio } // Execute executes the request -// @return OrganizationDetails -func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreateProjectRequest) (OrganizationDetails, *_nethttp.Response, error) { +// @return ProjectDetails +func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreateProjectRequest) (ProjectDetails, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue OrganizationDetails + formFiles []formFile + localVarReturnValue ProjectDetails ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationApiService.CreateProject") @@ -587,7 +569,7 @@ func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreate } // body params localVarPostBody = r.project - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -609,7 +591,6 @@ func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreate body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -617,7 +598,6 @@ func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreate return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -668,9 +648,7 @@ func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteO var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -704,7 +682,7 @@ func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteO if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -726,7 +704,6 @@ func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -734,7 +711,6 @@ func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -782,9 +758,7 @@ func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiD var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -817,7 +791,7 @@ func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiD if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -839,7 +813,6 @@ func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiD body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -847,7 +820,6 @@ func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiD return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -898,9 +870,7 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r Organiz var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -934,7 +904,7 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r Organiz if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -956,7 +926,6 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r Organiz body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -964,7 +933,6 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r Organiz return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1022,9 +990,7 @@ func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r Organ var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedCertifications ) @@ -1063,7 +1029,7 @@ func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r Organ if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1085,7 +1051,6 @@ func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r Organ body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1093,7 +1058,6 @@ func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r Organ return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1144,9 +1108,7 @@ func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeR var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Office ) @@ -1180,7 +1142,7 @@ func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeR if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1202,7 +1164,6 @@ func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeR body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1210,7 +1171,6 @@ func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeR return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1258,9 +1218,7 @@ func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetO var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -1293,7 +1251,7 @@ func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetO if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1315,7 +1273,6 @@ func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1323,7 +1280,6 @@ func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1381,9 +1337,7 @@ func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationAp var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedProjects ) @@ -1422,7 +1376,7 @@ func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationAp if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1444,7 +1398,6 @@ func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationAp body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1452,7 +1405,6 @@ func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationAp return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1507,9 +1459,7 @@ func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGet var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedOrganizations ) @@ -1547,7 +1497,7 @@ func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGet if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1569,7 +1519,6 @@ func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGet body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1577,7 +1526,6 @@ func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1633,9 +1581,7 @@ func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateO var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Office ) @@ -1674,7 +1620,7 @@ func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateO } // body params localVarPostBody = r.office - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1696,7 +1642,6 @@ func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1704,7 +1649,6 @@ func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1758,9 +1702,7 @@ func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiApiU var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue OrganizationDetails ) @@ -1798,7 +1740,7 @@ func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiApiU } // body params localVarPostBody = r.organization - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1820,7 +1762,6 @@ func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiApiU body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1828,7 +1769,6 @@ func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiApiU return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_person.go b/api_person.go index 82788424..caa31a54 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -69,9 +69,7 @@ func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPerson var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -110,7 +108,7 @@ func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPerson } // body params localVarPostBody = r.body - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -132,7 +130,6 @@ func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPerson body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -140,7 +137,6 @@ func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPerson return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -191,9 +187,7 @@ func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInter var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -227,7 +221,7 @@ func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInter if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -249,7 +243,6 @@ func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInter body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -257,7 +250,6 @@ func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInter return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -308,9 +300,7 @@ func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeR var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -344,7 +334,7 @@ func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeR if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -366,7 +356,6 @@ func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeR body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -374,7 +363,6 @@ func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeR return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -431,9 +419,7 @@ func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjec var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -472,7 +458,7 @@ func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjec } // body params localVarPostBody = r.projectParticipationUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -494,7 +480,6 @@ func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjec body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -502,7 +487,6 @@ func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjec return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -562,9 +546,7 @@ func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonP var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -604,7 +586,7 @@ func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonP } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -626,7 +608,6 @@ func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonP body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -634,7 +615,6 @@ func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonP return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -690,9 +670,7 @@ func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPers var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -731,7 +709,7 @@ func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPers } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -753,7 +731,6 @@ func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPers body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -761,7 +738,6 @@ func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPers return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -814,9 +790,7 @@ func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPer var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -854,7 +828,7 @@ func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPer } // body params localVarPostBody = r.skillLevelUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -876,7 +850,6 @@ func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPer body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -884,7 +857,6 @@ func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPer return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -941,9 +913,7 @@ func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -979,7 +949,7 @@ func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1001,7 +971,6 @@ func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1009,7 +978,6 @@ func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1063,9 +1031,7 @@ func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailab var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue AvailabilityDetail ) @@ -1103,7 +1069,7 @@ func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailab } // body params localVarPostBody = r.availability - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1125,7 +1091,6 @@ func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailab body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1133,7 +1098,6 @@ func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailab return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1183,9 +1147,7 @@ func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1222,7 +1184,7 @@ func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest } // body params localVarPostBody = r.person - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1244,7 +1206,6 @@ func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1252,7 +1213,6 @@ func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1303,9 +1263,7 @@ func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailab var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -1339,7 +1297,7 @@ func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailab if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1361,7 +1319,6 @@ func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailab body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1369,7 +1326,6 @@ func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailab return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1426,9 +1382,7 @@ func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirm var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1464,7 +1418,7 @@ func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirm if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1486,7 +1440,6 @@ func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirm body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1494,7 +1447,6 @@ func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirm return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1542,9 +1494,7 @@ func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -1577,7 +1527,7 @@ func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1599,7 +1549,6 @@ func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1607,7 +1556,6 @@ func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1658,9 +1606,7 @@ func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDelete var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1694,7 +1640,7 @@ func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDelete if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1716,7 +1662,6 @@ func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDelete body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1724,7 +1669,6 @@ func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDelete return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1775,9 +1719,7 @@ func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePerso var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1811,7 +1753,7 @@ func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePerso if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1833,7 +1775,6 @@ func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePerso body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1841,7 +1782,6 @@ func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePerso return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1892,9 +1832,7 @@ func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonO var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1928,7 +1866,7 @@ func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonO if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1950,7 +1888,6 @@ func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonO body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1958,7 +1895,6 @@ func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonO return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2009,9 +1945,7 @@ func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePerson var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2045,7 +1979,7 @@ func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePerson if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2067,7 +2001,6 @@ func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePerson body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2075,7 +2008,6 @@ func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePerson return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2129,9 +2061,7 @@ func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeleteP var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2166,7 +2096,7 @@ func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeleteP if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2188,7 +2118,6 @@ func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeleteP body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2196,7 +2125,6 @@ func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeleteP return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2247,9 +2175,7 @@ func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDele var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2283,7 +2209,7 @@ func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDele if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2305,7 +2231,6 @@ func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDele body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2313,7 +2238,6 @@ func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDele return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2367,9 +2291,7 @@ func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDel var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2407,7 +2329,7 @@ func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDel } // body params localVarPostBody = r.requestBody - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2429,7 +2351,6 @@ func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDel body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2437,7 +2358,6 @@ func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDel return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2485,9 +2405,7 @@ func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePe var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue *os.File ) @@ -2520,7 +2438,7 @@ func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2542,7 +2460,6 @@ func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2550,7 +2467,6 @@ func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePe return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2598,9 +2514,7 @@ func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilit var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedAvailabilities ) @@ -2633,7 +2547,7 @@ func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilit if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2655,7 +2569,6 @@ func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilit body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2663,7 +2576,6 @@ func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilit return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2726,9 +2638,7 @@ func (a *PersonApiService) GetAvailabilitiesCalculatedExecute(r PersonApiApiGetA var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedAvailabilities ) @@ -2771,7 +2681,7 @@ func (a *PersonApiService) GetAvailabilitiesCalculatedExecute(r PersonApiApiGetA if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2793,7 +2703,6 @@ func (a *PersonApiService) GetAvailabilitiesCalculatedExecute(r PersonApiApiGetA body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2801,7 +2710,6 @@ func (a *PersonApiService) GetAvailabilitiesCalculatedExecute(r PersonApiApiGetA return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2849,9 +2757,7 @@ func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (Per var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2884,7 +2790,7 @@ func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (Per if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2906,7 +2812,6 @@ func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (Per body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2914,7 +2819,6 @@ func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (Per return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2999,9 +2903,7 @@ func (a *PersonApiService) GetPersonsExecute(r PersonApiApiGetPersonsRequest) (P var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedPersons ) @@ -3105,7 +3007,7 @@ func (a *PersonApiService) GetPersonsExecute(r PersonApiApiGetPersonsRequest) (P if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3127,7 +3029,6 @@ func (a *PersonApiService) GetPersonsExecute(r PersonApiApiGetPersonsRequest) (P body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3135,7 +3036,6 @@ func (a *PersonApiService) GetPersonsExecute(r PersonApiApiGetPersonsRequest) (P return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3192,9 +3092,7 @@ func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailab var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue AvailabilityDetail ) @@ -3233,7 +3131,7 @@ func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailab } // body params localVarPostBody = r.availability - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3255,7 +3153,6 @@ func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailab body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3263,7 +3160,6 @@ func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailab return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3316,9 +3212,7 @@ func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3356,7 +3250,7 @@ func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest } // body params localVarPostBody = r.person - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3378,7 +3272,6 @@ func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3386,7 +3279,6 @@ func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3442,9 +3334,7 @@ func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdate var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3483,7 +3373,7 @@ func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdate } // body params localVarPostBody = r.body - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3505,7 +3395,6 @@ func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdate body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3513,7 +3402,6 @@ func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdate return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3570,9 +3458,7 @@ func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePerson var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3611,7 +3497,7 @@ func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePerson } // body params localVarPostBody = r.projectParticipationUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3633,7 +3519,6 @@ func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePerson body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3641,7 +3526,6 @@ func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePerson return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3701,9 +3585,7 @@ func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdateP var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3743,7 +3625,7 @@ func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdateP } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3765,7 +3647,6 @@ func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdateP body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3773,7 +3654,6 @@ func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdateP return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3829,9 +3709,7 @@ func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpda var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3870,7 +3748,7 @@ func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpda } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -3892,7 +3770,6 @@ func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpda body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -3900,7 +3777,6 @@ func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpda return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3953,9 +3829,7 @@ func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpd var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -3993,7 +3867,7 @@ func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpd } // body params localVarPostBody = r.skillLevelUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -4015,7 +3889,6 @@ func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpd body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -4023,7 +3896,6 @@ func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpd return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_project.go b/api_project.go index 9a6295a3..cad804be 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -69,9 +69,7 @@ func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProj var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -110,7 +108,7 @@ func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProj } // body params localVarPostBody = r.projectParticipationUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -132,7 +130,6 @@ func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProj body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -140,7 +137,6 @@ func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProj return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -200,9 +196,7 @@ func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPerso var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -242,7 +236,7 @@ func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPerso } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -264,7 +258,6 @@ func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPerso body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -272,7 +265,6 @@ func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPerso return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -329,9 +321,7 @@ func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillReque var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -367,7 +357,7 @@ func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillReque if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -389,7 +379,6 @@ func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillReque body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -397,7 +386,6 @@ func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillReque return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -425,7 +413,7 @@ func (r ProjectApiApiCreateProjectRequest) Project(project Project) ProjectApiAp return r } -func (r ProjectApiApiCreateProjectRequest) Execute() (OrganizationDetails, *_nethttp.Response, error) { +func (r ProjectApiApiCreateProjectRequest) Execute() (ProjectDetails, *_nethttp.Response, error) { return r.ApiService.CreateProjectExecute(r) } @@ -445,15 +433,13 @@ func (a *ProjectApiService) CreateProject(ctx _context.Context, organizationId s } // Execute executes the request -// @return OrganizationDetails -func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectRequest) (OrganizationDetails, *_nethttp.Response, error) { +// @return ProjectDetails +func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectRequest) (ProjectDetails, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue OrganizationDetails + formFiles []formFile + localVarReturnValue ProjectDetails ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.CreateProject") @@ -490,7 +476,7 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectReq } // body params localVarPostBody = r.project - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -512,7 +498,6 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -520,7 +505,6 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -577,9 +561,7 @@ func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfi var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -615,7 +597,7 @@ func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfi if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -637,7 +619,6 @@ func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -645,7 +626,6 @@ func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -696,9 +676,7 @@ func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePers var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -732,7 +710,7 @@ func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePers if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -754,7 +732,6 @@ func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePers body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -762,7 +739,6 @@ func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePers return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -816,9 +792,7 @@ func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDelet var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -853,7 +827,7 @@ func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDelet if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -875,7 +849,6 @@ func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDelet body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -883,7 +856,6 @@ func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDelet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -931,9 +903,7 @@ func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectReq var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -966,7 +936,7 @@ func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectReq if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -988,7 +958,6 @@ func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -996,7 +965,6 @@ func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1054,9 +1022,7 @@ func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrg var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedProjects ) @@ -1095,7 +1061,7 @@ func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrg if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1117,7 +1083,6 @@ func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrg body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1125,7 +1090,6 @@ func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrg return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1173,9 +1137,7 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue ProjectDetails ) @@ -1208,7 +1170,7 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1230,7 +1192,6 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1238,7 +1199,6 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1313,9 +1273,7 @@ func (a *ProjectApiService) GetProjectsExecute(r ProjectApiApiGetProjectsRequest var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedProjects ) @@ -1397,7 +1355,7 @@ func (a *ProjectApiService) GetProjectsExecute(r ProjectApiApiGetProjectsRequest if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1419,7 +1377,6 @@ func (a *ProjectApiService) GetProjectsExecute(r ProjectApiApiGetProjectsRequest body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1427,7 +1384,6 @@ func (a *ProjectApiService) GetProjectsExecute(r ProjectApiApiGetProjectsRequest return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1484,9 +1440,7 @@ func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePers var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1525,7 +1479,7 @@ func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePers } // body params localVarPostBody = r.projectParticipationUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1547,7 +1501,6 @@ func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePers body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1555,7 +1508,6 @@ func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePers return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1615,9 +1567,7 @@ func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdat var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1657,7 +1607,7 @@ func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdat } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1679,7 +1629,6 @@ func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1687,7 +1636,6 @@ func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdat return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1740,9 +1688,7 @@ func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiApiUpdateProjectReq var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue ProjectDetails ) @@ -1780,7 +1726,7 @@ func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiApiUpdateProjectReq } // body params localVarPostBody = r.project - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1802,7 +1748,6 @@ func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiApiUpdateProjectReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1810,7 +1755,6 @@ func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiApiUpdateProjectReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_search.go b/api_search.go index 6a452f44..bbca2398 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -69,9 +69,7 @@ func (a *SearchApiService) SearchAllExecute(r SearchApiApiSearchAllRequest) (Sea var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SearchResult ) @@ -110,7 +108,7 @@ func (a *SearchApiService) SearchAllExecute(r SearchApiApiSearchAllRequest) (Sea if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -132,7 +130,6 @@ func (a *SearchApiService) SearchAllExecute(r SearchApiApiSearchAllRequest) (Sea body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -140,7 +137,6 @@ func (a *SearchApiService) SearchAllExecute(r SearchApiApiSearchAllRequest) (Sea return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_skill.go b/api_skill.go index 57a4f01f..bf83ee0a 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -62,9 +62,7 @@ func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInteres var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -98,7 +96,7 @@ func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInteres if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -120,7 +118,6 @@ func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInteres body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -128,7 +125,6 @@ func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInteres return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -188,9 +184,7 @@ func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonPro var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -230,7 +224,7 @@ func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonPro } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -252,7 +246,6 @@ func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonPro body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -260,7 +253,6 @@ func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonPro return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -316,9 +308,7 @@ func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPerson var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -357,7 +347,7 @@ func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPerson } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -379,7 +369,6 @@ func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPerson body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -387,7 +376,6 @@ func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPerson return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -440,9 +428,7 @@ func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPerso var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -480,7 +466,7 @@ func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPerso } // body params localVarPostBody = r.skillLevelUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -502,7 +488,6 @@ func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPerso body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -510,7 +495,6 @@ func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPerso return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -568,9 +552,7 @@ func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillTo var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -609,7 +591,7 @@ func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillTo } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -631,7 +613,6 @@ func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillTo body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -639,7 +620,6 @@ func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillTo return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -690,9 +670,7 @@ func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToPa var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SkillDetails ) @@ -726,7 +704,7 @@ func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToPa if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -748,7 +726,6 @@ func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToPa body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -756,7 +733,6 @@ func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToPa return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -813,9 +789,7 @@ func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -851,7 +825,7 @@ func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -873,7 +847,6 @@ func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -881,7 +854,6 @@ func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -931,9 +903,7 @@ func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (S var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SkillDetails ) @@ -970,7 +940,7 @@ func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (S } // body params localVarPostBody = r.skill - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -992,7 +962,6 @@ func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (S body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1000,7 +969,6 @@ func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (S return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1057,9 +1025,7 @@ func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmat var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1095,7 +1061,7 @@ func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmat if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1117,7 +1083,6 @@ func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1125,7 +1090,6 @@ func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmat return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1176,9 +1140,7 @@ func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonI var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1212,7 +1174,7 @@ func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonI if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1234,7 +1196,6 @@ func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonI body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1242,7 +1203,6 @@ func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonI return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1296,9 +1256,7 @@ func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePer var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1333,7 +1291,7 @@ func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePer if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1355,7 +1313,6 @@ func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePer body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1363,7 +1320,6 @@ func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePer return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1414,9 +1370,7 @@ func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDelete var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1450,7 +1404,7 @@ func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDelete if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1472,7 +1426,6 @@ func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDelete body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1480,7 +1433,6 @@ func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDelete return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1534,9 +1486,7 @@ func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDelet var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -1574,7 +1524,7 @@ func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDelet } // body params localVarPostBody = r.requestBody - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1596,7 +1546,6 @@ func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDelet body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1604,7 +1553,6 @@ func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDelet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1652,9 +1600,7 @@ func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (S var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -1687,7 +1633,7 @@ func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (S if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1709,7 +1655,6 @@ func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (S body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1717,7 +1662,6 @@ func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (S return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1768,9 +1712,7 @@ func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDelet var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -1804,7 +1746,7 @@ func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDelet if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1826,7 +1768,6 @@ func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDelet body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1834,7 +1775,6 @@ func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDelet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1882,9 +1822,7 @@ func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (SkillDe var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SkillDetails ) @@ -1917,7 +1855,7 @@ func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (SkillDe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -1939,7 +1877,6 @@ func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (SkillDe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -1947,7 +1884,6 @@ func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (SkillDe return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2005,9 +1941,7 @@ func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsReq var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedSkills ) @@ -2046,7 +1980,7 @@ func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsReq if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2068,7 +2002,6 @@ func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2076,7 +2009,6 @@ func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsReq return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2143,9 +2075,7 @@ func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (Paged var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PagedSkills ) @@ -2189,7 +2119,7 @@ func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (Paged if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2211,7 +2141,6 @@ func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (Paged body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2219,7 +2148,6 @@ func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (Paged return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2270,9 +2198,7 @@ func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveS var ( localVarHTTPMethod = _nethttp.MethodDelete localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SkillDetails ) @@ -2306,7 +2232,7 @@ func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveS if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2328,7 +2254,6 @@ func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveS body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2336,7 +2261,6 @@ func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveS return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2396,9 +2320,7 @@ func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePer var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2438,7 +2360,7 @@ func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePer } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2460,7 +2382,6 @@ func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePer body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2468,7 +2389,6 @@ func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePer return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2524,9 +2444,7 @@ func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdate var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2565,7 +2483,7 @@ func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdate } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2587,7 +2505,6 @@ func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdate body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2595,7 +2512,6 @@ func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdate return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2648,9 +2564,7 @@ func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdat var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue PersonDetails ) @@ -2688,7 +2602,7 @@ func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdat } // body params localVarPostBody = r.skillLevelUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2710,7 +2624,6 @@ func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2718,7 +2631,6 @@ func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdat return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2771,9 +2683,7 @@ func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (S var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue SkillDetails ) @@ -2811,7 +2721,7 @@ func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (S } // body params localVarPostBody = r.skill - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2833,7 +2743,6 @@ func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (S body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2841,7 +2750,6 @@ func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (S return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2899,9 +2807,7 @@ func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiApiUpdateS var ( localVarHTTPMethod = _nethttp.MethodPut localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue CertificationDetails ) @@ -2940,7 +2846,7 @@ func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiApiUpdateS } // body params localVarPostBody = r.level - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -2962,7 +2868,6 @@ func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiApiUpdateS body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -2970,7 +2875,6 @@ func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiApiUpdateS return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_status.go b/api_status.go index e251e29b..2457c9a8 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -57,9 +57,7 @@ func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (Status, var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Status ) @@ -91,7 +89,7 @@ func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (Status, if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -113,7 +111,6 @@ func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (Status, body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -121,7 +118,6 @@ func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (Status, return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -168,9 +164,7 @@ func (a *StatusApiService) GetVersionExecute(r StatusApiApiGetVersionRequest) (V var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte + formFiles []formFile localVarReturnValue Version ) @@ -202,7 +196,7 @@ func (a *StatusApiService) GetVersionExecute(r StatusApiApiGetVersionRequest) (V if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err } @@ -224,7 +218,6 @@ func (a *StatusApiService) GetVersionExecute(r StatusApiApiGetVersionRequest) (V body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -232,7 +225,6 @@ func (a *StatusApiService) GetVersionExecute(r StatusApiApiGetVersionRequest) (V return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v - } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client.go b/client.go index 6dda61c2..369b349f 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,7 +41,7 @@ var ( xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) ) -// APIClient manages communication with the YASM (Yet Another Skill Management) API API v0.9.2 +// APIClient manages communication with the YASM (Yet Another Skill Management) API API v0.9.3 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -222,6 +222,12 @@ func (c *APIClient) GetConfig() *Configuration { return c.cfg } +type formFile struct { + fileBytes []byte + fileName string + formFileName string +} + // prepareRequest build the request func (c *APIClient) prepareRequest( ctx context.Context, @@ -230,9 +236,7 @@ func (c *APIClient) prepareRequest( headerParams map[string]string, queryParams url.Values, formParams url.Values, - formFileName string, - fileName string, - fileBytes []byte) (localVarRequest *http.Request, err error) { + formFiles []formFile) (localVarRequest *http.Request, err error) { var body *bytes.Buffer @@ -251,7 +255,7 @@ func (c *APIClient) prepareRequest( } // add form parameters and file if available. - if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { + if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(formFiles) > 0) { if body != nil { return nil, errors.New("Cannot specify postBody and multipart form at the same time.") } @@ -270,16 +274,17 @@ func (c *APIClient) prepareRequest( } } } - if len(fileBytes) > 0 && fileName != "" { - w.Boundary() - //_, fileNm := filepath.Split(fileName) - part, err := w.CreateFormFile(formFileName, filepath.Base(fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(fileBytes) - if err != nil { - return nil, err + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } } } @@ -342,7 +347,7 @@ func (c *APIClient) prepareRequest( if len(headerParams) > 0 { headers := http.Header{} for h, v := range headerParams { - headers.Set(h, v) + headers[h] = []string{v} } localVarRequest.Header = headers } diff --git a/configuration.go b/configuration.go index 3dba1542..19aa0af9 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/OrganizationApi.md b/docs/OrganizationApi.md index 53c7c59b..ec7037c7 100644 --- a/docs/OrganizationApi.md +++ b/docs/OrganizationApi.md @@ -299,7 +299,7 @@ Name | Type | Description | Notes ## CreateProject -> OrganizationDetails CreateProject(ctx, organizationId).Project(project).Execute() +> ProjectDetails CreateProject(ctx, organizationId).Project(project).Execute() Create a Project in an Organization @@ -326,7 +326,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrganizationApi.CreateProject``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateProject`: OrganizationDetails + // response from `CreateProject`: ProjectDetails fmt.Fprintf(os.Stdout, "Response from `OrganizationApi.CreateProject`: %v\n", resp) } ``` @@ -351,7 +351,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationDetails**](OrganizationDetails.md) +[**ProjectDetails**](ProjectDetails.md) ### Authorization diff --git a/docs/ProjectApi.md b/docs/ProjectApi.md index fe8018b2..74fbb49b 100644 --- a/docs/ProjectApi.md +++ b/docs/ProjectApi.md @@ -249,7 +249,7 @@ Name | Type | Description | Notes ## CreateProject -> OrganizationDetails CreateProject(ctx, organizationId).Project(project).Execute() +> ProjectDetails CreateProject(ctx, organizationId).Project(project).Execute() Create a Project in an Organization @@ -276,7 +276,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ProjectApi.CreateProject``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateProject`: OrganizationDetails + // response from `CreateProject`: ProjectDetails fmt.Fprintf(os.Stdout, "Response from `ProjectApi.CreateProject`: %v\n", resp) } ``` @@ -301,7 +301,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationDetails**](OrganizationDetails.md) +[**ProjectDetails**](ProjectDetails.md) ### Authorization diff --git a/model_availability.go b/model_availability.go index 50e2c951..8d890f13 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_all_of.go b/model_availability_all_of.go index d0cd06a2..cf675a6a 100644 --- a/model_availability_all_of.go +++ b/model_availability_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 056ff80b..e36b4e24 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: 0.9.2 +API version: 0.9.3 */ // 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 f842ec35..27315cd5 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification.go b/model_certification.go index 0bb0a867..1014b74c 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification_all_of.go b/model_certification_all_of.go index 3f25df03..a7b99128 100644 --- a/model_certification_all_of.go +++ b/model_certification_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 02274985..372fddda 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country.go b/model_country.go index 8e2d58bf..54a7c906 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: 0.9.2 +API version: 0.9.3 */ // 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 b0d86a73..a0876827 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_error.go b/model_error.go index e0245485..1224e73c 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience.go b/model_experience.go index ea3d8b25..2bcccb10 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience_all_of.go b/model_experience_all_of.go index eb107d89..02e46396 100644 --- a/model_experience_all_of.go +++ b/model_experience_all_of.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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_geolocation.go b/model_geolocation.go index 75af37d2..1759966f 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry.go b/model_industry.go index ae88ff63..8ed81c11 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language.go b/model_language.go index 6dcf817f..34c9771b 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: 0.9.2 +API version: 0.9.3 */ // 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 f1c8e37a..13d49924 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: 0.9.2 +API version: 0.9.3 */ // 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 92e4a19d..0ed027d9 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_level.go b/model_level.go index d4080372..0d50e972 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_locateable.go b/model_locateable.go index 63141b06..76162a6f 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: 0.9.2 +API version: 0.9.3 */ // 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 5269ee33..2d8f06d8 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_named_domain_model_all_of.go b/model_named_domain_model_all_of.go index 54717e9e..01a0252b 100644 --- a/model_named_domain_model_all_of.go +++ b/model_named_domain_model_all_of.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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_office.go b/model_office.go index 66fcd36b..4d8f3884 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization.go b/model_organization.go index e830cadc..078b8769 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization_all_of.go b/model_organization_all_of.go index 43630998..7885fb85 100644 --- a/model_organization_all_of.go +++ b/model_organization_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 9bfc0fbb..9e391867 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_page.go b/model_page.go index ab8fab62..b7e26786 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: 0.9.2 +API version: 0.9.3 */ // 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 7fa6e3db..e93f8466 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_availabilities_all_of.go b/model_paged_availabilities_all_of.go index 3939cb7f..784c72e4 100644 --- a/model_paged_availabilities_all_of.go +++ b/model_paged_availabilities_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 9b5efe8e..bf82be1c 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_certifications_all_of.go b/model_paged_certifications_all_of.go index 9294a6d1..61b30eaa 100644 --- a/model_paged_certifications_all_of.go +++ b/model_paged_certifications_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 df99e761..004c7a33 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_countries_all_of.go b/model_paged_countries_all_of.go index 4ef628b6..70249847 100644 --- a/model_paged_countries_all_of.go +++ b/model_paged_countries_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 4c2803e3..e3931f1c 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_industries_all_of.go b/model_paged_industries_all_of.go index ae0d5854..28df36c4 100644 --- a/model_paged_industries_all_of.go +++ b/model_paged_industries_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 57a13731..d560845b 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_languages_all_of.go b/model_paged_languages_all_of.go index c45fbdfd..698456a5 100644 --- a/model_paged_languages_all_of.go +++ b/model_paged_languages_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 074a803a..5c5ad4e9 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_organizations_all_of.go b/model_paged_organizations_all_of.go index 7d636a55..8ddf994e 100644 --- a/model_paged_organizations_all_of.go +++ b/model_paged_organizations_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 7d7a12b2..c55bd1ce 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_persons_all_of.go b/model_paged_persons_all_of.go index a34af324..ce50fc69 100644 --- a/model_paged_persons_all_of.go +++ b/model_paged_persons_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 10297adc..11858708 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_projects_all_of.go b/model_paged_projects_all_of.go index f1a2c591..4887f898 100644 --- a/model_paged_projects_all_of.go +++ b/model_paged_projects_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 ac51f313..72c01ba8 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_skills_all_of.go b/model_paged_skills_all_of.go index f9c9eb64..ae1ce67f 100644 --- a/model_paged_skills_all_of.go +++ b/model_paged_skills_all_of.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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person.go b/model_person.go index d68c2315..95c0b13f 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_all_of.go b/model_person_all_of.go index 02a6ebd1..c4677bec 100644 --- a/model_person_all_of.go +++ b/model_person_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 349c3845..10dd710f 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: 0.9.2 +API version: 0.9.3 */ // 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 c178a0bf..b03750c5 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project.go b/model_project.go index 2ca3eda7..1334af98 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_all_of.go b/model_project_all_of.go index 47bcc9b0..8412471c 100644 --- a/model_project_all_of.go +++ b/model_project_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 49c42545..e65a44aa 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: 0.9.2 +API version: 0.9.3 */ // 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 36858c62..4fa65e72 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_all_of.go b/model_project_participation_all_of.go index f73a49e7..97830f37 100644 --- a/model_project_participation_all_of.go +++ b/model_project_participation_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 0c745b2e..2bf487c0 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: 0.9.2 +API version: 0.9.3 */ // 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 8debbbd7..68522b97 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_score_detail_all_of.go b/model_project_score_detail_all_of.go index 767e6d1e..aa80a0d8 100644 --- a/model_project_score_detail_all_of.go +++ b/model_project_score_detail_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 4400af32..9b12cf5a 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result_all_of.go b/model_search_result_all_of.go index b1b2e94c..90d6dcac 100644 --- a/model_search_result_all_of.go +++ b/model_search_result_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 f03f32cb..b0e0adff 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill.go b/model_skill.go index 4162e13a..d3913c22 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_all_of.go b/model_skill_all_of.go index 0f8da24f..6ccfdc0f 100644 --- a/model_skill_all_of.go +++ b/model_skill_all_of.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: 0.9.2 +API version: 0.9.3 */ // 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 287dc376..29e31c6d 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: 0.9.2 +API version: 0.9.3 */ // 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 e416bb9d..41b78842 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: 0.9.2 +API version: 0.9.3 */ // 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 accee668..dba7a956 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level_update_all_of.go b/model_skill_level_update_all_of.go index c80c5998..e8e16c9f 100644 --- a/model_skill_level_update_all_of.go +++ b/model_skill_level_update_all_of.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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_status.go b/model_status.go index 51834ab9..274f8b25 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_suggestable.go b/model_suggestable.go index 8ceadd45..9af82b4e 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_synonymable.go b/model_synonymable.go index a83461c1..f3a35f6d 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_timeframed.go b/model_timeframed.go index f6898e3f..9a8e956f 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_version.go b/model_version.go index 4222679e..205a2bcf 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index b655a960..bdd9ce8f 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/utils.go b/utils.go index a0736a68..4fbeee79 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: 0.9.2 +API version: 0.9.3 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.