Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Dec 10, 2021
1 parent 9cc7272 commit 21f5806
Show file tree
Hide file tree
Showing 116 changed files with 346 additions and 698 deletions.
4 changes: 1 addition & 3 deletions 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: 0.9.8
- API version: 0.9.9
- Package version: 0.0.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -81,7 +81,6 @@ Class | Method | HTTP request | Description
*AvailabilityApi* | [**CreateAvailability**](docs/AvailabilityApi.md#createavailability) | **Post** /persons/{personId}/availabilities | Create a availability for a person
*AvailabilityApi* | [**DeleteAvailability**](docs/AvailabilityApi.md#deleteavailability) | **Delete** /persons/{personId}/availabilities/{availabilityId} | Delete a person availability
*AvailabilityApi* | [**GetAvailabilities**](docs/AvailabilityApi.md#getavailabilities) | **Get** /persons/{personId}/availabilities | Get a list of all activities for a person
*AvailabilityApi* | [**GetAvailabilitiesCalculated**](docs/AvailabilityApi.md#getavailabilitiescalculated) | **Get** /persons/{personId}/availabilities/calculated | Get a list of all activities for a person for a given time persion, calculated on server side
*AvailabilityApi* | [**UpdateAvailability**](docs/AvailabilityApi.md#updateavailability) | **Put** /persons/{personId}/availabilities/{availabilityId} | Update a person availability
*CertificationApi* | [**AddPersonCertification**](docs/CertificationApi.md#addpersoncertification) | **Post** /persons/{personId}/certifications/{certificationId} | Add Certification to a Person
*CertificationApi* | [**AddSkillToCertification**](docs/CertificationApi.md#addskilltocertification) | **Post** /certifications/{certificationId}/skills/{skillId} |
Expand Down Expand Up @@ -158,7 +157,6 @@ Class | Method | HTTP request | Description
*PersonApi* | [**DeletePersonSkillExperiences**](docs/PersonApi.md#deletepersonskillexperiences) | **Delete** /persons/{personId}/experiences | Remove an Skill Experience to a Person
*PersonApi* | [**GeneratePersonProfile**](docs/PersonApi.md#generatepersonprofile) | **Get** /persons/{personid}/profile | Generate a PDF profile from a Person
*PersonApi* | [**GetAvailabilities**](docs/PersonApi.md#getavailabilities) | **Get** /persons/{personId}/availabilities | Get a list of all activities for a person
*PersonApi* | [**GetAvailabilitiesCalculated**](docs/PersonApi.md#getavailabilitiescalculated) | **Get** /persons/{personId}/availabilities/calculated | Get a list of all activities for a person for a given time persion, calculated on server side
*PersonApi* | [**GetPerson**](docs/PersonApi.md#getperson) | **Get** /persons/{personId} | Get basic info about a person
*PersonApi* | [**SearchPersons**](docs/PersonApi.md#searchpersons) | **Post** /persons/search | Complex search over person entities
*PersonApi* | [**UpdateAvailability**](docs/PersonApi.md#updateavailability) | **Put** /persons/{personId}/availabilities/{availabilityId} | Update a person availability
Expand Down
84 changes: 15 additions & 69 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
description: This is an example of using OAuth2 Implicit Flow in a specification
to describe security to your API.
title: YASM (Yet Another Skill Management) API
version: 0.9.8
version: 0.9.9
servers:
- url: /api/v1
security:
Expand Down Expand Up @@ -2531,62 +2531,7 @@ paths:
tags:
- Person
- Availability
/persons/{personId}/availabilities/calculated:
get:
operationId: getAvailabilitiesCalculated
parameters:
- explode: false
in: path
name: personId
required: true
schema:
format: uuid
type: string
style: simple
- explode: true
in: query
name: startDate
required: true
schema:
format: date
type: string
style: form
- explode: true
in: query
name: periodDays
required: false
schema:
default: 7
example: 7
type: integer
style: form
- explode: true
in: query
name: numberOfPeriods
required: false
schema:
default: 10
example: 10
type: integer
style: form
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PagedAvailabilities'
description: OK
default:
content:
application/json:
schema:
$ref: '#/components/schemas/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:
- Person
- Availability
/persons/{personId}/availabilities/calculated: {}
/persons/{personId}/availabilities/{availabilityId}:
delete:
operationId: deleteAvailability
Expand Down Expand Up @@ -3299,6 +3244,9 @@ components:
level: 1
- level:
level: 1
availabilities:
- percent: 8.008281904610115
- percent: 8.008281904610115
industries:
- null
- null
Expand Down Expand Up @@ -3348,6 +3296,10 @@ components:
type: array
office:
$ref: '#/components/schemas/Office'
availabilities:
items:
$ref: '#/components/schemas/AvailabilityDetail'
type: array
type: object
PersonSearch:
example:
Expand Down Expand Up @@ -3750,16 +3702,14 @@ components:
properties:
min:
example: 0
format: int32
maximum: 100
minimum: 0
type: number
type: integer
max:
example: 100
format: int32
maximum: 100
minimum: 0
type: number
type: integer
type: object
MinMax:
example:
Expand All @@ -3768,12 +3718,10 @@ components:
properties:
min:
example: 0
format: int32
type: number
type: integer
max:
example: 100
format: int32
type: number
type: integer
type: object
Seniority:
enum:
Expand Down Expand Up @@ -3857,14 +3805,12 @@ components:
type: string
experienceSinceYear:
example: 2010
format: int32
type: number
type: integer
onsiteRatio:
example: 20
format: int32
maximum: 100
minimum: 0
type: number
type: integer
picture:
description: base64 encoded image
type: string
Expand Down
136 changes: 1 addition & 135 deletions api_availability.go

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

2 changes: 1 addition & 1 deletion api_certification.go

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

2 changes: 1 addition & 1 deletion api_country.go

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

2 changes: 1 addition & 1 deletion api_industry.go

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

2 changes: 1 addition & 1 deletion api_language.go

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

2 changes: 1 addition & 1 deletion api_office.go

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

2 changes: 1 addition & 1 deletion api_organization.go

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

Loading

0 comments on commit 21f5806

Please sign in to comment.