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
Unrecognized property ‘documentation’ #8438
Comments
Hi @ping2ravi , thanks for reporting your issue. The Serverless framework does indeed implement an As of today, you can add in Adding plugin specific variables to the schema validation using documentation linked above would be the way to go to ensure no warning message are displayed anymore. You can for exemple add the following to https://github.com/deliveryhero/serverless-aws-documentation/blob/master/src/index.js
The API limits plugin addition to @medikoo do you think, for this use case for example, that an additional method
|
This issue is about same issue as we discuss at #8422, I'm going to close it, and let's follow discussion over there. |
Duplicate of #8422 |
@medikoo this issue is not a duplicate from #8422
Made a PR to show you what I mean |
@fredericbarthelet thanks for pointing, in that case we may treat it as duplicate of #8458 |
@fredericbarthelet @medikoo Do we have a fix for this in place? |
this issue has a solution over at stack
|
NOTE:
In my server.yml i am defining API documentation as per https://www.serverless.com/plugins/serverless-aws-documentation
I have documentation plugin installed and added like this
I have function defined like in serverless section below
also under custom i have Models defined properly.
This was working until serveress version 2.5.0 but when upgraded to 2.8.0 it started giving out following errors.
I looked into previous releases of serverless and 2.6.0 release caught my attention as its adding a schema validation for http event type and it doesnt handle this particular plugin yaml tags.
To be more specific this pull request has broken it
#8301
I rolled back my environment to 2.5.0 and it started working again
Working ENV (No issue)
Problematic ENV (causes unrecognized property ‘documentation’)
serverless.yml
sls deploy
outputInstalled version
The text was updated successfully, but these errors were encountered: