Skip to content

Commit

Permalink
fjerner driftsmeldinger openapi
Browse files Browse the repository at this point in the history
det var jo egentlig veldig overkill for ett endepunkt
  • Loading branch information
toresbe committed Nov 19, 2024
1 parent 7d37d26 commit 0e879c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 107 deletions.
87 changes: 0 additions & 87 deletions driftsmelding-api.json

This file was deleted.

19 changes: 0 additions & 19 deletions orval.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,25 +84,6 @@ export default defineConfig({
afterAllFilesWrite: "prettier --write",
},
},
driftsmeldinger: {
input: "./driftsmelding-api.json",
output: {
baseUrl: "https://fakePlaceholder/", // blir overstyrt i driftsmeldingFetch.ts
mode: "single",
target: "src/generated/driftsmelding.ts",
client: "fetch",
mock: false,
override: {
mutator: {
path: "src/lib/driftsmeldingFetch.ts",
name: "driftsmeldingFetch",
},
},
},
hooks: {
afterAllFilesWrite: "prettier --write",
},
},
});

/**
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"prepare": "husky",
"checkUpdates": "npx npm-check-updates -u",
"fetch-api": "curl -o ./soknad-api-old.json http://localhost:8181/sosialhjelp/soknad-api/v3/api-docs/old && prettier --write soknad-api-old.json && curl -o ./soknad-api-new.json http://localhost:8181/sosialhjelp/soknad-api/v3/api-docs/new && prettier --write soknad-api-new.json",
"fetch-driftsmelding-api": "curl -o ./driftsmelding-api.json http://localhost:3005/sosialhjelp/driftsmeldinger/api/api-doc && prettier --write driftsmelding-api.json",
"orval": "rm -rf ./src/generated & orval --prettier",
"lint": "eslint"
},
Expand Down

0 comments on commit 0e879c2

Please sign in to comment.