Giter VIP home page Giter VIP logo

Comments (5)

zircote avatar zircote commented on August 30, 2024

I would prefer this, and will need to look into it more. This then opens up other cases of @property-read, @property-write, @Property which each have an equal place of consideration here. I will look into how this might be done withini the confines of the Doctrine Annotations.

from swagger-php.

pietervogelaar avatar pietervogelaar commented on August 30, 2024

Is the property name also automatically detected? Instead of having to add the name attribute to @swg\Property ?

from swagger-php.

zircote avatar zircote commented on August 30, 2024

no, it still requires the property tag at this time. I will think on this a bit, if it detects without a tag then I will need to add an Exclude tag to prevent mass property additions. This should not be a problem though as it doesn't pose BC issues.

from swagger-php.

zircote avatar zircote commented on August 30, 2024

I misunderstood the last question and updated my response appropriately.

from swagger-php.

pietervogelaar avatar pietervogelaar commented on August 30, 2024

I'm not sure if that's necessary... If I add an annotation for Doctrine than the addition of @Orm\Column would produce an entity property, otherwise it would still be just some code property. Also the addition of @Orm\Column without a name attribute, produces a database column with the same name casing as the property. But I'm not entirely sure...

from swagger-php.

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.