@navios/openapi 0.7.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/dist/legacy-compat/__type-tests__/legacy-decorators.spec-d.d.mts +2 -0
  3. package/dist/legacy-compat/__type-tests__/legacy-decorators.spec-d.d.mts.map +1 -0
  4. package/dist/legacy-compat/__type-tests__/tsconfig.tsbuildinfo +1 -0
  5. package/dist/src/legacy-compat/decorators/api-deprecated.decorator.d.mts +35 -0
  6. package/dist/src/legacy-compat/decorators/api-deprecated.decorator.d.mts.map +1 -0
  7. package/dist/src/legacy-compat/decorators/api-exclude.decorator.d.mts +28 -0
  8. package/dist/src/legacy-compat/decorators/api-exclude.decorator.d.mts.map +1 -0
  9. package/dist/src/legacy-compat/decorators/api-operation.decorator.d.mts +60 -0
  10. package/dist/src/legacy-compat/decorators/api-operation.decorator.d.mts.map +1 -0
  11. package/dist/src/legacy-compat/decorators/api-security.decorator.d.mts +38 -0
  12. package/dist/src/legacy-compat/decorators/api-security.decorator.d.mts.map +1 -0
  13. package/dist/src/legacy-compat/decorators/api-stream.decorator.d.mts +52 -0
  14. package/dist/src/legacy-compat/decorators/api-stream.decorator.d.mts.map +1 -0
  15. package/dist/src/legacy-compat/decorators/api-summary.decorator.d.mts +26 -0
  16. package/dist/src/legacy-compat/decorators/api-summary.decorator.d.mts.map +1 -0
  17. package/dist/src/legacy-compat/decorators/api-tag.decorator.d.mts +44 -0
  18. package/dist/src/legacy-compat/decorators/api-tag.decorator.d.mts.map +1 -0
  19. package/dist/src/legacy-compat/decorators/index.d.mts +8 -0
  20. package/dist/src/legacy-compat/decorators/index.d.mts.map +1 -0
  21. package/dist/src/legacy-compat/index.d.mts +24 -0
  22. package/dist/src/legacy-compat/index.d.mts.map +1 -0
  23. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  24. package/dist/tsconfig.spec.tsbuildinfo +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/dist/vitest.config.d.mts.map +1 -1
  27. package/lib/index-BYd1gzJQ.d.cts +594 -0
  28. package/lib/index-BYd1gzJQ.d.cts.map +1 -0
  29. package/lib/index-KzCwlPFD.d.mts +594 -0
  30. package/lib/index-KzCwlPFD.d.mts.map +1 -0
  31. package/lib/index.cjs +20 -1840
  32. package/lib/index.cjs.map +1 -1
  33. package/lib/index.d.cts +2 -594
  34. package/lib/index.d.mts +2 -594
  35. package/lib/index.mjs +2 -1822
  36. package/lib/index.mjs.map +1 -1
  37. package/lib/legacy-compat/index.cjs +314 -0
  38. package/lib/legacy-compat/index.cjs.map +1 -0
  39. package/lib/legacy-compat/index.d.cts +285 -0
  40. package/lib/legacy-compat/index.d.cts.map +1 -0
  41. package/lib/legacy-compat/index.d.mts +285 -0
  42. package/lib/legacy-compat/index.d.mts.map +1 -0
  43. package/lib/legacy-compat/index.mjs +271 -0
  44. package/lib/legacy-compat/index.mjs.map +1 -0
  45. package/lib/services-MFCyRMd8.mjs +1825 -0
  46. package/lib/services-MFCyRMd8.mjs.map +1 -0
  47. package/lib/services-kEHEZqLZ.cjs +1896 -0
  48. package/lib/services-kEHEZqLZ.cjs.map +1 -0
  49. package/package.json +15 -5
  50. package/src/__tests__/metadata.spec.mts +5 -7
  51. package/src/__tests__/services.spec.mts +6 -7
  52. package/src/legacy-compat/__type-tests__/legacy-decorators.spec-d.mts +347 -0
  53. package/src/legacy-compat/__type-tests__/tsconfig.json +15 -0
  54. package/src/legacy-compat/decorators/api-deprecated.decorator.mts +46 -0
  55. package/src/legacy-compat/decorators/api-exclude.decorator.mts +31 -0
  56. package/src/legacy-compat/decorators/api-operation.decorator.mts +60 -0
  57. package/src/legacy-compat/decorators/api-security.decorator.mts +45 -0
  58. package/src/legacy-compat/decorators/api-stream.decorator.mts +56 -0
  59. package/src/legacy-compat/decorators/api-summary.decorator.mts +34 -0
  60. package/src/legacy-compat/decorators/api-tag.decorator.mts +52 -0
  61. package/src/legacy-compat/decorators/index.mts +7 -0
  62. package/src/legacy-compat/index.mts +58 -0
  63. package/tsconfig.spec.json +4 -1
  64. package/tsdown.config.mts +2 -2
  65. package/vitest.config.mts +5 -1
  66. package/lib/index.d.cts.map +0 -1
  67. package/lib/index.d.mts.map +0 -1
@@ -0,0 +1,60 @@
1
+ import { LegacyAttributeFactory } from '@navios/core/legacy-compat'
2
+ import { z } from 'zod/v4'
3
+
4
+ import { ApiOperationToken } from '../../tokens/index.mjs'
5
+
6
+ const ApiOperationSchema = z.object({
7
+ summary: z.string().optional(),
8
+ description: z.string().optional(),
9
+ operationId: z.string().optional(),
10
+ deprecated: z.boolean().optional(),
11
+ externalDocs: z
12
+ .object({
13
+ url: z.string(),
14
+ description: z.string().optional(),
15
+ })
16
+ .optional(),
17
+ })
18
+
19
+ /** Options for the @ApiOperation decorator, inferred from the schema */
20
+ export type ApiOperationOptions = z.infer<typeof ApiOperationSchema>
21
+
22
+ /**
23
+ * Provides detailed operation metadata for an endpoint.
24
+ *
25
+ * Use this decorator when you need to specify multiple operation properties.
26
+ * For simple cases, consider using @ApiSummary instead.
27
+ *
28
+ * Legacy-compatible version for TypeScript experimental decorators.
29
+ *
30
+ * @param options - Operation configuration options
31
+ *
32
+ * @example
33
+ * ```typescript
34
+ * @Controller()
35
+ * export class UserController {
36
+ * @Endpoint(getUser)
37
+ * @ApiOperation({
38
+ * summary: 'Get user by ID',
39
+ * description: 'Retrieves a user by their unique identifier. Returns 404 if not found.',
40
+ * operationId: 'getUserById',
41
+ * })
42
+ * async getUser(params: EndpointParams<typeof getUser>) {}
43
+ *
44
+ * @Endpoint(legacyGetUser)
45
+ * @ApiOperation({
46
+ * summary: 'Get user (legacy)',
47
+ * deprecated: true,
48
+ * externalDocs: {
49
+ * url: 'https://docs.example.com/migration',
50
+ * description: 'Migration guide'
51
+ * }
52
+ * })
53
+ * async getLegacyUser() {}
54
+ * }
55
+ * ```
56
+ */
57
+ export const ApiOperation = LegacyAttributeFactory.createAttribute(
58
+ ApiOperationToken,
59
+ ApiOperationSchema,
60
+ )
@@ -0,0 +1,45 @@
1
+ import { LegacyAttributeFactory } from '@navios/core/legacy-compat'
2
+ import { z } from 'zod/v4'
3
+
4
+ import { ApiSecurityToken } from '../../tokens/index.mjs'
5
+
6
+ const ApiSecuritySchema = z.record(z.string(), z.array(z.string()))
7
+
8
+ /** Security requirement for an endpoint, inferred from the schema */
9
+ export type ApiSecurityRequirement = z.infer<typeof ApiSecuritySchema>
10
+
11
+ /**
12
+ * Specifies security requirements for an endpoint.
13
+ *
14
+ * The security requirement object maps security scheme names to their scopes.
15
+ * For schemes that don't use scopes (like API keys), use an empty array.
16
+ *
17
+ * Legacy-compatible version for TypeScript experimental decorators.
18
+ *
19
+ * @param requirements - Security requirements object
20
+ *
21
+ * @example
22
+ * ```typescript
23
+ * @Controller()
24
+ * export class UserController {
25
+ * // Require bearer token authentication
26
+ * @Endpoint(getUser)
27
+ * @ApiSecurity({ bearerAuth: [] })
28
+ * async getUser() {}
29
+ *
30
+ * // Require multiple authentication methods
31
+ * @Endpoint(adminEndpoint)
32
+ * @ApiSecurity({ bearerAuth: [], apiKey: [] })
33
+ * async adminAction() {}
34
+ *
35
+ * // OAuth2 with specific scopes
36
+ * @Endpoint(writeUser)
37
+ * @ApiSecurity({ oauth2: ['users:write', 'users:read'] })
38
+ * async writeUser() {}
39
+ * }
40
+ * ```
41
+ */
42
+ export const ApiSecurity = LegacyAttributeFactory.createAttribute(
43
+ ApiSecurityToken,
44
+ ApiSecuritySchema,
45
+ )
@@ -0,0 +1,56 @@
1
+ import { LegacyAttributeFactory } from '@navios/core/legacy-compat'
2
+ import { z } from 'zod/v4'
3
+
4
+ import { ApiStreamToken } from '../../tokens/index.mjs'
5
+
6
+ const ApiStreamSchema = z.object({
7
+ contentType: z.string(),
8
+ description: z.string().optional(),
9
+ })
10
+
11
+ /** Options for the @ApiStream decorator, inferred from the schema */
12
+ export type ApiStreamOptions = z.infer<typeof ApiStreamSchema>
13
+
14
+ /**
15
+ * Specifies content type and description for stream endpoints.
16
+ *
17
+ * Stream endpoints don't have a responseSchema, so this decorator provides
18
+ * the necessary metadata for OpenAPI documentation.
19
+ *
20
+ * Legacy-compatible version for TypeScript experimental decorators.
21
+ *
22
+ * @param options - Stream response options
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * @Controller()
27
+ * export class FileController {
28
+ * // Binary file download
29
+ * @Stream(downloadFile)
30
+ * @ApiStream({
31
+ * contentType: 'application/octet-stream',
32
+ * description: 'Download file as binary stream'
33
+ * })
34
+ * async download(params: StreamParams<typeof downloadFile>, reply: Reply) {
35
+ * // Stream implementation
36
+ * }
37
+ * }
38
+ *
39
+ * @Controller()
40
+ * export class EventController {
41
+ * // Server-Sent Events
42
+ * @Stream(streamEvents)
43
+ * @ApiStream({
44
+ * contentType: 'text/event-stream',
45
+ * description: 'Real-time event stream'
46
+ * })
47
+ * async stream(params: StreamParams<typeof streamEvents>, reply: Reply) {
48
+ * // SSE implementation
49
+ * }
50
+ * }
51
+ * ```
52
+ */
53
+ export const ApiStream = LegacyAttributeFactory.createAttribute(
54
+ ApiStreamToken,
55
+ ApiStreamSchema,
56
+ )
@@ -0,0 +1,34 @@
1
+ import { LegacyAttributeFactory } from '@navios/core/legacy-compat'
2
+ import { z } from 'zod/v4'
3
+
4
+ import { ApiSummaryToken } from '../../tokens/index.mjs'
5
+
6
+ const ApiSummarySchema = z.string()
7
+
8
+ /**
9
+ * Shorthand decorator for adding just a summary to an endpoint.
10
+ *
11
+ * This is equivalent to `@ApiOperation({ summary: '...' })` but more concise.
12
+ *
13
+ * Legacy-compatible version for TypeScript experimental decorators.
14
+ *
15
+ * @param summary - Short summary text for the endpoint
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Controller()
20
+ * export class UserController {
21
+ * @Endpoint(getUser)
22
+ * @ApiSummary('Get user by ID')
23
+ * async getUser() {}
24
+ *
25
+ * @Endpoint(createUser)
26
+ * @ApiSummary('Create a new user')
27
+ * async createUser() {}
28
+ * }
29
+ * ```
30
+ */
31
+ export const ApiSummary = LegacyAttributeFactory.createAttribute(
32
+ ApiSummaryToken,
33
+ ApiSummarySchema,
34
+ )
@@ -0,0 +1,52 @@
1
+ import { LegacyAttributeFactory } from '@navios/core/legacy-compat'
2
+ import { z } from 'zod/v4'
3
+
4
+ import { ApiTagToken } from '../../tokens/index.mjs'
5
+
6
+ const ApiTagSchema = z.object({
7
+ name: z.string(),
8
+ description: z.string().optional(),
9
+ })
10
+
11
+ /** Options for the @ApiTag decorator, inferred from the schema */
12
+ export type ApiTagOptions = z.infer<typeof ApiTagSchema>
13
+
14
+ const BaseApiTag = LegacyAttributeFactory.createAttribute(ApiTagToken, ApiTagSchema)
15
+
16
+ /**
17
+ * Groups endpoints under a specific tag/folder in the documentation.
18
+ *
19
+ * Can be applied to controllers (affects all endpoints) or individual methods.
20
+ * When applied to both, the method-level tag takes precedence.
21
+ *
22
+ * Legacy-compatible version for TypeScript experimental decorators.
23
+ *
24
+ * @param name - The tag name
25
+ * @param description - Optional tag description
26
+ *
27
+ * @example
28
+ * ```typescript
29
+ * // Apply to entire controller
30
+ * @Controller()
31
+ * @ApiTag('Users', 'User management operations')
32
+ * export class UserController {
33
+ * @Endpoint(getUser)
34
+ * async getUser() {}
35
+ * }
36
+ *
37
+ * // Apply to individual endpoint
38
+ * @Controller()
39
+ * export class MixedController {
40
+ * @Endpoint(getUser)
41
+ * @ApiTag('Users')
42
+ * async getUser() {}
43
+ *
44
+ * @Endpoint(getOrder)
45
+ * @ApiTag('Orders')
46
+ * async getOrder() {}
47
+ * }
48
+ * ```
49
+ */
50
+ export function ApiTag(name: string, description?: string) {
51
+ return BaseApiTag({ name, description })
52
+ }
@@ -0,0 +1,7 @@
1
+ export { ApiTag, type ApiTagOptions } from './api-tag.decorator.mjs'
2
+ export { ApiOperation, type ApiOperationOptions } from './api-operation.decorator.mjs'
3
+ export { ApiSummary } from './api-summary.decorator.mjs'
4
+ export { ApiDeprecated, type ApiDeprecatedOptions } from './api-deprecated.decorator.mjs'
5
+ export { ApiSecurity, type ApiSecurityRequirement } from './api-security.decorator.mjs'
6
+ export { ApiExclude } from './api-exclude.decorator.mjs'
7
+ export { ApiStream, type ApiStreamOptions } from './api-stream.decorator.mjs'
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Legacy-compatible decorators for projects that cannot use Stage 3 decorators.
3
+ *
4
+ * These decorators use the TypeScript experimental decorator API and convert
5
+ * the arguments to Stage 3 format internally.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import { ApiTag, ApiOperation, ApiSummary } from '@navios/openapi/legacy-compat'
10
+ *
11
+ * @Controller()
12
+ * @ApiTag('Users', 'User management operations')
13
+ * export class UserController {
14
+ * @Endpoint(getUser)
15
+ * @ApiSummary('Get user by ID')
16
+ * async getUser() {}
17
+ * }
18
+ * ```
19
+ */
20
+
21
+ // Export legacy-compatible decorators
22
+ export {
23
+ ApiTag,
24
+ ApiOperation,
25
+ ApiSummary,
26
+ ApiDeprecated,
27
+ ApiSecurity,
28
+ ApiExclude,
29
+ ApiStream,
30
+ type ApiTagOptions,
31
+ type ApiOperationOptions,
32
+ type ApiDeprecatedOptions,
33
+ type ApiSecurityRequirement,
34
+ type ApiStreamOptions,
35
+ } from './decorators/index.mjs'
36
+
37
+ // Re-export tokens for attribute access
38
+ export {
39
+ ApiTagToken,
40
+ ApiOperationToken,
41
+ ApiSummaryToken,
42
+ ApiDeprecatedToken,
43
+ ApiSecurityToken,
44
+ ApiExcludeToken,
45
+ ApiStreamToken,
46
+ } from '../tokens/index.mjs'
47
+
48
+ // Re-export services (they don't need legacy compatibility)
49
+ export {
50
+ OpenApiGeneratorService,
51
+ EndpointScannerService,
52
+ MetadataExtractorService,
53
+ SchemaConverterService,
54
+ PathBuilderService,
55
+ } from '../services/index.mjs'
56
+
57
+ // Re-export metadata types
58
+ export type { OpenApiEndpointMetadata } from '../metadata/index.mjs'
@@ -3,10 +3,13 @@
3
3
  "compilerOptions": {
4
4
  "outDir": "./dist"
5
5
  },
6
- "include": ["src/**/*.spec.mts", "src/**/*.spec-d.mts"],
6
+ "include": ["src/**/*.spec.mts", "vitest.config.mts"],
7
7
  "references": [
8
8
  {
9
9
  "path": "./tsconfig.lib.json"
10
+ },
11
+ {
12
+ "path": "./src/legacy-compat/__type-tests__/tsconfig.json"
10
13
  }
11
14
  ]
12
15
  }
package/tsdown.config.mts CHANGED
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsdown'
3
3
  import swc from 'unplugin-swc'
4
4
 
5
5
  export default defineConfig({
6
- entry: ['src/index.mts'],
6
+ entry: ['src/index.mts', 'src/legacy-compat/index.mts'],
7
7
  outDir: 'lib',
8
8
  format: ['esm', 'cjs'],
9
9
  clean: true,
@@ -11,7 +11,7 @@ export default defineConfig({
11
11
  treeshake: true,
12
12
  sourcemap: true,
13
13
  platform: 'node',
14
- external: ['@navios/core', '@navios/di'],
14
+ external: ['@navios/core', '@navios/core/legacy-compat', '@navios/di'],
15
15
  dts: true,
16
16
  target: 'es2022',
17
17
  plugins: [
package/vitest.config.mts CHANGED
@@ -6,6 +6,10 @@ export default defineProject({
6
6
  enabled: true,
7
7
  tsconfig: './tsconfig.lib.json',
8
8
  },
9
- include: ['src/**/*.spec.mts', 'src/**/*.spec-d.mts'],
9
+ include: [
10
+ 'src/**/*.spec.mts',
11
+ 'src/**/*.spec-d.mts',
12
+ 'src/legacy-compat/__type-tests__/**/*.spec-d.mts',
13
+ ],
10
14
  },
11
15
  })
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/decorators/api-tag.decorator.mts","../src/decorators/api-operation.decorator.mts","../src/decorators/api-summary.decorator.mts","../src/decorators/api-deprecated.decorator.mts","../src/decorators/api-security.decorator.mts","../src/decorators/api-exclude.decorator.mts","../src/decorators/api-stream.decorator.mts","../src/metadata/openapi.metadata.mts","../src/services/endpoint-scanner.service.mts","../src/services/metadata-extractor.service.mts","../src/services/schema-converter.service.mts","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
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/decorators/api-tag.decorator.mts","../src/decorators/api-operation.decorator.mts","../src/decorators/api-summary.decorator.mts","../src/decorators/api-deprecated.decorator.mts","../src/decorators/api-security.decorator.mts","../src/decorators/api-exclude.decorator.mts","../src/decorators/api-stream.decorator.mts","../src/metadata/openapi.metadata.mts","../src/services/endpoint-scanner.service.mts","../src/services/metadata-extractor.service.mts","../src/services/schema-converter.service.mts","../src/services/path-builder.service.mts","../src/services/openapi-generator.service.mts","../src/tokens/index.mts"],"sourcesContent":[],"mappings":";;;;;;;cAKM,cAAY,CAAA,CAAA;;;;;KAMN,aAAA,GAAgB,CAAA,CAAE,aAAa;AAVjB;;;;;;;AAU1B;AAoCA;;;;;;;;;AC9C0B;;;;;;;;;;;;;;;iBD8CV,MAAA,kDAAyC,YAAA,wBAAA,gCAAA;;;cC1CnD,oBAAkB,CAAA,CAAA;;;;;;IDAlB,GAAA,aAGJ;;;;;AAHgB,KCcN,mBAAA,GAAsB,CAAA,CAAE,KDdlB,CAAA,OCc+B,kBDd/B,CAAA;;AAMlB;AAoCA;;;;;;;;;AC9C0B;;;;;;;;;;;;;;;;;;AAkB1B;AAmCA;;;cAAa,cAAY,aAAA,CAAA,qBAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;ADrDC;;;;;;;AAU1B;AAoCA;;;;;;;cEnBa,YAAU,aAAA,CAAA,qBAAA,CAAA,CAAA;;;cCvBjB,qBAAmB,CAAA,CAAA;;;;KAKb,oBAAA,GAAuB,CAAA,CAAE,aAAa;;AHTxB;;;;;;;AAU1B;AAoCA;;;;;;;;;AC9C0B;;;;;;iBEwCV,aAAA,gCAA8B,YAAA,wBAAA,gCAAA;;;cCpCxC,mBAAiB,CAAA,CAAA,UAAA,CAAA,CAAA,WAAA,CAAA,CAAA,SAAA,CAAA,CAAA;;KAGX,sBAAA,GAAyB,CAAA,CAAE,aAAa;;;;AJP1B;;;;;;;AAU1B;AAoCA;;;;;;;;;AC9C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