Skip to content

Commit

Permalink
Merge pull request #15 from jcdcdev/dev/v14
Browse files Browse the repository at this point in the history
Dev/v14
  • Loading branch information
jcdcdev authored Oct 25, 2024
2 parents 87b972e + bfd03ce commit 15c7b2d
Show file tree
Hide file tree
Showing 110 changed files with 69,769 additions and 1,777 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 15c7b2d

Please sign in to comment.