Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- https://raw.githubusercontent.com/jmlue42/spectral-jsonapi-ruleset/main/.spectral.yml
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const compat = new FlatCompat({
});

export default defineConfig([
globalIgnores(['projects/**/*']),
globalIgnores(['projects/**/*', 'src/generated/**/*']),
{
files: ['**/*.ts'],

Expand Down
12 changes: 12 additions & 0 deletions openapi-ts.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
input: './openapi.json',
output: {
path: './src/generated/api',
},
plugins: [
'@hey-api/typescript',
'zod',
],
});
Loading
Loading