This document describes the relevant changes between releases of the API metamodel.
-
Fix conversion of errors to JSON so that the
kind
attribute is generated correctly.
-
Add semantic checks.
-
Add support for default values.
-
Check default values of paging parameters.
-
Improve parsing of initialisms.
-
Fix the method not allowed code.
-
Send not found when server returns
nil
target. -
Generate service and version servers.
-
Don’t generate files with execution permission.
-
Generate shorter adapter names.
-
Use constants from the
http
package. -
Shorter read and write names.
-
Rename
SetStatusCode
toStatus
. -
Improve naming of variables.
-
Set default status.
-
Move errors and helpers generators to separate files.
-
Keep concepts sorted by name.
-
Don’t generate empty
const
block for errors. -
Add
Copy
method to builders.
-
Explicitly enable Go modules so that the build works correctly when the project is located inside the Go path.
-
Fix generation of field names for query parameters.
-
Remove
query
andpath
fields from request objects. -
Remove unused imports.
-
Added new
check
command that loads and checks the model but doesn’t generate any code.