We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I have a POST body of type file:
post: displayName: Upload an image queryParameters: filename: required: false type: string (builtinType): string headers: Content-Type: type: string (builtinType): string required: true body: type: file fileTypes: - "image/jpeg" - "image/png" - "image/gif"
The RAML Doc generator turns it to application/json:
application/json
body: application/json: fileTypes: - "image/jpeg" - "image/png" - "image/gif" type: file (builtinType): file
The type stays as it was:
body: type: file fileTypes: - "image/jpeg" - "image/png" - "image/gif"
The text was updated successfully, but these errors were encountered:
I've found a workaround in the Docs Kit.
Sorry, something went wrong.
No branches or pull requests
Context
When I have a POST body of type file:
Current behavior
The RAML Doc generator turns it to
application/json
:Expected behavior
The type stays as it was:
The text was updated successfully, but these errors were encountered: