@@ -33,32 +33,32 @@ export default defineConfig(() => {
3333 // openapi: '3.1.0',
3434 // paths: {},
3535 // },
36- path : path . resolve (
37- getSpecsPath ( ) ,
38- // '3.0.x',
39- '3.1.x' ,
40- // 'circular.yaml',
41- // 'dutchie.json',
42- // 'invalid',
43- 'full.yaml' ,
44- // 'object-property-names.yaml',
45- // 'openai.yaml',
46- // 'opencode.yaml',
47- // 'pagination-ref.yaml',
48- // 'sdk-instance.yaml',
49- // 'string-with-format.yaml',
50- // 'transformers.json',
51- // 'type-format.yaml',
52- // 'validators.yaml',
53- // 'validators-circular-ref.json',
54- // 'validators-circular-ref-2.yaml',
55- // 'zoom-video-sdk.json',
56- ) ,
36+ // path: path.resolve(
37+ // getSpecsPath(),
38+ // // '3.0.x',
39+ // '3.1.x',
40+ // // 'circular.yaml',
41+ // // 'dutchie.json',
42+ // // 'invalid',
43+ // 'full.yaml',
44+ // // 'object-property-names.yaml',
45+ // // 'openai.yaml',
46+ // // 'opencode.yaml',
47+ // // 'pagination-ref.yaml',
48+ // // 'sdk-instance.yaml',
49+ // // 'string-with-format.yaml',
50+ // // 'transformers.json',
51+ // // 'type-format.yaml',
52+ // // 'validators.yaml',
53+ // // 'validators-circular-ref.json',
54+ // // 'validators-circular-ref-2.yaml',
55+ // // 'zoom-video-sdk.json',
56+ // ),
5757 // path: 'https://get.heyapi.dev/hey-api/backend?branch=main&version=1.0.0',
5858 // path: 'http://localhost:4000/',
5959 // path: 'http://localhost:8000/openapi.json',
6060 // path: 'https://mongodb-mms-prod-build-server.s3.amazonaws.com/openapi/2caffd88277a4e27c95dcefc7e3b6a63a3b03297-v2-2023-11-15.json',
61- // path: 'https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml',
61+ path : 'https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml' ,
6262 // watch: {
6363 // enabled: true,
6464 // interval: 500,
@@ -217,11 +217,11 @@ export default defineConfig(() => {
217217 {
218218 // baseUrl: false,
219219 // exportFromIndex: true,
220- name : '@hey-api/client-fetch ' ,
220+ name : '@hey-api/client-angular ' ,
221221 // runtimeConfigPath: path.resolve(__dirname, 'hey-api.ts'),
222222 // runtimeConfigPath: './src/hey-api.ts',
223223 // strictBaseUrl: true,
224- // throwOnError: true,
224+ throwOnError : true ,
225225 } ,
226226 {
227227 // case: 'snake_case',
@@ -255,7 +255,7 @@ export default defineConfig(() => {
255255 // classNameBuilder: '{{name}}',
256256 // classNameBuilder: '{{name}}Service',
257257 // classStructure: 'off',
258- client : false ,
258+ // client: false,
259259 // getSignature: ({ fields, signature, operation }) => {
260260 // // ...
261261 // fields.unwrap('path')
@@ -265,7 +265,7 @@ export default defineConfig(() => {
265265 name : '@hey-api/sdk' ,
266266 // operationId: false,
267267 // paramsStructure: 'flat',
268- // responseStyle: 'data',
268+ responseStyle : 'data' ,
269269 // signature: 'auto',
270270 // signature: 'client',
271271 // signature: 'object',
@@ -517,12 +517,12 @@ export default defineConfig(() => {
517517 {
518518 exportFromIndex : true ,
519519 httpRequests : {
520- // asClass: true,
520+ asClass : true ,
521521 } ,
522522 httpResources : {
523- // asClass: true,
523+ asClass : true ,
524524 } ,
525- // name: '@angular/common',
525+ name : '@angular/common' ,
526526 } ,
527527 {
528528 exportFromIndex : true ,
0 commit comments