refresh user
This commit is contained in:
parent
57e56dc33d
commit
17c9885ccc
6 changed files with 127 additions and 20 deletions
|
@ -14,9 +14,7 @@ export async function generateApiSchema(openapiUrl, outputFilePath, pathToPretti
|
|||
const request = new Request(openapiUrl)
|
||||
const response = await fetch(request)
|
||||
const json = await response.text()
|
||||
const ast = await openapiTS(json, {
|
||||
pathParamsAsTypes: true,
|
||||
})
|
||||
const ast = await openapiTS(json, {})
|
||||
const prettierConfig = await resolveConfig(pathToPrettierRc, {
|
||||
useCache: true,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue