Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Jul 7, 2023
1 parent 6e811b5 commit b2667e4
Show file tree
Hide file tree
Showing 129 changed files with 697 additions and 212 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/codeql.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ docs/Certification.md
docs/CertificationAllOf.md
docs/CertificationApi.md
docs/CertificationDetails.md
docs/CertificationSearch.md
docs/Country.md
docs/CountryAllOf.md
docs/CountryApi.md
Expand Down Expand Up @@ -148,6 +149,7 @@ model_basic_domain_model.go
model_certification.go
model_certification_all_of.go
model_certification_details.go
model_certification_search.go
model_country.go
model_country_all_of.go
model_country_details.go
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is an example of using OAuth2 Implicit Flow in a specification to describe
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.4.2
- API version: 1.4.3
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -92,6 +92,7 @@ Class | Method | HTTP request | Description
*CertificationApi* | [**GetCertifications**](docs/CertificationApi.md#getcertifications) | **Get** /certifications | Get a list of all Certifations indepdenant of the Organization
*CertificationApi* | [**GetCertificationsForOrganization**](docs/CertificationApi.md#getcertificationsfororganization) | **Get** /organizations/{organizationId}/certifications | Get a list of all certifications for a organization
*CertificationApi* | [**MoveCertification**](docs/CertificationApi.md#movecertification) | **Put** /organizations/{organizationId}/certificates/{certificateId} | Move a Certification to an Organization
*CertificationApi* | [**SearchCertifications**](docs/CertificationApi.md#searchcertifications) | **Post** /certifications/search | Complex search over certification entities
*CertificationApi* | [**UpdateCertification**](docs/CertificationApi.md#updatecertification) | **Put** /certifications/{certificationId} | Update a Certification
*CertificationApi* | [**UpdatePersonCertification**](docs/CertificationApi.md#updatepersoncertification) | **Put** /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person
*CertificationApi* | [**UpdateSkillInCertification**](docs/CertificationApi.md#updateskillincertification) | **Put** /certifications/{certificationId}/skills/{skillId} |
Expand Down Expand Up @@ -247,6 +248,7 @@ Class | Method | HTTP request | Description
- [Certification](docs/Certification.md)
- [CertificationAllOf](docs/CertificationAllOf.md)
- [CertificationDetails](docs/CertificationDetails.md)
- [CertificationSearch](docs/CertificationSearch.md)
- [Country](docs/Country.md)
- [CountryAllOf](docs/CountryAllOf.md)
- [CountryDetails](docs/CountryDetails.md)
Expand Down
74 changes: 73 additions & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
description: This is an example of using OAuth2 Implicit Flow in a specification
to describe security to your API.
title: YASM (Yet Another Skill Management) API
version: 1.4.2
version: 1.4.3
servers:
- url: http://localhost:8080/api/v1
- url: https://dev-yasm.prodyna.com/api/v1
Expand Down Expand Up @@ -1140,6 +1140,50 @@ paths:
tags:
- Certification
- Skill
/certifications/search:
post:
operationId: searchCertifications
parameters:
- explode: true
in: query
name: skip
required: false
schema:
default: 0
example: 0
type: integer
style: form
- explode: true
in: query
name: limit
required: false
schema:
default: 20
example: 20
type: integer
style: form
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CertificationSearch'
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PagedCertifications'
description: OK
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: The specified resource was not found
summary: Complex search over certification entities
tags:
- Certification
/projects/search:
post:
operationId: searchProjects
Expand Down Expand Up @@ -3902,6 +3946,34 @@ components:
$ref: '#/components/schemas/SkillLevel'
type: array
type: object
CertificationSearch:
example:
certificationIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
skillIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
organizationIds:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
certificationIds:
items:
format: uuid
type: string
type: array
skillIds:
items:
format: uuid
type: string
type: array
organizationIds:
items:
format: uuid
type: string
type: array
type: object
Country:
allOf:
- $ref: '#/components/schemas/NamedDomainModel'
Expand Down
2 changes: 1 addition & 1 deletion api_availability.go

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

135 changes: 134 additions & 1 deletion api_certification.go

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

2 changes: 1 addition & 1 deletion api_country.go

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

Loading

0 comments on commit b2667e4

Please sign in to comment.