This repository was archived by the owner on Jun 23, 2022. It is now read-only.
Releases: chaplean/api-client-bundle
Releases · chaplean/api-client-bundle
1.3.0
New features:
- Add a
getNameinAbstractApi, by default it returns the snake_case class name. It's used in the new feature ofenable_database_loggingandenable_email_logging(see below). - New values possible for
enable_database_loggingandenable_email_logging, you can list the names of the APIs (see newAbstractApi:getName) that you want enabled or not.- Possible values:
~: active logging for all API- Deprecated
true: same~ ['foo_api']: active logging only forfoo_api['!foo_api']: disable logging only forfoo_api- key not present: disable logging for all
- Possible values:
1.2.0
1.1.0
New features:
- There is a new type of Parameter: enum. #2
- You can now allow extra fields in an ObjectParameter. #3
- You can now define a global suffix to the route url. It works like the global prefix. #3
- When defining your routes, previously you could only use an ObjectParameter as the base type (using a associative array). You can now also use any kind of Parameter. #4
1.0.0
New features:
- Define client for a rest api by describing the api endpoints
- Log requests sent to this api by sending email and/or storing a log in the database