Skip to content

Commit 9208a74

Browse files
feat: Implement OpenAPI types and EndpointPath class
- Added OpenAPI types in Core.types.ts to define the structure of OpenAPI specifications. - Created EndpointPath class to manage API endpoint paths, including methods to set summary, description, parameters, and servers. - Developed tests for complex API structures, endpoint path creation, external documentation, JSON schema dialect, server settings, and tag management. - Ensured comprehensive coverage for the new features with multiple test cases.
1 parent 2e466f8 commit 9208a74

53 files changed

Lines changed: 1335 additions & 9366 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

deno.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"name": "@murat/openapi",
33
"exports": "./mod.ts",
4-
"version": "0.1.3",
4+
"version": "0.1.4",
55
"tasks": {
66
"lint": "deno lint",
77
"test": "deno test --allow-all",
88
"test:coverage-html": "deno test --allow-all --coverage=coverage && deno coverage coverage",
99
"fmt": "deno fmt"
1010
},
1111
"imports": {
12-
"@eemeli/yaml": "jsr:@eemeli/yaml@^2.7.1"
12+
"@eemeli/yaml": "jsr:@eemeli/yaml@^2.7.1",
13+
"@std/assert": "jsr:@std/assert@^1.0.13"
1314
},
1415
"license": "MIT"
1516
}

deno.lock

Lines changed: 42 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)