@tsed/openspec 6.102.6 → 6.102.8-rc.3

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 (35) hide show
  1. package/lib/cjs/index.js +39 -3
  2. package/lib/cjs/index.js.map +1 -1
  3. package/lib/cjs/openspec3/OS3Header.js.map +1 -1
  4. package/lib/cjs/openspec3/OS3Parameter.js.map +1 -1
  5. package/lib/cjs/openspec3/OS3Paths.js.map +1 -1
  6. package/lib/cjs/openspec3/OS3Schema.js.map +1 -1
  7. package/lib/cjs/package.json +3 -0
  8. package/lib/esm/index.js +39 -3
  9. package/lib/esm/index.js.map +1 -1
  10. package/lib/esm/openspec3/OS3Header.js.map +1 -1
  11. package/lib/esm/openspec3/OS3Parameter.js.map +1 -1
  12. package/lib/esm/openspec3/OS3Paths.js.map +1 -1
  13. package/lib/esm/openspec3/OS3Schema.js.map +1 -1
  14. package/lib/esm/package.json +3 -0
  15. package/lib/types/index.d.ts +39 -3
  16. package/lib/types/openspec3/OS3Header.d.ts +2 -1
  17. package/lib/types/openspec3/OS3Parameter.d.ts +2 -1
  18. package/lib/types/openspec3/OS3Paths.d.ts +2 -1
  19. package/lib/types/openspec3/OS3Schema.d.ts +3 -1
  20. package/package.json +10 -5
  21. package/lib/cjs/common/index.js +0 -15
  22. package/lib/cjs/common/index.js.map +0 -1
  23. package/lib/cjs/openspec2/index.js +0 -12
  24. package/lib/cjs/openspec2/index.js.map +0 -1
  25. package/lib/cjs/openspec3/index.js +0 -21
  26. package/lib/cjs/openspec3/index.js.map +0 -1
  27. package/lib/esm/common/index.js +0 -12
  28. package/lib/esm/common/index.js.map +0 -1
  29. package/lib/esm/openspec2/index.js +0 -9
  30. package/lib/esm/openspec2/index.js.map +0 -1
  31. package/lib/esm/openspec3/index.js +0 -18
  32. package/lib/esm/openspec3/index.js.map +0 -1
  33. package/lib/types/common/index.d.ts +0 -11
  34. package/lib/types/openspec2/index.d.ts +0 -8
  35. package/lib/types/openspec3/index.d.ts +0 -17
package/lib/cjs/index.js CHANGED
@@ -1,7 +1,43 @@
1
1
  "use strict";
2
+ /**
3
+ * @file Automatically generated by barrelsby.
4
+ */
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./common"), exports);
5
- (0, tslib_1.__exportStar)(require("./openspec2"), exports);
6
- (0, tslib_1.__exportStar)(require("./openspec3"), exports);
7
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecExternalDocs"), exports);
8
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecHash"), exports);
9
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecInfo"), exports);
10
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecJsonSchema"), exports);
11
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecPath"), exports);
12
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecRef"), exports);
13
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecSecurity"), exports);
14
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecTag"), exports);
15
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecTypes"), exports);
16
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecVersions"), exports);
17
+ (0, tslib_1.__exportStar)(require("./common/OpenSpecXML"), exports);
18
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Header"), exports);
19
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Operation"), exports);
20
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Parameter"), exports);
21
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Paths"), exports);
22
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Response"), exports);
23
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Schema"), exports);
24
+ (0, tslib_1.__exportStar)(require("./openspec2/OS2Security"), exports);
25
+ (0, tslib_1.__exportStar)(require("./openspec2/OpenSpec2"), exports);
26
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Callbacks"), exports);
27
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Components"), exports);
28
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Encoding"), exports);
29
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Example"), exports);
30
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Flows"), exports);
31
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Header"), exports);
32
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Link"), exports);
33
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3MediaType"), exports);
34
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Operation"), exports);
35
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Parameter"), exports);
36
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Paths"), exports);
37
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3RequestBody"), exports);
38
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Response"), exports);
39
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Schema"), exports);
40
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Security"), exports);
41
+ (0, tslib_1.__exportStar)(require("./openspec3/OS3Server"), exports);
42
+ (0, tslib_1.__exportStar)(require("./openspec3/OpenSpec3"), exports);
7
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,2DAA4B;AAC5B,2DAA4B","sourcesContent":["export * from \"./common\";\nexport * from \"./openspec2\";\nexport * from \"./openspec3\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6EAA8C;AAC9C,qEAAsC;AACtC,qEAAsC;AACtC,2EAA4C;AAC5C,qEAAsC;AACtC,oEAAqC;AACrC,yEAA0C;AAC1C,oEAAqC;AACrC,sEAAuC;AACvC,yEAA0C;AAC1C,oEAAqC;AACrC,qEAAsC;AACtC,wEAAyC;AACzC,wEAAyC;AACzC,oEAAqC;AACrC,uEAAwC;AACxC,qEAAsC;AACtC,uEAAwC;AACxC,qEAAsC;AACtC,wEAAyC;AACzC,yEAA0C;AAC1C,uEAAwC;AACxC,sEAAuC;AACvC,oEAAqC;AACrC,qEAAsC;AACtC,mEAAoC;AACpC,wEAAyC;AACzC,wEAAyC;AACzC,wEAAyC;AACzC,oEAAqC;AACrC,0EAA2C;AAC3C,uEAAwC;AACxC,qEAAsC;AACtC,uEAAwC;AACxC,qEAAsC;AACtC,qEAAsC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./common/OpenSpecExternalDocs\";\nexport * from \"./common/OpenSpecHash\";\nexport * from \"./common/OpenSpecInfo\";\nexport * from \"./common/OpenSpecJsonSchema\";\nexport * from \"./common/OpenSpecPath\";\nexport * from \"./common/OpenSpecRef\";\nexport * from \"./common/OpenSpecSecurity\";\nexport * from \"./common/OpenSpecTag\";\nexport * from \"./common/OpenSpecTypes\";\nexport * from \"./common/OpenSpecVersions\";\nexport * from \"./common/OpenSpecXML\";\nexport * from \"./openspec2/OS2Header\";\nexport * from \"./openspec2/OS2Operation\";\nexport * from \"./openspec2/OS2Parameter\";\nexport * from \"./openspec2/OS2Paths\";\nexport * from \"./openspec2/OS2Response\";\nexport * from \"./openspec2/OS2Schema\";\nexport * from \"./openspec2/OS2Security\";\nexport * from \"./openspec2/OpenSpec2\";\nexport * from \"./openspec3/OS3Callbacks\";\nexport * from \"./openspec3/OS3Components\";\nexport * from \"./openspec3/OS3Encoding\";\nexport * from \"./openspec3/OS3Example\";\nexport * from \"./openspec3/OS3Flows\";\nexport * from \"./openspec3/OS3Header\";\nexport * from \"./openspec3/OS3Link\";\nexport * from \"./openspec3/OS3MediaType\";\nexport * from \"./openspec3/OS3Operation\";\nexport * from \"./openspec3/OS3Parameter\";\nexport * from \"./openspec3/OS3Paths\";\nexport * from \"./openspec3/OS3RequestBody\";\nexport * from \"./openspec3/OS3Response\";\nexport * from \"./openspec3/OS3Schema\";\nexport * from \"./openspec3/OS3Security\";\nexport * from \"./openspec3/OS3Server\";\nexport * from \"./openspec3/OpenSpec3\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs, OpenSpecRef} from \"../common\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport interface OS3Header<Schema = OS3Schema> {\n /**\n * A description of the header. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * The schema defining the type used for the header.\n */\n schema?: Schema | OpenSpecRef;\n /**\n * Additional external documentation for this tag.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport interface OS3Header<Schema = OS3Schema> {\n /**\n * A description of the header. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * The schema defining the type used for the header.\n */\n schema?: Schema | OpenSpecRef;\n /**\n * Additional external documentation for this tag.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash, OpenSpecRef} from \"../common\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3MediaType} from \"./OS3MediaType\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3StyleParameter = \"matrix\" | \"label\" | \"form\" | \"simple\" | \"spaceDelimited\" | \"pipeDelimited\" | \"deepObject\";\n\nexport interface OS3Parameter<Schema = OS3Schema> {\n /**\n *The name of the parameter. Parameter names are case sensitive.\n *\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"path\"`, the `name` field MUST correspond to the associated [path](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsPath) segment from the path field in the [Paths Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsObject). See [Path Templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathTemplating) for further information.\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"header\"` and the `name` field is `\"Accept\"`, `\"Content-Type\"` or `\"Authorization\"`, the parameter definition SHALL be ignored.\n * - For all other cases, the `name` corresponds to the parameter name used by the [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) property.\n */\n name: string;\n /**\n * The location of the parameter. Possible values are `\"query\"`, `\"header\"`, `\"path\"` or `\"cookie\"`.\n */\n in: \"path\" | \"query\" | \"header\" | \"cookie\";\n /**\n * Determines whether this parameter is mandatory. If the [parameter location](Determines whether this parameter is mandatory.\n * If the parameter location is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is false.) is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is `false`.\n */\n required: boolean;\n /**\n * A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage.\n */\n deprecated?: boolean;\n /**\n * Sets the ability to pass empty-valued parameters.\n * This is valid only for query parameters and allows sending a parameter with an empty value.\n * Default value is `false`.\n * If style is used, and if behavior is `n/a` (cannot be serialized), the value of `allowEmptyValue` SHALL be ignored.\n */\n allowEmptyValue?: boolean;\n /**\n * The schema defining the type used for the parameter.\n */\n schema?: OS3Schema | OpenSpecRef;\n /**\n * Describes how the parameter value will be serialized depending on the type of the parameter value.\n * Default values (based on value of in): for `query` - `form`; for `path` - `simple`; for `header` - `simple`; for `cookie` - `form`.\n * See [style values](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#style-values).\n */\n style?: OS3StyleParameter;\n /**\n * When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map.\n * For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.\n */\n explode?: boolean;\n /**\n * Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-2.2) `:/?#[]@!$&'()*+,;=` to be included without percent-encoding.\n * This property only applies to parameters with an `in` value of `query`. The default value is `false`.\n */\n allowReserved?: boolean;\n /**\n * Example of the media type.\n * The `example` SHOULD match the specified schema and encoding properties if present.\n * The `example` field is mutually exclusive of the `examples` field.\n * Furthermore, if referencing a `schema` which contains an example, the `example` value SHALL override the example provided by the schema.\n * To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.\n */\n example?: any;\n /**\n * Examples of the media type.\n * Each example SHOULD contain a value in the correct format as specified in the parameter encoding.\n * The `examples` field is mutually exclusive of the `example` field.\n * Furthermore, if referencing a `schema` which contains an example, the examples value SHALL override the example provided by the schema.\n */\n examples?: OpenSpecHash<OS3Example | OpenSpecRef>;\n /***\n * A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.\n */\n content?: OpenSpecHash<OS3MediaType>;\n}\n"]}
1
+ {"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3MediaType} from \"./OS3MediaType\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3StyleParameter = \"matrix\" | \"label\" | \"form\" | \"simple\" | \"spaceDelimited\" | \"pipeDelimited\" | \"deepObject\";\n\nexport interface OS3Parameter<Schema = OS3Schema> {\n /**\n *The name of the parameter. Parameter names are case sensitive.\n *\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"path\"`, the `name` field MUST correspond to the associated [path](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsPath) segment from the path field in the [Paths Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsObject). See [Path Templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathTemplating) for further information.\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"header\"` and the `name` field is `\"Accept\"`, `\"Content-Type\"` or `\"Authorization\"`, the parameter definition SHALL be ignored.\n * - For all other cases, the `name` corresponds to the parameter name used by the [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) property.\n */\n name: string;\n /**\n * The location of the parameter. Possible values are `\"query\"`, `\"header\"`, `\"path\"` or `\"cookie\"`.\n */\n in: \"path\" | \"query\" | \"header\" | \"cookie\";\n /**\n * Determines whether this parameter is mandatory. If the [parameter location](Determines whether this parameter is mandatory.\n * If the parameter location is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is false.) is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is `false`.\n */\n required: boolean;\n /**\n * A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage.\n */\n deprecated?: boolean;\n /**\n * Sets the ability to pass empty-valued parameters.\n * This is valid only for query parameters and allows sending a parameter with an empty value.\n * Default value is `false`.\n * If style is used, and if behavior is `n/a` (cannot be serialized), the value of `allowEmptyValue` SHALL be ignored.\n */\n allowEmptyValue?: boolean;\n /**\n * The schema defining the type used for the parameter.\n */\n schema?: OS3Schema | OpenSpecRef;\n /**\n * Describes how the parameter value will be serialized depending on the type of the parameter value.\n * Default values (based on value of in): for `query` - `form`; for `path` - `simple`; for `header` - `simple`; for `cookie` - `form`.\n * See [style values](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#style-values).\n */\n style?: OS3StyleParameter;\n /**\n * When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map.\n * For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.\n */\n explode?: boolean;\n /**\n * Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-2.2) `:/?#[]@!$&'()*+,;=` to be included without percent-encoding.\n * This property only applies to parameters with an `in` value of `query`. The default value is `false`.\n */\n allowReserved?: boolean;\n /**\n * Example of the media type.\n * The `example` SHOULD match the specified schema and encoding properties if present.\n * The `example` field is mutually exclusive of the `examples` field.\n * Furthermore, if referencing a `schema` which contains an example, the `example` value SHALL override the example provided by the schema.\n * To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.\n */\n example?: any;\n /**\n * Examples of the media type.\n * Each example SHOULD contain a value in the correct format as specified in the parameter encoding.\n * The `examples` field is mutually exclusive of the `example` field.\n * Furthermore, if referencing a `schema` which contains an example, the examples value SHALL override the example provided by the schema.\n */\n examples?: OpenSpecHash<OS3Example | OpenSpecRef>;\n /***\n * A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.\n */\n content?: OpenSpecHash<OS3MediaType>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath, OpenSpecRef} from \"../common\";\nimport {OS3Operation} from \"./OS3Operation\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Paths<Schema = OS3Schema> extends OpenSpecPath<OS3Operation<Schema>> {\n /**\n * An optional, string summary, intended to apply to all operations in this path.\n */\n summary?: string;\n /**\n * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A definition of a TRACE operation on this path.\n */\n trace?: OS3Operation<Schema>;\n /**\n * An alternative server array to service all operations in this path.\n */\n servers?: OS3Server[];\n /**\n * A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters.\n */\n parameters?: (OS3Parameter<Schema> | OpenSpecRef)[];\n}\n"]}
1
+ {"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath} from \"../common/OpenSpecPath\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Operation} from \"./OS3Operation\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Paths<Schema = OS3Schema> extends OpenSpecPath<OS3Operation<Schema>> {\n /**\n * An optional, string summary, intended to apply to all operations in this path.\n */\n summary?: string;\n /**\n * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A definition of a TRACE operation on this path.\n */\n trace?: OS3Operation<Schema>;\n /**\n * An alternative server array to service all operations in this path.\n */\n servers?: OS3Server[];\n /**\n * A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters.\n */\n parameters?: (OS3Parameter<Schema> | OpenSpecRef)[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs, OpenSpecRef, OpenSpecXML} from \"../common\";\nimport {OpenSpecBaseJsonSchema, OpenSpecJsonSchema} from \"../common/OpenSpecJsonSchema\";\n\nexport interface OS3BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS3Schema | OpenSpecRef;\n}\n\nexport interface OS3Schema extends OpenSpecJsonSchema<OS3Schema> {\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n oneOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n anyOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n not?: OS3Schema | OpenSpecRef;\n /**\n * Allows sending a null value for the defined schema. Default value is false.\n */\n nullable?: boolean;\n /**\n * Adds support for polymorphism.\n * The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.\n */\n discriminator?: string;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"read only\". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.\n */\n readOnly?: boolean;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"write only\". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.\n */\n writeOnly?: boolean;\n /**\n * This MAY be used only on properties schemas. It has no effect on root schemas. Adds Additional metadata to describe the XML representation format of this property.\n */\n xml?: OpenSpecXML;\n /**\n * Additional external documentation for this schema.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecBaseJsonSchema, OpenSpecJsonSchema} from \"../common/OpenSpecJsonSchema\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OpenSpecXML} from \"../common/OpenSpecXML\";\n\nexport interface OS3BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS3Schema | OpenSpecRef;\n}\n\nexport interface OS3Schema extends OpenSpecJsonSchema<OS3Schema> {\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n oneOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n anyOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n not?: OS3Schema | OpenSpecRef;\n /**\n * Allows sending a null value for the defined schema. Default value is false.\n */\n nullable?: boolean;\n /**\n * Adds support for polymorphism.\n * The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.\n */\n discriminator?: string;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"read only\". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.\n */\n readOnly?: boolean;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"write only\". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.\n */\n writeOnly?: boolean;\n /**\n * This MAY be used only on properties schemas. It has no effect on root schemas. Adds Additional metadata to describe the XML representation format of this property.\n */\n xml?: OpenSpecXML;\n /**\n * Additional external documentation for this schema.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
package/lib/esm/index.js CHANGED
@@ -1,4 +1,40 @@
1
- export * from "./common";
2
- export * from "./openspec2";
3
- export * from "./openspec3";
1
+ /**
2
+ * @file Automatically generated by barrelsby.
3
+ */
4
+ export * from "./common/OpenSpecExternalDocs.js";
5
+ export * from "./common/OpenSpecHash.js";
6
+ export * from "./common/OpenSpecInfo.js";
7
+ export * from "./common/OpenSpecJsonSchema.js";
8
+ export * from "./common/OpenSpecPath.js";
9
+ export * from "./common/OpenSpecRef.js";
10
+ export * from "./common/OpenSpecSecurity.js";
11
+ export * from "./common/OpenSpecTag.js";
12
+ export * from "./common/OpenSpecTypes.js";
13
+ export * from "./common/OpenSpecVersions.js";
14
+ export * from "./common/OpenSpecXML.js";
15
+ export * from "./openspec2/OS2Header.js";
16
+ export * from "./openspec2/OS2Operation.js";
17
+ export * from "./openspec2/OS2Parameter.js";
18
+ export * from "./openspec2/OS2Paths.js";
19
+ export * from "./openspec2/OS2Response.js";
20
+ export * from "./openspec2/OS2Schema.js";
21
+ export * from "./openspec2/OS2Security.js";
22
+ export * from "./openspec2/OpenSpec2.js";
23
+ export * from "./openspec3/OS3Callbacks.js";
24
+ export * from "./openspec3/OS3Components.js";
25
+ export * from "./openspec3/OS3Encoding.js";
26
+ export * from "./openspec3/OS3Example.js";
27
+ export * from "./openspec3/OS3Flows.js";
28
+ export * from "./openspec3/OS3Header.js";
29
+ export * from "./openspec3/OS3Link.js";
30
+ export * from "./openspec3/OS3MediaType.js";
31
+ export * from "./openspec3/OS3Operation.js";
32
+ export * from "./openspec3/OS3Parameter.js";
33
+ export * from "./openspec3/OS3Paths.js";
34
+ export * from "./openspec3/OS3RequestBody.js";
35
+ export * from "./openspec3/OS3Response.js";
36
+ export * from "./openspec3/OS3Schema.js";
37
+ export * from "./openspec3/OS3Security.js";
38
+ export * from "./openspec3/OS3Server.js";
39
+ export * from "./openspec3/OpenSpec3.js";
4
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC","sourcesContent":["export * from \"./common\";\nexport * from \"./openspec2\";\nexport * from \"./openspec3\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./common/OpenSpecExternalDocs\";\nexport * from \"./common/OpenSpecHash\";\nexport * from \"./common/OpenSpecInfo\";\nexport * from \"./common/OpenSpecJsonSchema\";\nexport * from \"./common/OpenSpecPath\";\nexport * from \"./common/OpenSpecRef\";\nexport * from \"./common/OpenSpecSecurity\";\nexport * from \"./common/OpenSpecTag\";\nexport * from \"./common/OpenSpecTypes\";\nexport * from \"./common/OpenSpecVersions\";\nexport * from \"./common/OpenSpecXML\";\nexport * from \"./openspec2/OS2Header\";\nexport * from \"./openspec2/OS2Operation\";\nexport * from \"./openspec2/OS2Parameter\";\nexport * from \"./openspec2/OS2Paths\";\nexport * from \"./openspec2/OS2Response\";\nexport * from \"./openspec2/OS2Schema\";\nexport * from \"./openspec2/OS2Security\";\nexport * from \"./openspec2/OpenSpec2\";\nexport * from \"./openspec3/OS3Callbacks\";\nexport * from \"./openspec3/OS3Components\";\nexport * from \"./openspec3/OS3Encoding\";\nexport * from \"./openspec3/OS3Example\";\nexport * from \"./openspec3/OS3Flows\";\nexport * from \"./openspec3/OS3Header\";\nexport * from \"./openspec3/OS3Link\";\nexport * from \"./openspec3/OS3MediaType\";\nexport * from \"./openspec3/OS3Operation\";\nexport * from \"./openspec3/OS3Parameter\";\nexport * from \"./openspec3/OS3Paths\";\nexport * from \"./openspec3/OS3RequestBody\";\nexport * from \"./openspec3/OS3Response\";\nexport * from \"./openspec3/OS3Schema\";\nexport * from \"./openspec3/OS3Security\";\nexport * from \"./openspec3/OS3Server\";\nexport * from \"./openspec3/OpenSpec3\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs, OpenSpecRef} from \"../common\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport interface OS3Header<Schema = OS3Schema> {\n /**\n * A description of the header. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * The schema defining the type used for the header.\n */\n schema?: Schema | OpenSpecRef;\n /**\n * Additional external documentation for this tag.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport interface OS3Header<Schema = OS3Schema> {\n /**\n * A description of the header. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * The schema defining the type used for the header.\n */\n schema?: Schema | OpenSpecRef;\n /**\n * Additional external documentation for this tag.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash, OpenSpecRef} from \"../common\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3MediaType} from \"./OS3MediaType\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3StyleParameter = \"matrix\" | \"label\" | \"form\" | \"simple\" | \"spaceDelimited\" | \"pipeDelimited\" | \"deepObject\";\n\nexport interface OS3Parameter<Schema = OS3Schema> {\n /**\n *The name of the parameter. Parameter names are case sensitive.\n *\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"path\"`, the `name` field MUST correspond to the associated [path](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsPath) segment from the path field in the [Paths Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsObject). See [Path Templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathTemplating) for further information.\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"header\"` and the `name` field is `\"Accept\"`, `\"Content-Type\"` or `\"Authorization\"`, the parameter definition SHALL be ignored.\n * - For all other cases, the `name` corresponds to the parameter name used by the [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) property.\n */\n name: string;\n /**\n * The location of the parameter. Possible values are `\"query\"`, `\"header\"`, `\"path\"` or `\"cookie\"`.\n */\n in: \"path\" | \"query\" | \"header\" | \"cookie\";\n /**\n * Determines whether this parameter is mandatory. If the [parameter location](Determines whether this parameter is mandatory.\n * If the parameter location is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is false.) is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is `false`.\n */\n required: boolean;\n /**\n * A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage.\n */\n deprecated?: boolean;\n /**\n * Sets the ability to pass empty-valued parameters.\n * This is valid only for query parameters and allows sending a parameter with an empty value.\n * Default value is `false`.\n * If style is used, and if behavior is `n/a` (cannot be serialized), the value of `allowEmptyValue` SHALL be ignored.\n */\n allowEmptyValue?: boolean;\n /**\n * The schema defining the type used for the parameter.\n */\n schema?: OS3Schema | OpenSpecRef;\n /**\n * Describes how the parameter value will be serialized depending on the type of the parameter value.\n * Default values (based on value of in): for `query` - `form`; for `path` - `simple`; for `header` - `simple`; for `cookie` - `form`.\n * See [style values](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#style-values).\n */\n style?: OS3StyleParameter;\n /**\n * When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map.\n * For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.\n */\n explode?: boolean;\n /**\n * Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-2.2) `:/?#[]@!$&'()*+,;=` to be included without percent-encoding.\n * This property only applies to parameters with an `in` value of `query`. The default value is `false`.\n */\n allowReserved?: boolean;\n /**\n * Example of the media type.\n * The `example` SHOULD match the specified schema and encoding properties if present.\n * The `example` field is mutually exclusive of the `examples` field.\n * Furthermore, if referencing a `schema` which contains an example, the `example` value SHALL override the example provided by the schema.\n * To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.\n */\n example?: any;\n /**\n * Examples of the media type.\n * Each example SHOULD contain a value in the correct format as specified in the parameter encoding.\n * The `examples` field is mutually exclusive of the `example` field.\n * Furthermore, if referencing a `schema` which contains an example, the examples value SHALL override the example provided by the schema.\n */\n examples?: OpenSpecHash<OS3Example | OpenSpecRef>;\n /***\n * A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.\n */\n content?: OpenSpecHash<OS3MediaType>;\n}\n"]}
1
+ {"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3MediaType} from \"./OS3MediaType\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3StyleParameter = \"matrix\" | \"label\" | \"form\" | \"simple\" | \"spaceDelimited\" | \"pipeDelimited\" | \"deepObject\";\n\nexport interface OS3Parameter<Schema = OS3Schema> {\n /**\n *The name of the parameter. Parameter names are case sensitive.\n *\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"path\"`, the `name` field MUST correspond to the associated [path](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsPath) segment from the path field in the [Paths Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathsObject). See [Path Templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathTemplating) for further information.\n * - If [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) is `\"header\"` and the `name` field is `\"Accept\"`, `\"Content-Type\"` or `\"Authorization\"`, the parameter definition SHALL be ignored.\n * - For all other cases, the `name` corresponds to the parameter name used by the [`in`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) property.\n */\n name: string;\n /**\n * The location of the parameter. Possible values are `\"query\"`, `\"header\"`, `\"path\"` or `\"cookie\"`.\n */\n in: \"path\" | \"query\" | \"header\" | \"cookie\";\n /**\n * Determines whether this parameter is mandatory. If the [parameter location](Determines whether this parameter is mandatory.\n * If the parameter location is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is false.) is `\"path\"`, this property is **REQUIRED** and its value MUST be `true`.\n * Otherwise, the property MAY be included and its default value is `false`.\n */\n required: boolean;\n /**\n * A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage.\n */\n deprecated?: boolean;\n /**\n * Sets the ability to pass empty-valued parameters.\n * This is valid only for query parameters and allows sending a parameter with an empty value.\n * Default value is `false`.\n * If style is used, and if behavior is `n/a` (cannot be serialized), the value of `allowEmptyValue` SHALL be ignored.\n */\n allowEmptyValue?: boolean;\n /**\n * The schema defining the type used for the parameter.\n */\n schema?: OS3Schema | OpenSpecRef;\n /**\n * Describes how the parameter value will be serialized depending on the type of the parameter value.\n * Default values (based on value of in): for `query` - `form`; for `path` - `simple`; for `header` - `simple`; for `cookie` - `form`.\n * See [style values](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#style-values).\n */\n style?: OS3StyleParameter;\n /**\n * When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map.\n * For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.\n */\n explode?: boolean;\n /**\n * Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-2.2) `:/?#[]@!$&'()*+,;=` to be included without percent-encoding.\n * This property only applies to parameters with an `in` value of `query`. The default value is `false`.\n */\n allowReserved?: boolean;\n /**\n * Example of the media type.\n * The `example` SHOULD match the specified schema and encoding properties if present.\n * The `example` field is mutually exclusive of the `examples` field.\n * Furthermore, if referencing a `schema` which contains an example, the `example` value SHALL override the example provided by the schema.\n * To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.\n */\n example?: any;\n /**\n * Examples of the media type.\n * Each example SHOULD contain a value in the correct format as specified in the parameter encoding.\n * The `examples` field is mutually exclusive of the `example` field.\n * Furthermore, if referencing a `schema` which contains an example, the examples value SHALL override the example provided by the schema.\n */\n examples?: OpenSpecHash<OS3Example | OpenSpecRef>;\n /***\n * A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.\n */\n content?: OpenSpecHash<OS3MediaType>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath, OpenSpecRef} from \"../common\";\nimport {OS3Operation} from \"./OS3Operation\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Paths<Schema = OS3Schema> extends OpenSpecPath<OS3Operation<Schema>> {\n /**\n * An optional, string summary, intended to apply to all operations in this path.\n */\n summary?: string;\n /**\n * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A definition of a TRACE operation on this path.\n */\n trace?: OS3Operation<Schema>;\n /**\n * An alternative server array to service all operations in this path.\n */\n servers?: OS3Server[];\n /**\n * A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters.\n */\n parameters?: (OS3Parameter<Schema> | OpenSpecRef)[];\n}\n"]}
1
+ {"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath} from \"../common/OpenSpecPath\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Operation} from \"./OS3Operation\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Paths<Schema = OS3Schema> extends OpenSpecPath<OS3Operation<Schema>> {\n /**\n * An optional, string summary, intended to apply to all operations in this path.\n */\n summary?: string;\n /**\n * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A definition of a TRACE operation on this path.\n */\n trace?: OS3Operation<Schema>;\n /**\n * An alternative server array to service all operations in this path.\n */\n servers?: OS3Server[];\n /**\n * A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters.\n */\n parameters?: (OS3Parameter<Schema> | OpenSpecRef)[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs, OpenSpecRef, OpenSpecXML} from \"../common\";\nimport {OpenSpecBaseJsonSchema, OpenSpecJsonSchema} from \"../common/OpenSpecJsonSchema\";\n\nexport interface OS3BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS3Schema | OpenSpecRef;\n}\n\nexport interface OS3Schema extends OpenSpecJsonSchema<OS3Schema> {\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n oneOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n anyOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n not?: OS3Schema | OpenSpecRef;\n /**\n * Allows sending a null value for the defined schema. Default value is false.\n */\n nullable?: boolean;\n /**\n * Adds support for polymorphism.\n * The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.\n */\n discriminator?: string;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"read only\". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.\n */\n readOnly?: boolean;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"write only\". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.\n */\n writeOnly?: boolean;\n /**\n * This MAY be used only on properties schemas. It has no effect on root schemas. Adds Additional metadata to describe the XML representation format of this property.\n */\n xml?: OpenSpecXML;\n /**\n * Additional external documentation for this schema.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecBaseJsonSchema, OpenSpecJsonSchema} from \"../common/OpenSpecJsonSchema\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OpenSpecXML} from \"../common/OpenSpecXML\";\n\nexport interface OS3BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS3Schema | OpenSpecRef;\n}\n\nexport interface OS3Schema extends OpenSpecJsonSchema<OS3Schema> {\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n oneOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n anyOf?: (OS3Schema | OpenSpecRef)[];\n /**\n * Inline or referenced schema MUST be of a [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject) and not a standard JSON Schema.\n */\n not?: OS3Schema | OpenSpecRef;\n /**\n * Allows sending a null value for the defined schema. Default value is false.\n */\n nullable?: boolean;\n /**\n * Adds support for polymorphism.\n * The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.\n */\n discriminator?: string;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"read only\". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.\n */\n readOnly?: boolean;\n /**\n * Relevant only for Schema \"properties\" definitions. Declares the property as \"write only\". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.\n */\n writeOnly?: boolean;\n /**\n * This MAY be used only on properties schemas. It has no effect on root schemas. Adds Additional metadata to describe the XML representation format of this property.\n */\n xml?: OpenSpecXML;\n /**\n * Additional external documentation for this schema.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -1,3 +1,39 @@
1
- export * from "./common";
2
- export * from "./openspec2";
3
- export * from "./openspec3";
1
+ /**
2
+ * @file Automatically generated by barrelsby.
3
+ */
4
+ export * from "./common/OpenSpecExternalDocs";
5
+ export * from "./common/OpenSpecHash";
6
+ export * from "./common/OpenSpecInfo";
7
+ export * from "./common/OpenSpecJsonSchema";
8
+ export * from "./common/OpenSpecPath";
9
+ export * from "./common/OpenSpecRef";
10
+ export * from "./common/OpenSpecSecurity";
11
+ export * from "./common/OpenSpecTag";
12
+ export * from "./common/OpenSpecTypes";
13
+ export * from "./common/OpenSpecVersions";
14
+ export * from "./common/OpenSpecXML";
15
+ export * from "./openspec2/OS2Header";
16
+ export * from "./openspec2/OS2Operation";
17
+ export * from "./openspec2/OS2Parameter";
18
+ export * from "./openspec2/OS2Paths";
19
+ export * from "./openspec2/OS2Response";
20
+ export * from "./openspec2/OS2Schema";
21
+ export * from "./openspec2/OS2Security";
22
+ export * from "./openspec2/OpenSpec2";
23
+ export * from "./openspec3/OS3Callbacks";
24
+ export * from "./openspec3/OS3Components";
25
+ export * from "./openspec3/OS3Encoding";
26
+ export * from "./openspec3/OS3Example";
27
+ export * from "./openspec3/OS3Flows";
28
+ export * from "./openspec3/OS3Header";
29
+ export * from "./openspec3/OS3Link";
30
+ export * from "./openspec3/OS3MediaType";
31
+ export * from "./openspec3/OS3Operation";
32
+ export * from "./openspec3/OS3Parameter";
33
+ export * from "./openspec3/OS3Paths";
34
+ export * from "./openspec3/OS3RequestBody";
35
+ export * from "./openspec3/OS3Response";
36
+ export * from "./openspec3/OS3Schema";
37
+ export * from "./openspec3/OS3Security";
38
+ export * from "./openspec3/OS3Server";
39
+ export * from "./openspec3/OpenSpec3";
@@ -1,4 +1,5 @@
1
- import { OpenSpecExternalDocs, OpenSpecRef } from "../common";
1
+ import { OpenSpecExternalDocs } from "../common/OpenSpecExternalDocs";
2
+ import { OpenSpecRef } from "../common/OpenSpecRef";
2
3
  import { OS3Schema } from "./OS3Schema";
3
4
  export interface OS3Header<Schema = OS3Schema> {
4
5
  /**
@@ -1,4 +1,5 @@
1
- import { OpenSpecHash, OpenSpecRef } from "../common";
1
+ import { OpenSpecHash } from "../common/OpenSpecHash";
2
+ import { OpenSpecRef } from "../common/OpenSpecRef";
2
3
  import { OS3Example } from "./OS3Example";
3
4
  import { OS3MediaType } from "./OS3MediaType";
4
5
  import { OS3Schema } from "./OS3Schema";
@@ -1,4 +1,5 @@
1
- import { OpenSpecPath, OpenSpecRef } from "../common";
1
+ import { OpenSpecPath } from "../common/OpenSpecPath";
2
+ import { OpenSpecRef } from "../common/OpenSpecRef";
2
3
  import { OS3Operation } from "./OS3Operation";
3
4
  import { OS3Parameter } from "./OS3Parameter";
4
5
  import { OS3Schema } from "./OS3Schema";
@@ -1,5 +1,7 @@
1
- import { OpenSpecExternalDocs, OpenSpecRef, OpenSpecXML } from "../common";
1
+ import { OpenSpecExternalDocs } from "../common/OpenSpecExternalDocs";
2
2
  import { OpenSpecBaseJsonSchema, OpenSpecJsonSchema } from "../common/OpenSpecJsonSchema";
3
+ import { OpenSpecRef } from "../common/OpenSpecRef";
4
+ import { OpenSpecXML } from "../common/OpenSpecXML";
3
5
  export interface OS3BaseSchema extends OpenSpecBaseJsonSchema {
4
6
  /**
5
7
  * Required if type is "array". Describes the type of items in the array.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@tsed/openspec",
3
- "version": "6.102.6",
3
+ "version": "6.102.8-rc.3",
4
4
  "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
+ "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
11
  "types": "./lib/types/index.d.ts",
@@ -13,9 +14,10 @@
13
14
  "default": "./lib/esm/index.js"
14
15
  },
15
16
  "scripts": {
16
- "build": "yarn run build:esm && yarn run build:cjs",
17
+ "build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
17
18
  "build:cjs": "tsc --build tsconfig.compile.json",
18
- "build:esm": "tsc --build tsconfig.compile.esm.json"
19
+ "build:esm": "tsc --build tsconfig.compile.esm.json",
20
+ "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\""
19
21
  },
20
22
  "keywords": [
21
23
  "TypeScript",
@@ -34,7 +36,10 @@
34
36
  "bugs": {
35
37
  "url": "https://github.com/tsedio/tsed/issues"
36
38
  },
37
- "homepage": "https://github.com/tsedio/tsed/tree/production/packages/specs/openspec",
39
+ "homepage": "https://github.com/tsedio/tsed/tree/rc/packages/specs/openspec",
38
40
  "author": "Romain Lenzotti",
39
- "license": "MIT"
41
+ "license": "MIT",
42
+ "publishConfig": {
43
+ "tag": "rc"
44
+ }
40
45
  }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./OpenSpecExternalDocs"), exports);
5
- (0, tslib_1.__exportStar)(require("./OpenSpecHash"), exports);
6
- (0, tslib_1.__exportStar)(require("./OpenSpecInfo"), exports);
7
- (0, tslib_1.__exportStar)(require("./OpenSpecJsonSchema"), exports);
8
- (0, tslib_1.__exportStar)(require("./OpenSpecPath"), exports);
9
- (0, tslib_1.__exportStar)(require("./OpenSpecRef"), exports);
10
- (0, tslib_1.__exportStar)(require("./OpenSpecTag"), exports);
11
- (0, tslib_1.__exportStar)(require("./OpenSpecTypes"), exports);
12
- (0, tslib_1.__exportStar)(require("./OpenSpecVersions"), exports);
13
- (0, tslib_1.__exportStar)(require("./OpenSpecXML"), exports);
14
- (0, tslib_1.__exportStar)(require("./OpenSpecSecurity"), exports);
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":";;;AAAA,sEAAuC;AACvC,8DAA+B;AAC/B,8DAA+B;AAC/B,oEAAqC;AACrC,8DAA+B;AAC/B,6DAA8B;AAC9B,6DAA8B;AAC9B,+DAAgC;AAChC,kEAAmC;AACnC,6DAA8B;AAC9B,kEAAmC","sourcesContent":["export * from \"./OpenSpecExternalDocs\";\nexport * from \"./OpenSpecHash\";\nexport * from \"./OpenSpecInfo\";\nexport * from \"./OpenSpecJsonSchema\";\nexport * from \"./OpenSpecPath\";\nexport * from \"./OpenSpecRef\";\nexport * from \"./OpenSpecTag\";\nexport * from \"./OpenSpecTypes\";\nexport * from \"./OpenSpecVersions\";\nexport * from \"./OpenSpecXML\";\nexport * from \"./OpenSpecSecurity\";\n"]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./OpenSpec2"), exports);
5
- (0, tslib_1.__exportStar)(require("./OS2Header"), exports);
6
- (0, tslib_1.__exportStar)(require("./OS2Operation"), exports);
7
- (0, tslib_1.__exportStar)(require("./OS2Parameter"), exports);
8
- (0, tslib_1.__exportStar)(require("./OS2Paths"), exports);
9
- (0, tslib_1.__exportStar)(require("./OS2Response"), exports);
10
- (0, tslib_1.__exportStar)(require("./OS2Schema"), exports);
11
- (0, tslib_1.__exportStar)(require("./OS2Security"), exports);
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openspec2/index.ts"],"names":[],"mappings":";;;AAAA,2DAA4B;AAC5B,2DAA4B;AAC5B,8DAA+B;AAC/B,8DAA+B;AAC/B,0DAA2B;AAC3B,6DAA8B;AAC9B,2DAA4B;AAC5B,6DAA8B","sourcesContent":["export * from \"./OpenSpec2\";\nexport * from \"./OS2Header\";\nexport * from \"./OS2Operation\";\nexport * from \"./OS2Parameter\";\nexport * from \"./OS2Paths\";\nexport * from \"./OS2Response\";\nexport * from \"./OS2Schema\";\nexport * from \"./OS2Security\";\n"]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./OpenSpec3"), exports);
5
- (0, tslib_1.__exportStar)(require("./OS3Callbacks"), exports);
6
- (0, tslib_1.__exportStar)(require("./OS3Components"), exports);
7
- (0, tslib_1.__exportStar)(require("./OS3Encoding"), exports);
8
- (0, tslib_1.__exportStar)(require("./OS3Flows"), exports);
9
- (0, tslib_1.__exportStar)(require("./OS3Header"), exports);
10
- (0, tslib_1.__exportStar)(require("./OS3Link"), exports);
11
- (0, tslib_1.__exportStar)(require("./OS3MediaType"), exports);
12
- (0, tslib_1.__exportStar)(require("./OS3Operation"), exports);
13
- (0, tslib_1.__exportStar)(require("./OS3Parameter"), exports);
14
- (0, tslib_1.__exportStar)(require("./OS3Paths"), exports);
15
- (0, tslib_1.__exportStar)(require("./OS3RequestBody"), exports);
16
- (0, tslib_1.__exportStar)(require("./OS3Response"), exports);
17
- (0, tslib_1.__exportStar)(require("./OS3Schema"), exports);
18
- (0, tslib_1.__exportStar)(require("./OS3Security"), exports);
19
- (0, tslib_1.__exportStar)(require("./OS3Server"), exports);
20
- (0, tslib_1.__exportStar)(require("./OS3Example"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openspec3/index.ts"],"names":[],"mappings":";;;AAAA,2DAA4B;AAC5B,8DAA+B;AAC/B,+DAAgC;AAChC,6DAA8B;AAC9B,0DAA2B;AAC3B,2DAA4B;AAC5B,yDAA0B;AAC1B,8DAA+B;AAC/B,8DAA+B;AAC/B,8DAA+B;AAC/B,0DAA2B;AAC3B,gEAAiC;AACjC,6DAA8B;AAC9B,2DAA4B;AAC5B,6DAA8B;AAC9B,2DAA4B;AAC5B,4DAA6B","sourcesContent":["export * from \"./OpenSpec3\";\nexport * from \"./OS3Callbacks\";\nexport * from \"./OS3Components\";\nexport * from \"./OS3Encoding\";\nexport * from \"./OS3Flows\";\nexport * from \"./OS3Header\";\nexport * from \"./OS3Link\";\nexport * from \"./OS3MediaType\";\nexport * from \"./OS3Operation\";\nexport * from \"./OS3Parameter\";\nexport * from \"./OS3Paths\";\nexport * from \"./OS3RequestBody\";\nexport * from \"./OS3Response\";\nexport * from \"./OS3Schema\";\nexport * from \"./OS3Security\";\nexport * from \"./OS3Server\";\nexport * from \"./OS3Example\";\n"]}
@@ -1,12 +0,0 @@
1
- export * from "./OpenSpecExternalDocs";
2
- export * from "./OpenSpecHash";
3
- export * from "./OpenSpecInfo";
4
- export * from "./OpenSpecJsonSchema";
5
- export * from "./OpenSpecPath";
6
- export * from "./OpenSpecRef";
7
- export * from "./OpenSpecTag";
8
- export * from "./OpenSpecTypes";
9
- export * from "./OpenSpecVersions";
10
- export * from "./OpenSpecXML";
11
- export * from "./OpenSpecSecurity";
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC","sourcesContent":["export * from \"./OpenSpecExternalDocs\";\nexport * from \"./OpenSpecHash\";\nexport * from \"./OpenSpecInfo\";\nexport * from \"./OpenSpecJsonSchema\";\nexport * from \"./OpenSpecPath\";\nexport * from \"./OpenSpecRef\";\nexport * from \"./OpenSpecTag\";\nexport * from \"./OpenSpecTypes\";\nexport * from \"./OpenSpecVersions\";\nexport * from \"./OpenSpecXML\";\nexport * from \"./OpenSpecSecurity\";\n"]}
@@ -1,9 +0,0 @@
1
- export * from "./OpenSpec2";
2
- export * from "./OS2Header";
3
- export * from "./OS2Operation";
4
- export * from "./OS2Parameter";
5
- export * from "./OS2Paths";
6
- export * from "./OS2Response";
7
- export * from "./OS2Schema";
8
- export * from "./OS2Security";
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openspec2/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC","sourcesContent":["export * from \"./OpenSpec2\";\nexport * from \"./OS2Header\";\nexport * from \"./OS2Operation\";\nexport * from \"./OS2Parameter\";\nexport * from \"./OS2Paths\";\nexport * from \"./OS2Response\";\nexport * from \"./OS2Schema\";\nexport * from \"./OS2Security\";\n"]}
@@ -1,18 +0,0 @@
1
- export * from "./OpenSpec3";
2
- export * from "./OS3Callbacks";
3
- export * from "./OS3Components";
4
- export * from "./OS3Encoding";
5
- export * from "./OS3Flows";
6
- export * from "./OS3Header";
7
- export * from "./OS3Link";
8
- export * from "./OS3MediaType";
9
- export * from "./OS3Operation";
10
- export * from "./OS3Parameter";
11
- export * from "./OS3Paths";
12
- export * from "./OS3RequestBody";
13
- export * from "./OS3Response";
14
- export * from "./OS3Schema";
15
- export * from "./OS3Security";
16
- export * from "./OS3Server";
17
- export * from "./OS3Example";
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openspec3/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC","sourcesContent":["export * from \"./OpenSpec3\";\nexport * from \"./OS3Callbacks\";\nexport * from \"./OS3Components\";\nexport * from \"./OS3Encoding\";\nexport * from \"./OS3Flows\";\nexport * from \"./OS3Header\";\nexport * from \"./OS3Link\";\nexport * from \"./OS3MediaType\";\nexport * from \"./OS3Operation\";\nexport * from \"./OS3Parameter\";\nexport * from \"./OS3Paths\";\nexport * from \"./OS3RequestBody\";\nexport * from \"./OS3Response\";\nexport * from \"./OS3Schema\";\nexport * from \"./OS3Security\";\nexport * from \"./OS3Server\";\nexport * from \"./OS3Example\";\n"]}
@@ -1,11 +0,0 @@
1
- export * from "./OpenSpecExternalDocs";
2
- export * from "./OpenSpecHash";
3
- export * from "./OpenSpecInfo";
4
- export * from "./OpenSpecJsonSchema";
5
- export * from "./OpenSpecPath";
6
- export * from "./OpenSpecRef";
7
- export * from "./OpenSpecTag";
8
- export * from "./OpenSpecTypes";
9
- export * from "./OpenSpecVersions";
10
- export * from "./OpenSpecXML";
11
- export * from "./OpenSpecSecurity";
@@ -1,8 +0,0 @@
1
- export * from "./OpenSpec2";
2
- export * from "./OS2Header";
3
- export * from "./OS2Operation";
4
- export * from "./OS2Parameter";
5
- export * from "./OS2Paths";
6
- export * from "./OS2Response";
7
- export * from "./OS2Schema";
8
- export * from "./OS2Security";
@@ -1,17 +0,0 @@
1
- export * from "./OpenSpec3";
2
- export * from "./OS3Callbacks";
3
- export * from "./OS3Components";
4
- export * from "./OS3Encoding";
5
- export * from "./OS3Flows";
6
- export * from "./OS3Header";
7
- export * from "./OS3Link";
8
- export * from "./OS3MediaType";
9
- export * from "./OS3Operation";
10
- export * from "./OS3Parameter";
11
- export * from "./OS3Paths";
12
- export * from "./OS3RequestBody";
13
- export * from "./OS3Response";
14
- export * from "./OS3Schema";
15
- export * from "./OS3Security";
16
- export * from "./OS3Server";
17
- export * from "./OS3Example";