Giter Site home page Giter Site logo

Comments (15)

mrlubos avatar mrlubos commented on May 24, 2024

@Stono just to confirm, do you know if this is also a problem in the original package?

from openapi-ts.

Stono avatar Stono commented on May 24, 2024

I would believe so yes, as the location of the model generation hasn't changed

from openapi-ts.

mrlubos avatar mrlubos commented on May 24, 2024

@Stono is naming important to you or would you be okay with names like Model, Model2? (append number if conflict) or would you prefer namespaces and having multiple imports, e.g. import type { Model } from 'client/foo/bar'?

from openapi-ts.

jordanshatford avatar jordanshatford commented on May 24, 2024

@Stono could you provide your openapi spec?

cc @mrlubos : this will become an issue now that we us 1 models file?

from openapi-ts.

Stono avatar Stono commented on May 24, 2024

from openapi-ts.

mrlubos avatar mrlubos commented on May 24, 2024

@jordanshatford the issue existed prior to having a single file and continues to exist with that change, it had no impact on this issue

from openapi-ts.

mrlubos avatar mrlubos commented on May 24, 2024

@Stono bump

from openapi-ts.

jordanshatford avatar jordanshatford commented on May 24, 2024

@mrlubos this ticket has gone stale. It's been 20 days. We likely close this and new one can be opened if needed

from openapi-ts.

Stono avatar Stono commented on May 24, 2024

from openapi-ts.

mrlubos avatar mrlubos commented on May 24, 2024

Little flex @Stono 😂 okay, whenever you have time, would like to understand what's the correct solution for this

from openapi-ts.

Stono avatar Stono commented on May 24, 2024

Haha yeah little flex, was awesome.

I actually think my issue is with nestjs's swagger generation; i'm going to raise an issue on their repo and crosslink here so you can have a read.

I don't think there's anything this project can do as you're just acting on the swagger which is generated by nest and subsequently invalid, so feel free to close the issue!

from openapi-ts.

Stono avatar Stono commented on May 24, 2024

Unfortunately I can't use this library any more anyway because of the ESM dependency :-(

from openapi-ts.

jordanshatford avatar jordanshatford commented on May 24, 2024

@Stono we do plan to support both ESM and CommonJS. I am looking into it and hope to have both supported soon

from openapi-ts.

jordanshatford avatar jordanshatford commented on May 24, 2024

ref: #409 to support commonjs again

from openapi-ts.

mrlubos avatar mrlubos commented on May 24, 2024

@Stono All good now?

from openapi-ts.

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.