Merge branch 'main' into v14/chore/check-paths-in-dist-cms
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from '@hey-api/openapi-ts';
|
||||
|
||||
export default defineConfig({
|
||||
client: 'fetch',
|
||||
input: 'https://raw.githubusercontent.com/umbraco/Umbraco-CMS/v14/dev/src/Umbraco.Cms.Api.Management/OpenApi.json',
|
||||
output: {
|
||||
path: 'src/external/backend-api/src',
|
||||
format: 'prettier',
|
||||
lint: 'eslint',
|
||||
},
|
||||
schemas: false,
|
||||
services: {
|
||||
asClass: true,
|
||||
},
|
||||
types: {
|
||||
enums: 'typescript',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from '@hey-api/openapi-ts';
|
||||
|
||||
export default defineConfig({
|
||||
client: 'fetch',
|
||||
debug: true,
|
||||
input: 'http://localhost:11000/umbraco/swagger/management/swagger.json',
|
||||
output: {
|
||||
path: 'src/external/backend-api/src',
|
||||
format: 'prettier',
|
||||
lint: 'eslint',
|
||||
},
|
||||
schemas: false,
|
||||
services: {
|
||||
asClass: true,
|
||||
},
|
||||
types: {
|
||||
enums: 'typescript',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from '@hey-api/openapi-ts';
|
||||
|
||||
export default defineConfig({
|
||||
client: 'fetch',
|
||||
debug: true,
|
||||
input: '../Umbraco.Cms.Api.Management/OpenApi.json',
|
||||
output: {
|
||||
path: 'src/external/backend-api/src',
|
||||
format: 'prettier',
|
||||
lint: 'eslint',
|
||||
},
|
||||
schemas: false,
|
||||
services: {
|
||||
asClass: true,
|
||||
},
|
||||
types: {
|
||||
enums: 'typescript',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user