datamodel-code-generator
datamodel-code-generator copied to clipboard
generate request body
trafficstars
Can datamodel-code-generator generate request body?
If not, could you add this feature?
pydantic_core._pydantic_core.ValidationError: 1 validation error for Config
openapi_scopes.1
Input should be 'schemas', 'paths', 'tags' or 'parameters' [type=enum, input_value='requestBodies', input_type=str]
@Rogalek
Hello The quick answer is no.
What do you mean by request body? Can you give an example of expected behavior?
@Rogalek I'm sorry for my late response.
Did you talk about this? https://swagger.io/docs/specification/describing-request-body/ We can set a tag as a feature request.
@koxudaxi yes I was talking about this.