Skip to content

Commit 022db60

Browse files
rdsvargasRoger Da Silva Vargas
andauthored
Ajuste doc schedule 2 (#1187)
* Atualização documentação * Ajuste atualização da documentação --------- Co-authored-by: Roger Da Silva Vargas <roger.vargas@totvs.com.br>
1 parent 6a4b5a8 commit 022db60

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

jsonschema/apis/ScheduleLock_v1_000.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"content": {
8383
"application/json": {
8484
"schema": {
85-
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/ScheduleLockInfo"
85+
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/PagedScheduleLock"
8686
}
8787
}
8888
}
@@ -126,18 +126,18 @@
126126
"content": {
127127
"application/json": {
128128
"schema": {
129-
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/ScheduleLock"
129+
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/ScheduleLockInfo"
130130
}
131131
}
132132
}
133133
},
134134
"responses": {
135-
"200": {
135+
"201": {
136136
"description": "Registro inserido com sucesso",
137137
"content": {
138138
"application/json": {
139139
"schema": {
140-
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/ScheduleLock"
140+
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/ScheduleLock_1_000.json#/definitions/ScheduleLockInfo"
141141
}
142142
}
143143
}
@@ -155,7 +155,7 @@
155155
}
156156
}
157157
},
158-
"/scheduleLocks/{id}": {
158+
"/scheduleLocks/{code}": {
159159
"get": {
160160
"tags": [
161161
"ScheduleLock"
@@ -175,7 +175,7 @@
175175
},
176176
"parameters": [
177177
{
178-
"$ref": "#/components/parameters/id"
178+
"$ref": "#/components/parameters/code"
179179
}
180180
],
181181
"responses": {
@@ -223,7 +223,7 @@
223223
"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization"
224224
},
225225

226-
"$ref": "#/components/parameters/id"
226+
"$ref": "#/components/parameters/code"
227227
}
228228
],
229229
"responses": {

0 commit comments

Comments
 (0)