Forum Discussion
pb9034
10 months agoNew Contributor
want to use description input to be text or image according to my need as postman provides option to chose between text or file
using like this:
content:
* multipart/form-data:
* schema:
* type: object
* properties:
* title:
* type: string
* example: sample title
* resource_type:
* type: integer
* enum: [1, 2, 3]
* example: 2
* description:
* type: string
* format: binary
* description: File upload for resource_type 2 or 3
* category_id:
* type: integer
* example: 1