Code Monkey home page Code Monkey logo

Comments (6)

brenovieira avatar brenovieira commented on May 13, 2024

Same problem here. 'Client': member names cannot be the same as their enclosing type

Please edit issue title to "Client" instead of "Clint" (typo).

from autorest.

jmalczak avatar jmalczak commented on May 13, 2024

Where is the source code of autorest.exe tool? I can't locate it in source control?

from autorest.

matt-gibbs avatar matt-gibbs commented on May 13, 2024

Source code is still in private source control. We will get it here in a couple of weeks.

from autorest.

matt-gibbs avatar matt-gibbs commented on May 13, 2024

@jmalczak Is your repro the same as @brenovieira? If not, can you please attach your swagger. We have a fix for the other repro, but want to make sure it covers what you are seeing too.

from autorest.

jmalczak avatar jmalczak commented on May 13, 2024

Hey

Unfortunately I can't attach swagger.json, but my case is really simple, one of the services was accessible via http://url/client and due to that generated client class was named Client. I can confirm that it's working when you will publish fix though.

from autorest.

stankovski avatar stankovski commented on May 13, 2024

@jmalczak
The Client name is based on the title field in swagger. Try changing the title and reopen the issue if it is not resolved.

from autorest.

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.