mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: audit, deploymentconfig, files, parameters (#5506)
* docs: audit, deploymentconfig, files, parameters * Fix: mark as binary * Fix: show format in docs * Fix: use .swaggo * Fix: swagger notice * Swagger notice
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
# Example request using curl
|
||||
curl -X {{=data.methodUpper}} http://coder-server:8080{{=data.url}}{{=data.requiredQueryString}}{{?data.allHeaders.length}} \{{?}}
|
||||
{{~data.allHeaders :p:index}} -H '{{=p.name}}: {{=p.exampleValues.object}}'{{?index < data.allHeaders.length-1}} \
|
||||
{{~data.allHeaders :p:index}}{{
|
||||
if (p.name == "Content-Type" && p.exampleValues.object == "application/x-www-form-urlencoded") {
|
||||
continue;
|
||||
}
|
||||
}} -H '{{=p.name}}: {{=p.exampleValues.object}}'{{?index < data.allHeaders.length-1}} \
|
||||
{{?}}{{~}}
|
||||
|
||||
Reference in New Issue
Block a user