Skip to content

Releases: SoliDry/api-generator

Change *Controller generation to save user-land code

24 Feb 08:05
Compare
Choose a tag to compare
  • DefaultController user-land code preservation
  • *Controller user-land code preservation
  • refactor GeneratorTrait excluding HistoryTrait

Preserve custom business logic in regenerated content

23 Feb 12:18
Compare
Choose a tag to compare

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

31 Jan 19:00
Compare
Choose a tag to compare

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

26 Jan 15:42
Compare
Choose a tag to compare

Add rollback option to command for total system recover either by steps, time or just to the last state

17 Jan 18:19
Compare
Choose a tag to compare
2.3.6

#129. Add rollback system ability for rollback="2019-02-15 15:16:17"

Create dir for tests/functional before tests generation

18 Dec 11:21
Compare
Choose a tag to compare

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

11 Dec 20:33
Compare
Choose a tag to compare
2.3.41

#122. Change readme - mistakes and generated dirs correction

Add validation rules for required and custom fields

03 Dec 17:34
Compare
Choose a tag to compare
2.3.4

#118. Add validate method to check custom and required types

OpenAPI spec implementation + tests

02 Dec 14:33
Compare
Choose a tag to compare
2.3.3

#121. Change badges to api-generator + codecov + fix tests

Refactor Middleware entities -> FormRequest, remove needless null assigment from props

16 Nov 19:22
Compare
Choose a tag to compare
2.3.2

#117. Remove null assignment from props + 2 images