cnizzardini / cakephp-swagger-bake

Automatically generate OpenAPI, Swagger, and Redoc documentation from your existing CakePHP code.
http://cakephpswaggerbake.cnizz.com/
MIT License
59 stars 20 forks source link

Adds support for json type #511

Closed cnizzardini closed 1 year ago

cnizzardini commented 1 year ago

Adds support for CakePHP/MySQL data type of JSON with the following OpenAPI schema:

json_field:
  oneOf:
    - type: object
    - type: array
      items: []

Ref: #507

Misc: Cleans up some annotations in tests.