Skip to content

Commit

Permalink
feature: Umbraco 14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Oct 24, 2024
1 parent 87b972e commit 026b130
Show file tree
Hide file tree
Showing 22 changed files with 5,156 additions and 814 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"sourceName": "UmbracoPackageTemplate",
"description": "An opinionated template for creating Umbraco packages hosted on Github.",
"symbols": {
"clientName": {
"type": "generated",
"description": "Client Project Name - Used for generating client project name",
"generator": "evaluate",
"parameters": {
"expression": "sourceName.Split('.').Last().ToLower()"
},
"replaces": "TOKEN_CLIENT_NAME"
},
"umbracoVersion": {
"type": "generated",
"generator": "constant",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {defineConfig} from '@hey-api/openapi-ts';

export default defineConfig({
input: 'http://localhost:54813/umbraco/swagger/TOKEN_CLIENT_NAME/swagger.json',
client: "legacy/fetch",
output: {
format: 'prettier',
path: './src/api',
},
types: {
enums: 'typescript',
},
});
Loading

0 comments on commit 026b130

Please sign in to comment.