Code Monkey home page Code Monkey logo

Comments (7)

jordanshatford avatar jordanshatford commented on June 17, 2024 1

@evgarthub The windows issue should be fixed in our fork https://github.com/hey-api/openapi-ts. We have also added support for interceptors, so if you would like to do something like this you can see examples in this ticket:

hey-api/openapi-ts#76

from openapi-typescript-codegen.

mrlubos avatar mrlubos commented on June 17, 2024

@evgarthub I think we'd want a separate parameter for this. It's a breaking change in Axios, therefore it should be a breaking change in this package, too.

from openapi-typescript-codegen.

evgarthub avatar evgarthub commented on June 17, 2024

@mrlubos do you mean we should extend config with WITH_XSRF_TOKEN?

from openapi-typescript-codegen.

mrlubos avatar mrlubos commented on June 17, 2024

Sounds like it. I'd need to dig more into it, but if this feature is only available in Axios, config should also have that flag only when using Axios client. That's what it looks like to me right now

from openapi-typescript-codegen.

evgarthub avatar evgarthub commented on June 17, 2024

I'm not able to run any tests, or rather they are failing because of #2052 issue (I'm on Windows).

from openapi-typescript-codegen.

evgarthub avatar evgarthub commented on June 17, 2024

Hi @jordanshatford ! Thanks for offering a solution! But it's already been fixed in this repo.

from openapi-typescript-codegen.

mrlubos avatar mrlubos commented on June 17, 2024

@evgarthub yes, except it isn't actively maintained and still has many other bugs that are fixed in openapi-ts #2064

from openapi-typescript-codegen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.