Skip to content
New issue

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

No "type" specified at "/paths/~1test/post/parameters/0". Automatically detected: "object" #36

Open
fish-train opened this issue Jul 21, 2021 · 2 comments

Comments

@fish-train
Copy link

fish-train commented Jul 21, 2021

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

@remi-dupre
Copy link

Hello !

This comes from the default used version of redoc being rather old. As suggested by #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 🥳

@fish-train
Copy link
Author

Hi!

I am using this:

redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants