Skip to content
#

restful

Here are 2,420 public repositories matching this topic...

runyan
runyan commented Dec 22, 2017

Environment

  • blade: 2.0.5-RELEASE
  • jdk: 1.8.0_111
  • maven: 3.3.9
  • OS: Windows 7 Home Basic

Description

When I tried to upload a file, an java.lang.UnsupportedOperationException: direct buffer raised, so that the upload operation cannot be done. The full exception stack is as follows:

java.lang.UnsupportedOperationException: direct buffer
	at io.netty.buffer.Po
nik2208
nik2208 commented Feb 7, 2022

Could be useful to add (beside dbAuth.usernameColumn and dbAuth.passwordColumn) the possibility to configure the request fields (like dbAuth.usernameRequestField) to bind a specific request filed to the relative column of the auth table.

If I'm not mistaken the current state imposes username and password as mandatory fields for the request.

Anogio
Anogio commented Jun 30, 2020

Flask-restx uses ujson for serialization by default, falling back to normal json if unavailable.
As has been mentioned before ujson is quite flawed, with some people reporting rounding errors.

Additionally, ujson.dumps does not take the default argument, which allows one to pass any custom method as the serializer. Since my project uses some custom serialization, I have been forced t

Improve this page

Add a description, image, and links to the restful topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the restful topic, visit your repo's landing page and select "manage topics."

Learn more