# Bug OP-9635 - OpenAPI Specs not OpenAPI 3.0 compatible

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9635

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2021-12-23 –  |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.0 |
| Observed in versions | 12.0.0 |
| Sprint | 12.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Current API spec from [https://community.openproject.org/api/v3/spec.yml](https://community.openproject.org/api/v3/spec.yml)

Current version of openapi-generator-cli 5.4.0 (docker image)

### **Logs**

log is attached

### **Steps to reproduce:**

1.  download https://community.openproject.org/api/v3/spec.yml
2.  docker pull openapitools/openapi-generator-cli &amp;&amp; docker run --rm --user $(id -u):$(id -g) -v ${PWD}:/local openapitools/openapi-generator-cli generate -g typescript-axios $OPTIONS -i /local/spec.yml  -o /local/generated\_api\_client

### **Actual Behavior**

First error line:

Exception in thread &quot;main&quot; org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).  
| Error count: 1, Warning count: 63  
Errors:   
\-attribute components.schemas.Link.examples is unexpected  
After deleting the examples from the Link schema and run the container again I get the attached log with lots of errors. Including wrong types.

### **Expected Behavior**

The API spec should be valid so that the generator does not show
