Code Monkey home page Code Monkey logo

Comments (7)

sergioooo avatar sergioooo commented on July 24, 2024 1

Man you are fast :D I just tested this and can confirm it works flawlessly. Thx! Great work!

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

You can submit a PR and I can work with you on getting a release out @sergioooo

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

I have not use mysql json type in an API before. What is the expected return format? Is it a string or an object?

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

I played around with this. CakePHP will return whatever type you have in the json column, which can be either object or array. Not exactly sure how to specify that correctly given this is essentially an adhoc field.

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

@sergioooo See if #511 works in your application. You should be able to test locally by modifying your composer.json with this:

"cnizzardini/cakephp-swagger-bake": "dev-issue/507-json-sql-type",

And then running

composer update cnizzardini/cakephp-swagger-bake

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

https://github.com/cnizzardini/cakephp-swagger-bake/releases/tag/v2.5.4

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

ty np

from cakephp-swagger-bake.

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.