-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fix type of StaticDocumentSpec.document in index.d.ts #328
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
51b273a
to
38bd561
Compare
38bd561
to
1e9f8e6
Compare
1e9f8e6
to
40e7f99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Hi, is there anything left I need, can or have to do for this pull request? |
@radzom nothing else on your end I believe. We do our merges and releases manually so whenever that happens for this plugin your work will be completed and released. Thank you for contributing 😄 |
Landed :) |
* refactor: better file structure - reduce the number of files in root folder * refactor: extract common function - hook - formatParamUrl - consumesFormOnly - plainJsonObjectToSwagger2 - localRefResolve * refactor: split dynamic handle to swagger and openapi * feat: add openapi 3 support * test: add openapi 3 test case * feat: update openapi from 3.0.0 to 3.0.3 * refactor: typo - properyName to propertyName * refactor: more clear argument - h to headers * refactor: use map instead of reduce * refactor: use done instead of next * refactor: group functions - remove getQueryParams, getPathParams, getHeaderParams, getFormParams - add getParams * refactor: genResponse to generateResponse * chore: remove invalid comment * refactor: better structure - split util to dynamicUtil, OpenapiUtil, swaggerUtil - extract inline function from openapi and swagger * feat: generate response according to produces * feat: use package json as default info * refactor: better cache name * chore: add comment to address different issue * feat: add oneOf, allOf, anyOf support in query, header, path, formData * Fix type of StaticDocumentSpec.document (#328) * refactor: better file structure - reduce the number of files in root folder * refactor: extract common function - hook - formatParamUrl - consumesFormOnly - plainJsonObjectToSwagger2 - localRefResolve * refactor: split dynamic handle to swagger and openapi * feat: add openapi 3 support * test: add openapi 3 test case * feat: update openapi from 3.0.0 to 3.0.3 * refactor: typo - properyName to propertyName * refactor: more clear argument - h to headers * refactor: use map instead of reduce * refactor: use done instead of next * refactor: group functions - remove getQueryParams, getPathParams, getHeaderParams, getFormParams - add getParams * refactor: genResponse to generateResponse * chore: remove invalid comment * refactor: better structure - split util to dynamicUtil, OpenapiUtil, swaggerUtil - extract inline function from openapi and swagger * feat: generate response according to produces * feat: use package json as default info * refactor: better cache name * chore: add comment to address different issue * feat: add oneOf, allOf, anyOf support in query, header, path, formData * refactor: better argument name * feat: add cookies schema support for openapi 3 * fix: typo * chore: add openapi typings * docs: add openapi support docs * docs: update as suggestion * fix: openapi Co-authored-by: radzom <[email protected]>
Closes #327
The type of the property 'document' in the interface StaticDocumentSpec in the file 'index.d.ts' was formerly specified as 'string' and was corrected to object.
I think one could even specify it as one of
Are there other versions that would then need to be supported?
Checklist
npm run test
andnpm run benchmark
and the Code of conduct