Adrien Marquès
6218327fd2
expand internal/config test coverage
...
- make parameter type "?" invalid as it marks it as optional only
- check optional vs. required parameters
- test subservice in method description error check
2019-11-21 22:18:00 +01:00
Adrien Marquès
52b42e479a
parameter name conflict: on rename conflicting rename, return original name
2019-11-21 21:34:25 +01:00
Adrien Marquès
19e203c364
refactor internal/config
...
- create cerr (constant errors) with wrapped context (service name, method, parameter name)
- fix comments numbering
- remove duplicate check
2019-11-21 21:29:23 +01:00
Adrien Marquès
7e66b6ddd5
ref 0: big refactor of concerns between api request, server, etc
2019-05-01 13:44:45 +02:00
Adrien Marquès
8109f57d15
ref 0: internal.apidef becomes internal.config + refactoe
2019-05-01 10:29:23 +02:00
Adrien Marquès
7bcbefdf35
rename 'internal/config' to 'internal/api' | rename 'internal.api.Load()' to 'internal.api.Parse()'
2018-10-01 14:15:00 +02:00
Adrien Marquès
3feae783dc
add driver management + moved implementation of default driver into 'driver/plugin'
2018-09-27 13:43:36 +02:00
Adrien Marquès
1aee9e92fd
rename package 'request' -> 'apirequest' ; 'config' -> 'controller' + main types.go bundled into server.go + made attributes non-exported (lowercase)
2018-07-11 01:36:42 +02:00
Adrien Marquès
6784c2df95
moved local imports into 'internal' parent package
2018-07-09 00:10:03 +02:00