redoc
redoc copied to clipboard
No "type" specified at "/paths/~1test/post/parameters/0". Automatically detected: "object"
Hi!
I used OpenAPI 3.0.1,
I have a warning for parametres with type "integer", "string" and etc:
No "type" specified at "/paths/~1test/post/parameters/0". Automatically detected: "object"
For examle:
- name: projectId in: query required: true schema: type: integer format: int64
Hello !
This comes from the default used version of redoc being rather old. As suggested by https://github.com/sphinx-contrib/redoc/issues/39 it is possible to manually override it by adding this in your configuration file :
redoc_uri = 'https://unpkg.com/[email protected]/bundles/redoc.standalone.js'
This fixed the issue for me :partying_face:
Hi!
I am using this:
redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'