mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
79 lines
1.7 KiB
Plaintext
79 lines
1.7 KiB
Plaintext
|
<Location "/v2/pet">
|
||
|
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 group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
<Limit PUT>
|
||
|
Require group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
</Location>
|
||
|
<Location "/v2/pet/*">
|
||
|
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 group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
<Limit POST>
|
||
|
Require group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
</Location>
|
||
|
<Location "/v2/pet/findByStatus">
|
||
|
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 group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
</Location>
|
||
|
<Location "/v2/pet/findByTags">
|
||
|
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 group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
</Location>
|
||
|
<Location "/v2/pet/*/uploadImage">
|
||
|
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 group write:pets
|
||
|
Require group read:pets
|
||
|
</Limit>
|
||
|
</Location>
|