Skip to content

Commit

Permalink
autogen(docs): generate and format documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 7, 2022
1 parent 0d79906 commit c605690
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 38 deletions.
18 changes: 14 additions & 4 deletions docs/docs/.static/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
"description": "Relation of the Subject Set",
"name": "subject_set.relation",
"in": "query"
},
{
"type": "integer",
"format": "int64",
"name": "max-depth",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -167,6 +173,12 @@
"schema": {
"$ref": "#/definitions/RelationQuery"
}
},
{
"type": "integer",
"format": "int64",
"name": "max-depth",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -282,8 +294,7 @@
"type": "integer",
"format": "int64",
"name": "max-depth",
"in": "query",
"required": true
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -485,8 +496,7 @@
"type": "string",
"description": "Namespace of the Relation Tuple",
"name": "namespace",
"in": "query",
"required": true
"in": "query"
},
{
"type": "string",
Expand Down
14 changes: 1 addition & 13 deletions internal/httpclient/models/expand_tree.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions internal/httpclient/models/get_relation_tuples_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions internal/httpclient/models/internal_relation_tuple.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions internal/httpclient/models/patch_delta.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions internal/httpclient/models/relation_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1075,8 +1075,7 @@
"enum": [
"insert",
"delete"
],
"x-go-enum-desc": "insert ActionInsert\ndelete ActionDelete"
]
},
"relation_tuple": {
"$ref": "#/definitions/InternalRelationTuple"
Expand Down Expand Up @@ -1151,15 +1150,13 @@
"$ref": "#/definitions/SubjectSet"
},
"type": {
"description": "\nunion Union\nexclusion Exclusion\nintersection Intersection\nleaf Leaf",
"type": "string",
"enum": [
"union",
"exclusion",
"intersection",
"leaf"
],
"x-go-enum-desc": "union Union\nexclusion Exclusion\nintersection Intersection\nleaf Leaf"
]
}
}
},
Expand Down

0 comments on commit c605690

Please sign in to comment.