File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed
Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change 135135 </div >
136136
137137 <div v-if =" tabId === 'api'" >
138- <openapi-explorer spec-url =" https://tabular-api.data.gouv.fr/api/resources/91084b11-1316-422e-bccf-b86234cd3fd9 /swagger/" >
138+ <openapi-explorer : spec-url =" ' https://tabular-api.data.gouv.fr/api/resources/' + dgvInfos.resource.id + ' /swagger/' " >
139139 </openapi-explorer >
140140 </div >
141141 </div >
@@ -157,35 +157,6 @@ export default {
157157 data () {
158158 return {
159159 displayDetailColumn: " " ,
160- jsonApi: {
161- " swagger" : " 3.0" ,
162- " info" : {
163- " title" : " Sample API" ,
164- " description" : " API description in Markdown." ,
165- " version" : " 1.0.0"
166- },
167- " host" : " api.example.com" ,
168- " basePath" : " /v1" ,
169- " schemes" : [
170- " https"
171- ],
172- " paths" : {
173- " /users" : {
174- " get" : {
175- " summary" : " Returns a list of users." ,
176- " description" : " Optional extended description in Markdown." ,
177- " produces" : [
178- " application/json"
179- ],
180- " responses" : {
181- " 200" : {
182- " description" : " OK"
183- }
184- }
185- }
186- }
187- }
188- },
189160 }
190161 },
191162 props: {
You can’t perform that action at this time.
0 commit comments