Skip to content

Commit

Permalink
docs: Add documentation for glob matching
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Liebowitz <[email protected]>
  • Loading branch information
rliebz authored and aeneasr committed Jan 29, 2019
1 parent bb76c6b commit 5c8babb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
46 changes: 23 additions & 23 deletions docs/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -91,7 +91,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\"",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -142,7 +142,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -186,7 +186,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -232,7 +232,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -275,7 +275,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\"",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -327,7 +327,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -372,7 +372,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -419,7 +419,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -465,7 +465,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -519,7 +519,7 @@
{
"type": "string",
"x-go-name": "Flavor",
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".",
"name": "flavor",
"in": "path",
"required": true
Expand Down Expand Up @@ -650,7 +650,7 @@
"$ref": "#/definitions/addOryAccessControlPolicyRoleMembersBody"
},
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand Down Expand Up @@ -697,7 +697,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand All @@ -717,7 +717,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand All @@ -739,7 +739,7 @@
"$ref": "#/definitions/oryAccessControlPolicyAllowedInput"
},
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
}
Expand All @@ -754,7 +754,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand All @@ -774,7 +774,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand Down Expand Up @@ -820,7 +820,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\"\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand All @@ -846,7 +846,7 @@
],
"properties": {
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\"\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand Down Expand Up @@ -1017,7 +1017,7 @@
"$ref": "#/definitions/removeOryAccessControlPolicyRoleMembersBody"
},
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
},
Expand Down Expand Up @@ -1053,7 +1053,7 @@
"$ref": "#/definitions/oryAccessControlPolicy"
},
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
}
Expand All @@ -1070,7 +1070,7 @@
"$ref": "#/definitions/oryAccessControlPolicyRole"
},
"flavor": {
"description": "The ORY Access Control Policy flavor. Can be \"regex\" and \"exact\".\n\nin: path",
"description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path",
"type": "string",
"x-go-name": "Flavor"
}
Expand Down Expand Up @@ -1152,4 +1152,4 @@
}
}
}
}
}
22 changes: 11 additions & 11 deletions engine/ladon/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ladon

// swagger:parameters doOryAccessControlPoliciesAllow
type doOryAccessControlPoliciesAllow struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -15,7 +15,7 @@ type doOryAccessControlPoliciesAllow struct {

// swagger:parameters upsertOryAccessControlPolicy
type upsertOryAccessControlPolicy struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -27,7 +27,7 @@ type upsertOryAccessControlPolicy struct {

// swagger:parameters listOryAccessControlPolicies
type listOryAccessControlPolicies struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact"
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact"
//
// in: path
// required: true
Expand All @@ -46,7 +46,7 @@ type listOryAccessControlPolicies struct {

// swagger:parameters getOryAccessControlPolicy
type getOryAccessControlPolicy struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -61,7 +61,7 @@ type getOryAccessControlPolicy struct {

// swagger:parameters deleteOryAccessControlPolicy
type deleteOryAccessControlPolicy struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -76,7 +76,7 @@ type deleteOryAccessControlPolicy struct {

// swagger:parameters getOryAccessControlPolicyRole
type getOryAccessControlPolicyRole struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -91,7 +91,7 @@ type getOryAccessControlPolicyRole struct {

// swagger:parameters deleteOryAccessControlPolicyRole
type deleteOryAccessControlPolicyRole struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -105,7 +105,7 @@ type deleteOryAccessControlPolicyRole struct {

// swagger:parameters upsertOryAccessControlPolicyRole
type upsertOryAccessControlPolicyRole struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -123,7 +123,7 @@ type addOryAccessControlPolicyRoleMembersBody struct {

// swagger:parameters addOryAccessControlPolicyRoleMembers
type addOryAccessControlPolicyRoleMembers struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand All @@ -147,7 +147,7 @@ type removeOryAccessControlPolicyRoleMembersBody struct {

// swagger:parameters removeOryAccessControlPolicyRoleMembers
type removeOryAccessControlPolicyRoleMembers struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact".
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".
//
// in: path
// required: true
Expand Down Expand Up @@ -181,7 +181,7 @@ type oryAccessControlPolicyRoles struct {

// swagger:parameters listOryAccessControlPolicyRoles
type listOryAccessControlPolicyRoles struct {
// The ORY Access Control Policy flavor. Can be "regex" and "exact"
// The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact"
//
// in: path
// required: true
Expand Down

0 comments on commit 5c8babb

Please sign in to comment.