🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

swagger-axios-codegen

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-axios-codegen - npm Package Versions

1
1113
16

0.5.4

Diff
manweill
published 0.5.4 •
manweill
published 0.5.3 •

Changelog

Source

0.5.3

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

Changelog

Source

0.5.2

manweill
published 0.5.1 •
manweill
published 0.5.0 •

Changelog

Source

0.5.0

  • add custom formatter
manweill
published 0.4.2 •

Changelog

Source

0.4.2

  • Fix include filter
manweill
published 0.4.1 •
manweill
published 0.4.0 •

Changelog

Source

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
    })
    
manweill
published 0.3.4 •

Changelog

Source

0.3.4

  • Fix array of number enums issue 9
manweill
published 0.3.3 •

Changelog

Source

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