Matt Wise
06/16/2024, 7:06 PMMatt Wise
06/16/2024, 7:06 PMexport default defineConfig({
client: 'fetch',
input: 'https://localhost:44378/umbraco/swagger/csp/swagger.json',
debug: true,
output: {
format: 'prettier',
lint: 'eslint',
path: './src/api',
},
types: {
enums: 'typescript',
},
schemas: false,
});
Validating the Json file I get this error:
Semantic error at components.securitySchemes.Backoffice User
Component names can only contain the characters A-Z a-z 0-9 - . _
Jump to line 145
"Backoffice User" remoing the same space in Umbraco's definition fixes the validation error at least šD_Inventor
06/16/2024, 7:07 PMMatt Wise
06/16/2024, 7:09 PMcross-env NODE_TLS_REJECT_UNAUTHORIZED=0
in your commandMatt Wise
06/16/2024, 7:19 PM