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

Property htmlTemplate is not expected here. #2553

Open
mykelscappin opened this issue Jun 21, 2024 · 3 comments
Open

Property htmlTemplate is not expected here. #2553

mykelscappin opened this issue Jun 21, 2024 · 3 comments

Comments

@mykelscappin
Copy link

Describe the bug
When executing redocly build-docs -o output.php on terminal, i get this unexpected output

[1] redocly.yaml:26:5 at #/theme/openapi/htmlTemplate

Property `htmlTemplate` is not expected here.

24 | theme:
25 |   openapi:
26 |     htmlTemplate: redoc_template/index.php
27 |

Warning was generated by the configuration spec rule.


⚠️ Your config has 1 warning.
Found redocly.yaml and using theme.openapi options

Expected behavior
This error should not be happening - that configuration in redocly.yaml seems to be correct and supported as per all the documentation.

Minimal reproducible OpenAPI snippet(if possible)
n/a

Screenshots
n/a

Additional context
n/a

@AuroraJMP
Copy link

I'm seeing the same with pathInMiddlePanel

@tcamise-gpsw
Copy link

tcamise-gpsw commented Jul 1, 2024

I'm seeing this with several options after moving from 1.12.0 to 1.17.0. Was there some type of configuration overhaul? I don't see anything in the docs.

I also tried converting the setting names to kebab case as requested but same behavior

@lornajane
Copy link
Contributor

Thanks for letting us know about this. We did change something in the config parsing - I recommend you pin to an older version for now for using existing configuration, I expect 1.14 to be a good version, but please report back if that doesn't help! We'll keep you posted with more information when we have it.

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

No branches or pull requests

4 participants