env0 / env0/serverless-openapi-typescript
Post requestBody not showing/generating
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to add request body here for my post endpoint, I cannot, I have tried requestBody property and nothing.
As seen in the picture I've been able to add it manually in the json output but not from the yml config file

```yml
endpoints:
createPerson:
summary: Crear personaje
description: Crea un personaje nuevo en la BD.
requestBody:
description: "Body param"
requestModels:
application/json: RequestObject
```
Basically this object is not being generated I have to add it manually for it to work

Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by tracing how the endpoints YAML configuration maps to the generated JSON, focusing on the requestBody and requestModels fields; done when the configured request body appears in the generated OpenAPI output without manual edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100