Skip to content

Latest commit

 

History

History
190 lines (109 loc) · 5.85 KB

CHANGELOG.md

File metadata and controls

190 lines (109 loc) · 5.85 KB

0.9.12

  • fix OpenApi3_Missing_Property_Types #77
  • fix Error: The "path" argument must be of type string. Received type undefined #76

0.9.11

  • fix openApi 3.0 Response Type.
  • add option.validationModel description.

0.9.10

0.9.9

  • add Universal Generic TypeDefinition
  • add options.extendDefinitionFile options.extendGenericType example

0.9.7

  • fix: enum member cannot have numeric value

0.9.6

  • fix issue #63. remove special characters of serviceName and fieldName

0.9.5

  • fix requestBody in openApi3

0.9.4

  • fix #59 empty components in openApi v3.0

0.9.3

  • fix request name

0.9.2

  • Support OpenApi3.0

0.8.3

  • add docs for the useClassTransformer option by arkraft

  • fix: useCustomerRequestInstance template by xxbld

  • fix #48 by nbytes

0.8.1

  • Improve request params

  • Ignore generated file with tslint and eslint

  • Improve generic key issue45

  • Remove unused import PR44

0.8.0

0.7.4

0.7.3

0.7.2

0.7.0

  • Add ISwaggerOptions.modelMode, default is interface, it can help us streamline the code generate
  • Improve code generate size(40%)

0.6.0

  • Add ISwaggerOptions.strictNullChecks, default is true, it's match with tsconfig.json

  • Fix issue 29

0.5.7

0.5.5

  • Support typescript strict mode issue 23

0.5.3

  • Fix enum.map is not a function issue 20
  • Fix class properties was empty issue 20

0.5.2

0.5.0

  • add custom formatter

0.4.2

  • Fix include filter

0.4.0

  • Support Service filter and Service[method] filter. for example like this, or use cd example && yarn build:api-include
    let include = [
      'Products', // tagName
      'Estimates',//tagName
      { 'User': ['history'] }
    ]
    codegen({
      methodNameMode: 'path',
      source: require('../swagger.json'),
      outputDir: './swagger/services',
      include
    })

0.3.4

  • Fix array of number enums issue 9

0.3.3

  • Support custom axios.instance (issue 6 with kt81)
  • Support other support similar to the axios library, for example Fly.js, required setting ISwaggerOptions.useCustomerRequestInstance = true
  • Add ISwaggerOptions.serviceNameSuffix ,use for customize Service class suffix
  • ISwaggerOptions.useStaticMethod = true is default
  • Optimize overall code implementation and logic
  • Fixes issue 2 issue 3
  • Please refer to example(e.g. tsconfig.jsonnpm script

0.2.14

  • Adds support of primitive response types (bbc907 by kt81)

0.2.13

  • Upgrade example,adding an demo of using 'operationId' as the method name
  • Fix the exception of definition "let data = null" in the request mothod when using Typescript3.0.0 (b0dad90 by kt81)

0.2.12

  • Fixed bug where schema.type would not be recognized (2964ff0 by @mingoes)

0.2.11

  • Fixed Enumeration case conversion

0.2.9

  • Fixed A non-file parameter can be submitted correctly using 'FormData'

0.2.7

  • Optimization: Optimize generation rules when an property of the entity is an enumerated array example
  • Fixed Skip the current method when the tags are empty

0.2.6

  • Adjust the generated class name

0.2.5

  • Use ‘Promise’ instead of ‘AxiosPromise’. If the interface is called successfully, the response.data is returned by default.
  • Modify REANDME.md