Error:
š„ Unexpected error occurred. š« input not provided - provide path to OpenAPI specification
My config is:
export 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 š