# Bug OP-9806 - API Description and OpenAPI Spec not consistent

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.5.0 |
| Observed in versions |  |
| Sprint | 14.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 | Eric Schubert |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### **Environment**:

Your OpenProject Version: 12.0

Operating System / Browser / OpenProject language: Linux/Chromium

### **Logs**

\-

### **Steps to reproduce:**

1.  Go to https://www.openproject.org/docs/api/endpoints/work-packages/#work-package-create-form-for-project
2.  Call the API call vai curl, POSTMAN, browser. It will return the form description (I additionally wonder why this is a POST op and not a GET)
3.  look at the API description and read the OpenAPI specs for it. Maybe run a c code generator (OpenAPI Generator) for this call an check the signatures of the generates function.

### **Actual Behavior**

The API description and the OpenAPI does not show, that the function returns anything.

### **Expected Behavior**

OpenAPI specs need to be fixed to reflect that the API call return a form description.
