Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information