mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
3c0623cce1
* - Added Restbed Generator * - Added Json processing functions to model - Removed unnused code from restbed codegen class - Added response header processing to api template * Changed it to respect alphabetical order * Made the string joining java 7 compatible * Added samples * Auto stash before merge of "master" and "origin/master" * added missing apache2 config gen in services file * - Added new Config Type - Added Samples - Added sample generating scripts - Renamed Apache2Confgen to Apache2ConfigCodegen * - Added Samples - Added new config type - Added sample generating scripts - Renamed Apache2Confgen to Apache2ConfigCodegen
85 lines
1.8 KiB
Plaintext
85 lines
1.8 KiB
Plaintext
<Location "/v2/user">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit POST>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|
|
<Location "/v2/user/createWithArray">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit POST>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|
|
<Location "/v2/user/createWithList">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit POST>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|
|
<Location "/v2/user/*">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit DELETE>
|
|
Require valid-user
|
|
</Limit>
|
|
<Limit GET>
|
|
Require valid-user
|
|
</Limit>
|
|
<Limit PUT>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|
|
<Location "/v2/user/login">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit GET>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|
|
<Location "/v2/user/logout">
|
|
AuthBasicProvider file
|
|
AuthUserFile "/var/www/html/htpwd"
|
|
AuthGroupFile "/var/www/html/groups"
|
|
AuthType basic
|
|
AuthName "api"
|
|
<LimitExcept GET POST PUT DELETE>
|
|
Require valid-user
|
|
</LimitExcept>
|
|
<Limit GET>
|
|
Require valid-user
|
|
</Limit>
|
|
</Location>
|