Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swagger-axios-codegen

Package Overview
Dependencies
Maintainers
1
Versions
149
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
15

0.4.2

Diff

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
manweill
published 0.3.2 •

manweill
published 0.3.1 •

manweill
published 0.3.0 •

manweill
published 0.2.14 •

Changelog

Source

0.2.14

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

Changelog

Source

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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc