Releases: SoliDry/api-generator
Releases · SoliDry/api-generator
Change *Controller generation to save user-land code
- DefaultController user-land code preservation
- *Controller user-land code preservation
- refactor GeneratorTrait excluding HistoryTrait
Preserve custom business logic in regenerated content
Preserve custom business logic in regenerated content. It means that if --regenerate
not used, then generator will save all data between special comments:
// >>>props>>>
// <<<props<<<
// >>>methods>>>
// <<<methods<<<
Refactor request methods to return Response object
For Laravel context it is more properly to return Illuminate\Http\Response
object from API methods supporting headers and data types e.g. json. Although this change do not modify any output data, it will be more stable/reliable architecture to cope with.
Add OPTIONS http request method to let developers get an available http methods
2.3.7 #130. Fix Content-Type headers
Add rollback option to command for total system recover either by steps, time or just to the last state
2.3.6 #129. Add rollback system ability for rollback="2019-02-15 15:16:17"
Create dir for tests/functional before tests generation
Also:
- Fix catch exceptions to Command->error
- Change ramlFile semantics in code to more abstract filePath
- Add reflexive check on all --merge options to recognize missing properties history->current
Change move ApiAccessToken to Modules/{ModuleName}/Http/Requests
2.3.41 #122. Change readme - mistakes and generated dirs correction
Add validation rules for required and custom fields
2.3.4 #118. Add validate method to check custom and required types
OpenAPI spec implementation + tests
2.3.3 #121. Change badges to api-generator + codecov + fix tests
Refactor Middleware entities -> FormRequest, remove needless null assigment from props
2.3.2 #117. Remove null assignment from props + 2 images