@tsed/openspec 7.18.3-rc.1 → 7.18.4

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 (91) hide show
  1. package/.eslintignore +13 -0
  2. package/.eslintrc.js +1 -0
  3. package/lib/cjs/common/OpenSpecExternalDocs.js.map +1 -1
  4. package/lib/cjs/common/OpenSpecHash.js.map +1 -1
  5. package/lib/cjs/common/OpenSpecInfo.js.map +1 -1
  6. package/lib/cjs/common/OpenSpecJsonSchema.js.map +1 -1
  7. package/lib/cjs/common/OpenSpecPath.js.map +1 -1
  8. package/lib/cjs/common/OpenSpecRef.js.map +1 -1
  9. package/lib/cjs/common/OpenSpecSecurity.js.map +1 -1
  10. package/lib/cjs/common/OpenSpecTag.js.map +1 -1
  11. package/lib/cjs/common/OpenSpecTypes.js.map +1 -1
  12. package/lib/cjs/common/OpenSpecVersions.js.map +1 -1
  13. package/lib/cjs/common/OpenSpecXML.js.map +1 -1
  14. package/lib/cjs/index.js.map +1 -1
  15. package/lib/cjs/openspec2/OS2Header.js.map +1 -1
  16. package/lib/cjs/openspec2/OS2Operation.js.map +1 -1
  17. package/lib/cjs/openspec2/OS2Parameter.js.map +1 -1
  18. package/lib/cjs/openspec2/OS2Paths.js.map +1 -1
  19. package/lib/cjs/openspec2/OS2Response.js.map +1 -1
  20. package/lib/cjs/openspec2/OS2Schema.js.map +1 -1
  21. package/lib/cjs/openspec2/OS2Security.js.map +1 -1
  22. package/lib/cjs/openspec2/OpenSpec2.js.map +1 -1
  23. package/lib/cjs/openspec3/OS3Callbacks.js.map +1 -1
  24. package/lib/cjs/openspec3/OS3Components.js.map +1 -1
  25. package/lib/cjs/openspec3/OS3Encoding.js.map +1 -1
  26. package/lib/cjs/openspec3/OS3Example.js.map +1 -1
  27. package/lib/cjs/openspec3/OS3Flows.js.map +1 -1
  28. package/lib/cjs/openspec3/OS3Header.js.map +1 -1
  29. package/lib/cjs/openspec3/OS3Link.js.map +1 -1
  30. package/lib/cjs/openspec3/OS3MediaType.js.map +1 -1
  31. package/lib/cjs/openspec3/OS3Operation.js.map +1 -1
  32. package/lib/cjs/openspec3/OS3Parameter.js.map +1 -1
  33. package/lib/cjs/openspec3/OS3Paths.js.map +1 -1
  34. package/lib/cjs/openspec3/OS3RequestBody.js.map +1 -1
  35. package/lib/cjs/openspec3/OS3Response.js.map +1 -1
  36. package/lib/cjs/openspec3/OS3Schema.js.map +1 -1
  37. package/lib/cjs/openspec3/OS3Security.js.map +1 -1
  38. package/lib/cjs/openspec3/OS3Server.js.map +1 -1
  39. package/lib/cjs/openspec3/OpenSpec3.js.map +1 -1
  40. package/lib/esm/common/OpenSpecExternalDocs.js.map +1 -1
  41. package/lib/esm/common/OpenSpecHash.js.map +1 -1
  42. package/lib/esm/common/OpenSpecInfo.js.map +1 -1
  43. package/lib/esm/common/OpenSpecJsonSchema.js.map +1 -1
  44. package/lib/esm/common/OpenSpecPath.js.map +1 -1
  45. package/lib/esm/common/OpenSpecRef.js.map +1 -1
  46. package/lib/esm/common/OpenSpecSecurity.js.map +1 -1
  47. package/lib/esm/common/OpenSpecTag.js.map +1 -1
  48. package/lib/esm/common/OpenSpecTypes.js.map +1 -1
  49. package/lib/esm/common/OpenSpecVersions.js.map +1 -1
  50. package/lib/esm/common/OpenSpecXML.js.map +1 -1
  51. package/lib/esm/index.js.map +1 -1
  52. package/lib/esm/openspec2/OS2Header.js.map +1 -1
  53. package/lib/esm/openspec2/OS2Operation.js.map +1 -1
  54. package/lib/esm/openspec2/OS2Parameter.js.map +1 -1
  55. package/lib/esm/openspec2/OS2Paths.js.map +1 -1
  56. package/lib/esm/openspec2/OS2Response.js.map +1 -1
  57. package/lib/esm/openspec2/OS2Schema.js.map +1 -1
  58. package/lib/esm/openspec2/OS2Security.js.map +1 -1
  59. package/lib/esm/openspec2/OpenSpec2.js.map +1 -1
  60. package/lib/esm/openspec3/OS3Callbacks.js.map +1 -1
  61. package/lib/esm/openspec3/OS3Components.js.map +1 -1
  62. package/lib/esm/openspec3/OS3Encoding.js.map +1 -1
  63. package/lib/esm/openspec3/OS3Example.js.map +1 -1
  64. package/lib/esm/openspec3/OS3Flows.js.map +1 -1
  65. package/lib/esm/openspec3/OS3Header.js.map +1 -1
  66. package/lib/esm/openspec3/OS3Link.js.map +1 -1
  67. package/lib/esm/openspec3/OS3MediaType.js.map +1 -1
  68. package/lib/esm/openspec3/OS3Operation.js.map +1 -1
  69. package/lib/esm/openspec3/OS3Parameter.js.map +1 -1
  70. package/lib/esm/openspec3/OS3Paths.js.map +1 -1
  71. package/lib/esm/openspec3/OS3RequestBody.js.map +1 -1
  72. package/lib/esm/openspec3/OS3Response.js.map +1 -1
  73. package/lib/esm/openspec3/OS3Schema.js.map +1 -1
  74. package/lib/esm/openspec3/OS3Security.js.map +1 -1
  75. package/lib/esm/openspec3/OS3Server.js.map +1 -1
  76. package/lib/esm/openspec3/OpenSpec3.js.map +1 -1
  77. package/lib/tsconfig.esm.tsbuildinfo +1 -0
  78. package/lib/tsconfig.tsbuildinfo +1 -0
  79. package/lib/types/common/OpenSpecHash.d.ts +1 -1
  80. package/lib/types/common/OpenSpecSecurity.d.ts +1 -1
  81. package/lib/types/common/OpenSpecTypes.d.ts +1 -1
  82. package/lib/types/common/OpenSpecVersions.d.ts +3 -3
  83. package/lib/types/openspec2/OS2Parameter.d.ts +14 -14
  84. package/lib/types/openspec2/OS2Security.d.ts +1 -1
  85. package/lib/types/openspec3/OS3Callbacks.d.ts +1 -1
  86. package/lib/types/openspec3/OS3Parameter.d.ts +1 -1
  87. package/lib/types/openspec3/OS3Security.d.ts +1 -1
  88. package/package.json +12 -10
  89. package/tsconfig.esm.json +29 -0
  90. package/tsconfig.tsbuildinfo +1 -0
  91. package/tsconfig.compile.esm.json +0 -12
package/.eslintignore ADDED
@@ -0,0 +1,13 @@
1
+ node_modules
2
+ docs
3
+ docs-references
4
+ lib
5
+ dist
6
+ coverage
7
+ .nyc_output
8
+ *-lock.json
9
+ *.lock
10
+ benchmarks.*
11
+ **/generated
12
+
13
+ **/*.js
package/.eslintrc.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@tsed/eslint/node.js");
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecExternalDocs.js","sourceRoot":"","sources":["../../../src/common/OpenSpecExternalDocs.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecExternalDocs {\n /**\n * The URL for the target documentation. Value MUST be in the format of a URL.\n */\n url: string;\n /**\n * A short description of the target documentation. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.\n */\n description?: string;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecExternalDocs.js","sourceRoot":"","sources":["../../../src/common/OpenSpecExternalDocs.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecHash.js","sourceRoot":"","sources":["../../../src/common/OpenSpecHash.ts"],"names":[],"mappings":"","sourcesContent":["export type OpenSpecHash<T> = Record<string, T>;\n"]}
1
+ {"version":3,"file":"OpenSpecHash.js","sourceRoot":"","sources":["../../../src/common/OpenSpecHash.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecInfo.js","sourceRoot":"","sources":["../../../src/common/OpenSpecInfo.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecContact {\n /**\n * The identifying name of the contact person/organization.\n */\n name?: string;\n /**\n * The email address of the contact person/organization. MUST be in the format of an email address.\n */\n email?: string;\n /**\n * The URL pointing to the contact information. MUST be in the format of a URL.\n */\n url?: string;\n}\n\nexport interface OpenSpecLicense {\n /**\n * The license name used for the API.\n */\n name: string;\n /**\n * A URL to the license used for the API. MUST be in the format of a URL.\n */\n url?: string;\n}\n\nexport interface OpenSpecInfo {\n /**\n * The title of the application.\n */\n title: string;\n /**\n * The version of the OpenAPI document (which is distinct from the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oasVersion) version or the API implementation version).\n */\n version: string;\n /**\n * A short description of the application. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A URL to the Terms of Service for the API. MUST be in the format of a URL.\n */\n termsOfService?: string;\n /**\n * The contact information for the exposed API.\n */\n contact?: OpenSpecContact;\n /**\n * The license information for the exposed API.\n */\n license?: OpenSpecLicense;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecInfo.js","sourceRoot":"","sources":["../../../src/common/OpenSpecInfo.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecJsonSchema.js","sourceRoot":"","sources":["../../../src/common/OpenSpecJsonSchema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"./OpenSpecHash\";\nimport {OpenSpecRef} from \"./OpenSpecRef\";\nimport {OpenSpecTypes} from \"./OpenSpecTypes\";\n\nexport interface OpenSpecBaseJsonSchema {\n $ref?: string;\n /**\n * This attribute is a string that provides a short description of the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n title?: string;\n /**\n * Must be strictly greater than 0.\n * A numeric instance is valid only if division by this keyword's value results in an integer.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.1\n */\n multipleOf?: number;\n /**\n * Representing an inclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is less than or exactly equal to \"maximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.2\n */\n maximum?: number;\n /**\n * Representing an exclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is strictly less than (not equal to) to \"exclusiveMaximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.3\n */\n exclusiveMaximum?: boolean;\n /**\n * Representing an inclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is greater than or exactly equal to \"minimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.4\n */\n minimum?: number;\n /**\n * Representing an exclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is strictly greater than (not equal to) to \"exclusiveMinimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.5\n */\n exclusiveMinimum?: boolean;\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.6\n */\n maxLength?: number;\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.7\n */\n minLength?: number;\n /**\n * Should be a valid regular expression, according to the ECMA 262 regular expression dialect.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.8\n */\n pattern?: string;\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.11\n */\n maxItems?: number;\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.12\n */\n minItems?: number;\n /**\n * If this keyword has boolean value false, the instance validates successfully.\n * If it has boolean value true, the instance validates successfully if all of its elements are unique.\n * Omitting this keyword has the same behavior as a value of false.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.13\n */\n uniqueItems?: boolean;\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.15\n */\n maxProperties?: number;\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is greater than,\n * or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.16\n */\n minProperties?: number;\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.23\n */\n enum?: any[];\n /**\n * This attribute is a string that provides a full description of the of purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n description?: string;\n /**\n * This keyword can be used to supply a default JSON value associated with a particular schema.\n * It is RECOMMENDED that a default value be valid against the associated schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.3\n */\n default?: any;\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-8\n */\n format?: string;\n /**\n * A single type, or a union of simple types\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25\n */\n type?: OpenSpecTypes;\n}\n\nexport interface OpenSpecJsonSchema<Schema = any> extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: Schema | OpenSpecRef;\n /**\n * A free-form property to include an example of an instance for this schema.\n */\n required?: string[];\n /**\n * Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.\n */\n additionalProperties?: Schema | boolean;\n /**\n * Property definitions MUST be a Schema Object and not a standard JSON Schema (inline or referenced).\n */\n properties?: OpenSpecHash<Schema>;\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 allOf?: (Schema | OpenSpecRef)[];\n /**\n * Additional external documentation for this schema.\n */\n example?: any;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecJsonSchema.js","sourceRoot":"","sources":["../../../src/common/OpenSpecJsonSchema.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecPath.js","sourceRoot":"","sources":["../../../src/common/OpenSpecPath.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecPath<Operation> {\n $ref?: string;\n get?: Operation;\n put?: Operation;\n post?: Operation;\n delete?: Operation;\n options?: Operation;\n head?: Operation;\n patch?: Operation;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecPath.js","sourceRoot":"","sources":["../../../src/common/OpenSpecPath.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecRef.js","sourceRoot":"","sources":["../../../src/common/OpenSpecRef.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecRef {\n $ref: string;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecRef.js","sourceRoot":"","sources":["../../../src/common/OpenSpecRef.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecSecurity.js","sourceRoot":"","sources":["../../../src/common/OpenSpecSecurity.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"./OpenSpecHash\";\n\nexport type OpenSpecSecurity = OpenSpecHash<string[]>[];\n"]}
1
+ {"version":3,"file":"OpenSpecSecurity.js","sourceRoot":"","sources":["../../../src/common/OpenSpecSecurity.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecTag.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTag.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"./OpenSpecExternalDocs\";\n\nexport interface OpenSpecTag {\n name: string;\n description?: string;\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecTag.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTag.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecTypes.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type OpenSpecTypes = \"string\" | \"number\" | \"integer\" | \"boolean\" | \"array\" | \"object\" | \"file\";\n"]}
1
+ {"version":3,"file":"OpenSpecTypes.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTypes.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecVersions.js","sourceRoot":"","sources":["../../../src/common/OpenSpecVersions.ts"],"names":[],"mappings":"","sourcesContent":["export type OS2Versions = \"2.0\";\nexport type OS3Versions = \"3.0.1\" | \"3.0.2\" | \"3.0.3\";\nexport type OpenSpecVersions = OS2Versions | OS3Versions;\n"]}
1
+ {"version":3,"file":"OpenSpecVersions.js","sourceRoot":"","sources":["../../../src/common/OpenSpecVersions.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecXML.js","sourceRoot":"","sources":["../../../src/common/OpenSpecXML.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecXML {\n /**\n * Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored.\n */\n name?: string;\n /**\n * The URI of the namespace definition. Value MUST be in the form of an absolute URI.\n */\n namespace?: string;\n /**\n * The prefix to be used for the [name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#xmlName).\n */\n prefix?: string;\n /**\n * Declares whether the property definition translates to an attribute instead of an element. Default value is false.\n */\n attribute?: boolean;\n /**\n * MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being array (outside the items).\n */\n wrapped?: boolean;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecXML.js","sourceRoot":"","sources":["../../../src/common/OpenSpecXML.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wEAA8C;AAC9C,gEAAsC;AACtC,gEAAsC;AACtC,sEAA4C;AAC5C,gEAAsC;AACtC,+DAAqC;AACrC,oEAA0C;AAC1C,+DAAqC;AACrC,iEAAuC;AACvC,oEAA0C;AAC1C,+DAAqC;AACrC,gEAAsC;AACtC,mEAAyC;AACzC,mEAAyC;AACzC,+DAAqC;AACrC,kEAAwC;AACxC,gEAAsC;AACtC,kEAAwC;AACxC,gEAAsC;AACtC,mEAAyC;AACzC,oEAA0C;AAC1C,kEAAwC;AACxC,iEAAuC;AACvC,+DAAqC;AACrC,gEAAsC;AACtC,8DAAoC;AACpC,mEAAyC;AACzC,mEAAyC;AACzC,mEAAyC;AACzC,+DAAqC;AACrC,qEAA2C;AAC3C,kEAAwC;AACxC,gEAAsC;AACtC,kEAAwC;AACxC,gEAAsC;AACtC,gEAAsC","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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wEAA8C;AAC9C,gEAAsC;AACtC,gEAAsC;AACtC,sEAA4C;AAC5C,gEAAsC;AACtC,+DAAqC;AACrC,oEAA0C;AAC1C,+DAAqC;AACrC,iEAAuC;AACvC,oEAA0C;AAC1C,+DAAqC;AACrC,gEAAsC;AACtC,mEAAyC;AACzC,mEAAyC;AACzC,+DAAqC;AACrC,kEAAwC;AACxC,gEAAsC;AACtC,kEAAwC;AACxC,gEAAsC;AACtC,mEAAyC;AACzC,oEAA0C;AAC1C,kEAAwC;AACxC,iEAAuC;AACvC,+DAAqC;AACrC,gEAAsC;AACtC,8DAAoC;AACpC,mEAAyC;AACzC,mEAAyC;AACzC,mEAAyC;AACzC,+DAAqC;AACrC,qEAA2C;AAC3C,kEAAwC;AACxC,gEAAsC;AACtC,kEAAwC;AACxC,gEAAsC;AACtC,gEAAsC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Header.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OS2BaseSchema} from \"./OS2Schema\";\n\nexport interface OS2Header extends OS2BaseSchema {\n /**\n * The type of the object. The value MUST be one of `string`, `number`, `integer`, `boolean`, or `array`.\n */\n type: \"string\" | \"number\" | \"integer\" | \"boolean\" | \"array\";\n}\n"]}
1
+ {"version":3,"file":"OS2Header.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Header.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Operation.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Operation.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OS2Parameter} from \"./OS2Parameter\";\nimport {OS2Response} from \"./OS2Response\";\n\nexport interface OS2Operation {\n /**\n * A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.\n */\n tags?: string[];\n /**\n * A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.\n */\n summary?: string;\n /**\n * A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.\n */\n description?: string;\n /**\n * Additional external documentation for this operation.\n */\n externalDocs?: OpenSpecExternalDocs;\n /**\n * Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.\n */\n operationId?: string;\n /**\n * A list of MIME types the operation can consume. This overrides the consumes definition at the Swagger Object. An empty value MAY be used to clear the global definition. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n consumes?: string[];\n /**\n * A list of MIME types the operation can produce. This overrides the produces definition at the Swagger Object. An empty value MAY be used to clear the global definition. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n produces?: string[];\n /**\n * A list of parameters that are applicable for this operation.\n * If a parameter is already defined at the [Path Item](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemParameters),\n * the new definition will override it, but can never remove it. The list MUST NOT include duplicated parameters.\n * A unique parameter is defined by a combination of a [name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterName) and (location)[https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterIn].\n * The list can use the [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#referenceObject) to link to parameters that are defined at the [Swagger Object's parameters](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swaggerParameters).\n * There can be one \"body\" parameter at most.\n */\n parameters?: (OS2Parameter | OpenSpecRef)[];\n /**\n * The list of possible responses as they are returned from executing this operation.\n */\n responses: OpenSpecHash<OS2Response | OpenSpecRef>;\n /**\n * The transfer protocol of the API. Values MUST be from the list: `http`, `https`, `ws`, `wss`. If the schemes is not included, the default scheme to be used is the one used to access the Swagger definition itself.\n */\n schemes?: string[];\n /**\n * Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.\n */\n deprecated?: boolean;\n /**\n * A declaration of which security schemes are applied for this operation.\n * The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements).\n * This definition overrides any declared top-level [security](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swaggerSecurity).\n * To remove a top-level security declaration, an empty array can be used.\n */\n security?: OpenSpecSecurity;\n}\n"]}
1
+ {"version":3,"file":"OS2Operation.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Operation.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Parameter.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecTypes} from \"../common/OpenSpecTypes\";\nimport {OS2BaseSchema, OS2Schema} from \"./OS2Schema\";\n\nexport type OS2BaseParameter = {\n name: string;\n in: \"body\" | \"query\" | \"path\" | \"header\" | \"formData\";\n required?: boolean;\n description?: string;\n};\n\nexport type OS2BodyParameter = OS2BaseParameter & {\n in: \"body\";\n schema?: OS2Schema;\n};\n\nexport type OS2GenericFormat = {\n type?: OpenSpecTypes;\n format?: string;\n};\n\nexport type OS2IntegerFormat = {\n type: \"integer\";\n format?: \"int32\" | \"int64\";\n};\n\nexport type OS2NumberFormat = {\n type: \"number\";\n format?: \"float\" | \"double\";\n};\n\nexport type OS2StringFormat = {\n type: \"string\";\n format?: \"\" | \"byte\" | \"binary\" | \"date\" | \"date-time\" | \"password\";\n};\n\nexport type OS2SchemaFormatConstraints = OS2GenericFormat | OS2IntegerFormat | OS2NumberFormat | OS2StringFormat;\nexport type OS2BaseFormatContrainedParameter = OS2BaseParameter & OS2SchemaFormatConstraints;\nexport type ParameterCollectionFormat = \"csv\" | \"ssv\" | \"tsv\" | \"pipes\" | \"multi\";\nexport type OS2QueryParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"query\";\n allowEmptyValue?: boolean;\n collectionFormat?: ParameterCollectionFormat;\n };\n\nexport type OS2PathParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"path\";\n required: true;\n };\n\nexport type OS2HeaderParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"header\";\n };\n\nexport type OS2FormDataParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"formData\";\n type: OpenSpecTypes;\n allowEmptyValue?: boolean;\n collectionFormat?: ParameterCollectionFormat;\n };\n\nexport type OS2Parameter = OS2BodyParameter | OS2FormDataParameter | OS2QueryParameter | OS2PathParameter | OS2HeaderParameter;\n"]}
1
+ {"version":3,"file":"OS2Parameter.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Parameter.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Paths.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath} from \"../common/OpenSpecPath\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS2Operation} from \"./OS2Operation\";\nimport {OS2Parameter} from \"./OS2Parameter\";\n\nexport interface OS2Paths extends OpenSpecPath<OS2Operation> {\n parameters?: (OS2Parameter | OpenSpecRef)[];\n}\n"]}
1
+ {"version":3,"file":"OS2Paths.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Paths.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Response.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Response.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS2Header} from \"./OS2Header\";\nimport {OS2Schema} from \"./OS2Schema\";\n\nexport interface OS2Response {\n /**\n * A short description of the response. GFM syntax can be used for rich text representation.\n */\n description: string;\n /**\n * A definition of the response structure. It can be a primitive, an array or an object. If this field does not exist, it means no content is returned as part of the response. As an extension to the Schema Object, its root type value may also be \"file\". This SHOULD be accompanied by a relevant produces mime-type.\n */\n schema?: OS2Schema;\n /**\n * A list of headers that are sent with the response.\n */\n headers?: OpenSpecHash<OS2Header>;\n /**\n * An example of the response message.\n */\n examples?: OpenSpecHash<{}>;\n}\n"]}
1
+ {"version":3,"file":"OS2Response.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Response.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Schema.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Schema.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 OS2XML {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\n\nexport interface OS2BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS2Schema | OpenSpecRef;\n}\n\nexport interface OS2Schema extends OpenSpecJsonSchema<OS2Schema> {\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 * 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":"OS2Schema.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Schema.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Security.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Security.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\n\nexport interface OS2SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"basic\" | \"apiKey\" | \"oauth2\";\n /**\n *\n */\n description?: string;\n}\n\nexport interface OS2SecurityBasic extends OS2SecurityBase {\n type: \"basic\";\n}\n\nexport interface OS2SecurityApiKey extends OS2SecurityBase {\n type: \"apiKey\";\n name: string;\n in: \"query\" | \"header\";\n}\n\nexport interface OS2SecurityOAuth extends OS2SecurityBase {\n type: \"oauth2\";\n flow: \"accessCode\" | \"application\" | \"implicit\" | \"password\";\n /**\n * The available scopes for the OAuth2 security scheme.\n */\n scopes: OpenSpecHash<string>;\n}\n\nexport interface OS2FlowImplicit extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"implicit\";\n authorizationUrl: string;\n}\n\nexport interface OS2FlowPassword extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"password\";\n tokenUrl: string;\n}\n\nexport interface OS2FlowApplication extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"application\";\n tokenUrl: string;\n}\n\nexport interface OS2FlowAccessCode extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"accessCode\";\n tokenUrl: string;\n authorizationUrl: string;\n}\n\nexport type OS2Security = OS2SecurityBasic | OS2FlowAccessCode | OS2FlowApplication | OS2FlowImplicit | OS2FlowPassword | OS2SecurityApiKey;\n"]}
1
+ {"version":3,"file":"OS2Security.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Security.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpec2.js","sourceRoot":"","sources":["../../../src/openspec2/OpenSpec2.ts"],"names":[],"mappings":"","sourcesContent":["import {OS2Response} from \"./OS2Response\";\nimport {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecInfo} from \"../common/OpenSpecInfo\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OpenSpecTag} from \"../common/OpenSpecTag\";\nimport {OS2BodyParameter, OS2QueryParameter} from \"./OS2Parameter\";\nimport {OS2Paths} from \"./OS2Paths\";\nimport {OS2Schema} from \"./OS2Schema\";\nimport {OS2Security} from \"./OS2Security\";\n\nexport interface OpenSpec2 {\n /**\n * Specifies the Swagger Specification version being used. It can be used by the Swagger UI and other clients to interpret the API listing. The value MUST be \"2.0\".\n */\n swagger: string;\n /**\n * Provides metadata about the API. The metadata can be used by the clients if needed.\n */\n info?: OpenSpecInfo;\n /**\n * The host (name or ip) serving the API. This MUST be the host only and does not include the scheme nor sub-paths. It MAY include a port. If the host is not included, the host serving the documentation is to be used (including the port). The host does not support [path templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathTemplating).\n */\n host?: string;\n /**\n * The base path on which the API is served, which is relative to the host. If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). The basePath does not support path [path templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathTemplating).\n */\n basePath?: string;\n /**\n * The transfer protocol of the API. Values MUST be from the list: `http`, `https`, `ws`, `wss`. If the schemes is not included, the default scheme to be used is the one used to access the Swagger definition itself.\n */\n schemes?: (\"http\" | \"https\" | \"ws\" | \"wss\")[];\n /**\n * A list of MIME types the APIs can consume. This is global to all APIs but can be overridden on specific API calls. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n consumes?: string[];\n /**\n * A list of MIME types the APIs can produce. This is global to all APIs but can be overridden on specific API calls. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n produces?: string[];\n /**\n * The available paths and operations for the API.\n */\n paths?: OpenSpecHash<OS2Paths>;\n /**\n * An object to hold data types produced and consumed by operations.\n */\n definitions?: OpenSpecHash<OS2Schema>;\n /**\n * An object to hold parameters that can be used across operations. This property does not define global parameters for all operations.\n */\n parameters?: OpenSpecHash<OS2BodyParameter | OS2QueryParameter>;\n /**\n * An object to hold responses that can be used across operations. This property does not define global responses for all operations.\n */\n responses?: OpenSpecHash<OS2Response>;\n /**\n * A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). Individual operations can override this definition.\n */\n security?: OpenSpecSecurity;\n /**\n * Security scheme definitions that can be used across the specification.\n */\n securityDefinitions?: OpenSpecHash<OS2Security>;\n /**\n * A list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared may be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.\n */\n tags?: OpenSpecTag[];\n /**\n * Additional external documentation.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OpenSpec2.js","sourceRoot":"","sources":["../../../src/openspec2/OpenSpec2.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Callbacks.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Callbacks.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Paths} from \"./OS3Paths\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3Callbacks<Schema = OS3Schema> = OpenSpecHash<OpenSpecHash<OS3Paths<Schema>>>;\n"]}
1
+ {"version":3,"file":"OS3Callbacks.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Callbacks.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Components.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Components.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Callbacks} from \"./OS3Callbacks\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3Header} from \"./OS3Header\";\nimport {OS3Link} from \"./OS3Link\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3RequestBody} from \"./OS3RequestBody\";\nimport {OS3Response} from \"./OS3Response\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Security} from \"./OS3Security\";\n\nexport interface OS3Components<Schema = OS3Schema> {\n /**\n * An object to hold reusable [Schema Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject).\n */\n schemas?: OpenSpecHash<Schema>;\n /**\n * An object to hold reusable [Response Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#responseObject).\n */\n responses?: OpenSpecHash<OS3Response<Schema>>;\n /**\n * An object to hold reusable [Parameter Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject).\n */\n parameters?: OpenSpecHash<OS3Parameter<Schema>>;\n /**\n * An object to hold reusable [Example Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#exampleObject).\n */\n examples?: OpenSpecHash<OS3Example>;\n /**\n * An object to hold reusable [Request Body Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#requestBodyObject).\n */\n requestBodies?: OpenSpecHash<OS3RequestBody<Schema>>;\n /**\n * An object to hold reusable [Header Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#headerObject).\n */\n headers?: OpenSpecHash<OS3Header<Schema>>;\n /**\n * An object to hold reusable [Security Scheme Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#securitySchemeObject).\n */\n securitySchemes?: OpenSpecHash<OS3Security>;\n /**\n * An object to hold reusable [Link Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#linkObject).\n */\n links?: OpenSpecHash<OS3Link>;\n /**\n * An object to hold reusable [Callback Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callbackObject).\n */\n callbacks?: OS3Callbacks;\n}\n"]}
1
+ {"version":3,"file":"OS3Components.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Components.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Encoding.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Encoding.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Header} from \"./OS3Header\";\n\nexport interface OS3Encoding {\n /**\n * The `Content-Type` for encoding a specific property. Default value depends on the property type: for `string` with `format` being `binary` – `application/octet-stream`; for other primitive types – `text/plain`; for `object` - application/json; for `array` – the default is defined based on the inner type. The value can be a specific media type (e.g. `application/json`), a wildcard media type (e.g. `image/*`), or a comma-separated list of the two types.\n */\n contentType?: string;\n /**\n * A map allowing additional information to be provided as headers, for example `Content-Disposition`. `Content-Type` is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a multipart.\n */\n headers?: OpenSpecHash<OS3Header>;\n /**\n * Describes how a specific property value will be serialized depending on its type. See [Parameter Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject) for details on the `[style](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterStyle)` property. The behavior follows the same values as `query` parameters, including default values. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\n */\n style?: string;\n /**\n * When this is true, property values of type `array` or `object` generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When `[style](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterStyle)` is `form`, the default value is true. For all other styles, the default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\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. The default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\n */\n allowReserved?: boolean;\n}\n"]}
1
+ {"version":3,"file":"OS3Encoding.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Encoding.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Example.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Example.ts"],"names":[],"mappings":"","sourcesContent":["export interface OS3Example {\n /**\n * Short description for the example.\n */\n summary?: string;\n /**\n * Long description for the example. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * Embedded literal example. The `value` field and `externalValue` field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary.\n */\n value?: any;\n /**\n * A URL that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents.\n * The `value` field and `externalValue` field are mutually exclusive.\n */\n externalValue?: string;\n}\n"]}
1
+ {"version":3,"file":"OS3Example.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Example.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Flows.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Flows.ts"],"names":[],"mappings":"","sourcesContent":["export interface OS3Flow {\n /**\n * The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.\n */\n refreshUrl?: string;\n /**\n * The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it.\n */\n scopes: {[key: string]: string};\n}\n\nexport interface OS3FlowImplicit extends OS3Flow {\n /**\n * The authorization URL to be used for this flow. This MUST be in the form of a URL.\n */\n authorizationUrl: string;\n}\n\nexport interface OS3FlowPassword extends OS3Flow {\n /**\n * The token URL to be used for this flow. This MUST be in the form of a URL.\n */\n tokenUrl: string;\n}\n\nexport interface OS3FlowClientCredentials extends OS3Flow {\n /**\n * The token URL to be used for this flow. This MUST be in the form of a URL.\n */\n tokenUrl: string;\n}\n\nexport interface OS3FlowAuthorizationCode extends OS3Flow {\n /**\n * The authorization URL to be used for this flow. This MUST be in the form of a URL.\n */\n authorizationUrl: string;\n /**\n * The token URL to be used for this flow. This MUST be in the form of a URL.\n */\n tokenUrl: string;\n}\n\nexport interface OS3Flows {\n implicit?: OS3FlowImplicit;\n password?: OS3FlowPassword;\n clientCredentials?: OS3FlowClientCredentials;\n authorizationCode?: OS3FlowAuthorizationCode;\n}\n"]}
1
+ {"version":3,"file":"OS3Flows.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Flows.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Link.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Link.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Link {\n /**\n * A relative or absolute reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI definition.\n */\n operationRef?: string;\n /**\n * The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field.\n */\n operationId?: string;\n /**\n * A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used, whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. The parameter name can be qualified using the parameter location [{in}.]{name} for operations that use the same [parameter name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn) in different locations (e.g. path.id).\n */\n parameters?: OpenSpecHash<any>;\n /**\n * A description of the link. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A server object to be used by the target operation.\n */\n server?: OS3Server;\n}\n"]}
1
+ {"version":3,"file":"OS3Link.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Link.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3MediaType.js","sourceRoot":"","sources":["../../../src/openspec3/OS3MediaType.ts"],"names":[],"mappings":"","sourcesContent":["import {OS3Schema} from \"./OS3Schema\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Encoding} from \"./OS3Encoding\";\nimport {OS3Example} from \"./OS3Example\";\n\nexport interface OS3MediaType<Schema = OS3Schema> {\n /**\n * The schema defining the type used for the request body.\n */\n schema?: Schema | OpenSpecRef;\n /**\n * Example of the media type. The example object SHOULD be in the correct format as specified by the media type. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema.\n */\n example?: any;\n /**\n * Examples of the media type. Each example object SHOULD match the media type and specified schema if present. The examples field is mutually exclusive of the example field. 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 between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding object SHALL only apply to requestBody objects when the media type is `multipart` or `application/x-www-form-urlencoded`.\n */\n encoding?: OpenSpecHash<OS3Encoding>;\n}\n"]}
1
+ {"version":3,"file":"OS3MediaType.js","sourceRoot":"","sources":["../../../src/openspec3/OS3MediaType.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Operation.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Operation.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OS3Callbacks} from \"./OS3Callbacks\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3RequestBody} from \"./OS3RequestBody\";\nimport {OS3Response} from \"./OS3Response\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OS3Operation<Schema = OS3Schema, Parameter = OS3Parameter<Schema>, Response = OpenSpecHash<OS3Response<Schema>>> {\n /**\n * Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.\n */\n operationId: string;\n /**\n * A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A short summary of what the operation does.\n */\n summary?: string;\n /**\n * A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.\n */\n tags?: string[];\n /**\n * Additional external documentation for this operation.\n */\n externalDocs?: OpenSpecExternalDocs;\n /**\n * A list of parameters that are applicable for this operation. If a parameter is already defined at the [Path Item](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#pathItemParameters),\n * the new definition will override it but can never remove it.\n * The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a [name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterName) and (location)[https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterIn].\n * The list can use the [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#referenceObject) to link to parameters that are defined at the [OpenAPI Object's components/parameters](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#componentsParameters).\n */\n parameters?: Parameter[];\n /**\n * The request body applicable for this operation.\n * The requestBody is only supported in HTTP methods where the HTTP 1.1 specification [RFC7231](https://tools.ietf.org/html/rfc7231#section-4.3.1) has explicitly defined semantics for request bodies.\n * In other cases where the HTTP spec is vague, requestBody SHALL be ignored by consumers.\n */\n requestBody?: OS3RequestBody<Schema>;\n /**\n * The list of possible responses as they are returned from executing this operation.\n */\n responses: Response;\n /**\n * Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false.\n */\n deprecated?: boolean;\n /**\n * A declaration of which security mechanisms can be used for this operation. The list of values includes alternative security requirement objects that can be used.\n * Only one of the security requirement objects need to be satisfied to authorize a request.\n * This definition overrides any declared top-level [security](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oasSecurity). To remove a top-level security declaration, an empty array can be used.\n */\n security?: OpenSpecSecurity;\n /**\n * An alternative server array to service this operation. If an alternative server object is specified at the Path Item Object or Root level, it will be overridden by this value.\n */\n servers?: OS3Server[];\n /**\n * A map of possible out-of band callbacks related to the parent operation.\n * The key is a unique identifier for the [Callback Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callbackObject).\n * Each value in the map is a Callback Object that describes a request that may be initiated by the API provider and the expected responses.\n * The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.\n */\n callbacks?: OS3Callbacks<Schema>;\n}\n"]}
1
+ {"version":3,"file":"OS3Operation.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Operation.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3RequestBody.js","sourceRoot":"","sources":["../../../src/openspec3/OS3RequestBody.ts"],"names":[],"mappings":"","sourcesContent":["import {OS3Schema} from \"./OS3Schema\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3MediaType} from \"./OS3MediaType\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\n\nexport interface OS3RequestBody<Schema = OS3Schema> {\n /**\n * A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A map containing descriptions of potential request body. The key is a media type or [media type range](https://tools.ietf.org/html/rfc7231#appendix-D) and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. text/plain overrides text/*\n */\n content?: OpenSpecHash<OS3MediaType<Schema>>;\n /**\n * Determines if the request body is required in the request. Defaults to false.\n */\n required?: boolean;\n\n examples?: OpenSpecHash<OS3Example | OpenSpecRef>;\n}\n"]}
1
+ {"version":3,"file":"OS3RequestBody.js","sourceRoot":"","sources":["../../../src/openspec3/OS3RequestBody.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Response.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Response.ts"],"names":[],"mappings":"","sourcesContent":["import {OS3Schema} from \"./OS3Schema\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS3Header} from \"./OS3Header\";\nimport {OS3Link} from \"./OS3Link\";\nimport {OS3MediaType} from \"./OS3MediaType\";\n\nexport interface OS3Response<Schema = OS3Schema, Header = OS3Header<Schema>> {\n /**\n * A short description of the response. CommonMark syntax MAY be used for rich text representation.\n */\n description: string;\n /**\n * Maps a header name to its definition. [RFC7230](https://tools.ietf.org/html/rfc7230#page-22) states header names are case insensitive. If a response header is defined with the name \"Content-Type\", it SHALL be ignored.\n */\n headers?: OpenSpecHash<Header>;\n /**\n * A map containing descriptions of potential response payloads. The key is a media type or [media type range](https://tools.ietf.org/html/rfc7231#appendix-D) and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. text/plain overrides text/*\n */\n content?: OpenSpecHash<OS3MediaType<Schema>>;\n /**\n * A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for [Component Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#componentsObject).\n */\n links?: OpenSpecHash<OS3Link | OpenSpecRef>;\n}\n"]}
1
+ {"version":3,"file":"OS3Response.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Response.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
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"]}
1
+ {"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Security.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Security.ts"],"names":[],"mappings":"","sourcesContent":["import {OS3Flows} from \"./OS3Flows\";\n\nexport interface OS3SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"apiKey\" | \"oauth2\" | \"http\" | \"openIdConnect\";\n /**\n *\n */\n description?: string;\n}\n\nexport interface OS3SecurityApiKey extends OS3SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"apiKey\";\n /**\n * The name of the header, query or cookie parameter to be used.\n */\n name: string;\n /**\n * The location of the API key. Valid values are `query`, `header` or `cookie`.\n */\n in: \"query\" | \"header\" | \"cookie\";\n}\n\nexport interface OS3SecurityOAuth2 extends OS3SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"oauth2\";\n /**\n * An object containing configuration information for the flow types supported.\n */\n flows: OS3Flows;\n}\n\nexport interface OS3SecurityOpenIDConnect extends OS3SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"openIdConnect\";\n openIdConnectUrl: string;\n}\n\nexport interface OS3SecurityHTTP extends OS3SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"http\";\n /**\n * The name of the HTTP Authorization scheme to be used in the [Authorization header as defined in RFC7235](https://tools.ietf.org/html/rfc7235#section-5.1).\n */\n scheme: string;\n /**\n * A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.\n */\n bearerFormat?: string;\n}\n\nexport type OS3Security = OS3SecurityApiKey | OS3SecurityHTTP | OS3SecurityOAuth2 | OS3SecurityOpenIDConnect;\n"]}
1
+ {"version":3,"file":"OS3Security.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Security.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Server.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Server.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\n\nexport interface OpenSpecServerVariable {\n /**\n * An enumeration of string values to be used if the substitution options are from a limited set.\n */\n enum?: string;\n /**\n * The default value to use for substitution, and to send, if an alternate value is not supplied. Unlike the Schema Object's default, this value MUST be provided by the consumer.\n */\n default: string;\n /**\n * An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.\n */\n description?: string;\n}\n\nexport interface OS3Server {\n /**\n * A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in `{brackets}`.\n */\n url: string;\n /**\n * An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation.\n */\n description: string;\n /**\n * A map between a variable name and its value. The value is used for substitution in the server's URL template.\n */\n variables?: OpenSpecHash<OpenSpecServerVariable>;\n}\n"]}
1
+ {"version":3,"file":"OS3Server.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpec3.js","sourceRoot":"","sources":["../../../src/openspec3/OpenSpec3.ts"],"names":[],"mappings":"","sourcesContent":["import {OS3Schema} from \"./OS3Schema\";\nimport {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecInfo} from \"../common/OpenSpecInfo\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OpenSpecTag} from \"../common/OpenSpecTag\";\nimport {OS3Components} from \"./OS3Components\";\nimport {OS3Paths} from \"./OS3Paths\";\nimport {OS3Server} from \"./OS3Server\";\n\nexport interface OpenSpec3<Schema = OS3Schema> {\n /**\n * This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses. The openapi field SHOULD be used by tooling specifications and clients to interpret the OpenAPI document. This is not related to the API info.version string.\n */\n openapi: string;\n /**\n * Provides metadata about the API. The metadata MAY be used by tooling as required.\n */\n info: OpenSpecInfo;\n /**\n * An array of Server Objects, which provide connectivity information to a target server. If the servers property is not provided, or is an empty array, the default value would be a Server Object with a url value of /.\n */\n servers?: OS3Server[];\n /**\n * The available paths and operations for the API.\n */\n paths: OpenSpecHash<OS3Paths<Schema>>;\n /**\n * An element to hold various schemas for the specification.\n */\n components?: OS3Components<Schema>;\n /**\n * A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. Individual operations can override this definition.\n */\n security?: OpenSpecSecurity;\n /**\n * A list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.\n */\n tags?: OpenSpecTag[];\n /**\n * Additional external documentation.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OpenSpec3.js","sourceRoot":"","sources":["../../../src/openspec3/OpenSpec3.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecExternalDocs.js","sourceRoot":"","sources":["../../../src/common/OpenSpecExternalDocs.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecExternalDocs {\n /**\n * The URL for the target documentation. Value MUST be in the format of a URL.\n */\n url: string;\n /**\n * A short description of the target documentation. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.\n */\n description?: string;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecExternalDocs.js","sourceRoot":"","sources":["../../../src/common/OpenSpecExternalDocs.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecHash.js","sourceRoot":"","sources":["../../../src/common/OpenSpecHash.ts"],"names":[],"mappings":"","sourcesContent":["export type OpenSpecHash<T> = Record<string, T>;\n"]}
1
+ {"version":3,"file":"OpenSpecHash.js","sourceRoot":"","sources":["../../../src/common/OpenSpecHash.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecInfo.js","sourceRoot":"","sources":["../../../src/common/OpenSpecInfo.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecContact {\n /**\n * The identifying name of the contact person/organization.\n */\n name?: string;\n /**\n * The email address of the contact person/organization. MUST be in the format of an email address.\n */\n email?: string;\n /**\n * The URL pointing to the contact information. MUST be in the format of a URL.\n */\n url?: string;\n}\n\nexport interface OpenSpecLicense {\n /**\n * The license name used for the API.\n */\n name: string;\n /**\n * A URL to the license used for the API. MUST be in the format of a URL.\n */\n url?: string;\n}\n\nexport interface OpenSpecInfo {\n /**\n * The title of the application.\n */\n title: string;\n /**\n * The version of the OpenAPI document (which is distinct from the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oasVersion) version or the API implementation version).\n */\n version: string;\n /**\n * A short description of the application. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.\n */\n description?: string;\n /**\n * A URL to the Terms of Service for the API. MUST be in the format of a URL.\n */\n termsOfService?: string;\n /**\n * The contact information for the exposed API.\n */\n contact?: OpenSpecContact;\n /**\n * The license information for the exposed API.\n */\n license?: OpenSpecLicense;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecInfo.js","sourceRoot":"","sources":["../../../src/common/OpenSpecInfo.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecJsonSchema.js","sourceRoot":"","sources":["../../../src/common/OpenSpecJsonSchema.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"./OpenSpecHash\";\nimport {OpenSpecRef} from \"./OpenSpecRef\";\nimport {OpenSpecTypes} from \"./OpenSpecTypes\";\n\nexport interface OpenSpecBaseJsonSchema {\n $ref?: string;\n /**\n * This attribute is a string that provides a short description of the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n title?: string;\n /**\n * Must be strictly greater than 0.\n * A numeric instance is valid only if division by this keyword's value results in an integer.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.1\n */\n multipleOf?: number;\n /**\n * Representing an inclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is less than or exactly equal to \"maximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.2\n */\n maximum?: number;\n /**\n * Representing an exclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is strictly less than (not equal to) to \"exclusiveMaximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.3\n */\n exclusiveMaximum?: boolean;\n /**\n * Representing an inclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is greater than or exactly equal to \"minimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.4\n */\n minimum?: number;\n /**\n * Representing an exclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is strictly greater than (not equal to) to \"exclusiveMinimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.5\n */\n exclusiveMinimum?: boolean;\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.6\n */\n maxLength?: number;\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.7\n */\n minLength?: number;\n /**\n * Should be a valid regular expression, according to the ECMA 262 regular expression dialect.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.8\n */\n pattern?: string;\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.11\n */\n maxItems?: number;\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.12\n */\n minItems?: number;\n /**\n * If this keyword has boolean value false, the instance validates successfully.\n * If it has boolean value true, the instance validates successfully if all of its elements are unique.\n * Omitting this keyword has the same behavior as a value of false.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.13\n */\n uniqueItems?: boolean;\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.15\n */\n maxProperties?: number;\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is greater than,\n * or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.16\n */\n minProperties?: number;\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.23\n */\n enum?: any[];\n /**\n * This attribute is a string that provides a full description of the of purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n description?: string;\n /**\n * This keyword can be used to supply a default JSON value associated with a particular schema.\n * It is RECOMMENDED that a default value be valid against the associated schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.3\n */\n default?: any;\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-8\n */\n format?: string;\n /**\n * A single type, or a union of simple types\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25\n */\n type?: OpenSpecTypes;\n}\n\nexport interface OpenSpecJsonSchema<Schema = any> extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: Schema | OpenSpecRef;\n /**\n * A free-form property to include an example of an instance for this schema.\n */\n required?: string[];\n /**\n * Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.\n */\n additionalProperties?: Schema | boolean;\n /**\n * Property definitions MUST be a Schema Object and not a standard JSON Schema (inline or referenced).\n */\n properties?: OpenSpecHash<Schema>;\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 allOf?: (Schema | OpenSpecRef)[];\n /**\n * Additional external documentation for this schema.\n */\n example?: any;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecJsonSchema.js","sourceRoot":"","sources":["../../../src/common/OpenSpecJsonSchema.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecPath.js","sourceRoot":"","sources":["../../../src/common/OpenSpecPath.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecPath<Operation> {\n $ref?: string;\n get?: Operation;\n put?: Operation;\n post?: Operation;\n delete?: Operation;\n options?: Operation;\n head?: Operation;\n patch?: Operation;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecPath.js","sourceRoot":"","sources":["../../../src/common/OpenSpecPath.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecRef.js","sourceRoot":"","sources":["../../../src/common/OpenSpecRef.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecRef {\n $ref: string;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecRef.js","sourceRoot":"","sources":["../../../src/common/OpenSpecRef.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecSecurity.js","sourceRoot":"","sources":["../../../src/common/OpenSpecSecurity.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"./OpenSpecHash\";\n\nexport type OpenSpecSecurity = OpenSpecHash<string[]>[];\n"]}
1
+ {"version":3,"file":"OpenSpecSecurity.js","sourceRoot":"","sources":["../../../src/common/OpenSpecSecurity.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecTag.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTag.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"./OpenSpecExternalDocs\";\n\nexport interface OpenSpecTag {\n name: string;\n description?: string;\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecTag.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTag.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecTypes.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type OpenSpecTypes = \"string\" | \"number\" | \"integer\" | \"boolean\" | \"array\" | \"object\" | \"file\";\n"]}
1
+ {"version":3,"file":"OpenSpecTypes.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTypes.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecVersions.js","sourceRoot":"","sources":["../../../src/common/OpenSpecVersions.ts"],"names":[],"mappings":"","sourcesContent":["export type OS2Versions = \"2.0\";\nexport type OS3Versions = \"3.0.1\" | \"3.0.2\" | \"3.0.3\";\nexport type OpenSpecVersions = OS2Versions | OS3Versions;\n"]}
1
+ {"version":3,"file":"OpenSpecVersions.js","sourceRoot":"","sources":["../../../src/common/OpenSpecVersions.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpecXML.js","sourceRoot":"","sources":["../../../src/common/OpenSpecXML.ts"],"names":[],"mappings":"","sourcesContent":["export interface OpenSpecXML {\n /**\n * Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored.\n */\n name?: string;\n /**\n * The URI of the namespace definition. Value MUST be in the form of an absolute URI.\n */\n namespace?: string;\n /**\n * The prefix to be used for the [name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#xmlName).\n */\n prefix?: string;\n /**\n * Declares whether the property definition translates to an attribute instead of an element. Default value is false.\n */\n attribute?: boolean;\n /**\n * MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being array (outside the items).\n */\n wrapped?: boolean;\n}\n"]}
1
+ {"version":3,"file":"OpenSpecXML.js","sourceRoot":"","sources":["../../../src/common/OpenSpecXML.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
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
+ {"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Header.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Header.ts"],"names":[],"mappings":"","sourcesContent":["import {OS2BaseSchema} from \"./OS2Schema\";\n\nexport interface OS2Header extends OS2BaseSchema {\n /**\n * The type of the object. The value MUST be one of `string`, `number`, `integer`, `boolean`, or `array`.\n */\n type: \"string\" | \"number\" | \"integer\" | \"boolean\" | \"array\";\n}\n"]}
1
+ {"version":3,"file":"OS2Header.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Header.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Operation.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Operation.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OS2Parameter} from \"./OS2Parameter\";\nimport {OS2Response} from \"./OS2Response\";\n\nexport interface OS2Operation {\n /**\n * A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.\n */\n tags?: string[];\n /**\n * A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.\n */\n summary?: string;\n /**\n * A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.\n */\n description?: string;\n /**\n * Additional external documentation for this operation.\n */\n externalDocs?: OpenSpecExternalDocs;\n /**\n * Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.\n */\n operationId?: string;\n /**\n * A list of MIME types the operation can consume. This overrides the consumes definition at the Swagger Object. An empty value MAY be used to clear the global definition. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n consumes?: string[];\n /**\n * A list of MIME types the operation can produce. This overrides the produces definition at the Swagger Object. An empty value MAY be used to clear the global definition. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n produces?: string[];\n /**\n * A list of parameters that are applicable for this operation.\n * If a parameter is already defined at the [Path Item](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemParameters),\n * the new definition will override it, but can never remove it. The list MUST NOT include duplicated parameters.\n * A unique parameter is defined by a combination of a [name](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterName) and (location)[https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterIn].\n * The list can use the [Reference Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#referenceObject) to link to parameters that are defined at the [Swagger Object's parameters](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swaggerParameters).\n * There can be one \"body\" parameter at most.\n */\n parameters?: (OS2Parameter | OpenSpecRef)[];\n /**\n * The list of possible responses as they are returned from executing this operation.\n */\n responses: OpenSpecHash<OS2Response | OpenSpecRef>;\n /**\n * The transfer protocol of the API. Values MUST be from the list: `http`, `https`, `ws`, `wss`. If the schemes is not included, the default scheme to be used is the one used to access the Swagger definition itself.\n */\n schemes?: string[];\n /**\n * Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.\n */\n deprecated?: boolean;\n /**\n * A declaration of which security schemes are applied for this operation.\n * The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements).\n * This definition overrides any declared top-level [security](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swaggerSecurity).\n * To remove a top-level security declaration, an empty array can be used.\n */\n security?: OpenSpecSecurity;\n}\n"]}
1
+ {"version":3,"file":"OS2Operation.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Operation.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Parameter.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Parameter.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecTypes} from \"../common/OpenSpecTypes\";\nimport {OS2BaseSchema, OS2Schema} from \"./OS2Schema\";\n\nexport type OS2BaseParameter = {\n name: string;\n in: \"body\" | \"query\" | \"path\" | \"header\" | \"formData\";\n required?: boolean;\n description?: string;\n};\n\nexport type OS2BodyParameter = OS2BaseParameter & {\n in: \"body\";\n schema?: OS2Schema;\n};\n\nexport type OS2GenericFormat = {\n type?: OpenSpecTypes;\n format?: string;\n};\n\nexport type OS2IntegerFormat = {\n type: \"integer\";\n format?: \"int32\" | \"int64\";\n};\n\nexport type OS2NumberFormat = {\n type: \"number\";\n format?: \"float\" | \"double\";\n};\n\nexport type OS2StringFormat = {\n type: \"string\";\n format?: \"\" | \"byte\" | \"binary\" | \"date\" | \"date-time\" | \"password\";\n};\n\nexport type OS2SchemaFormatConstraints = OS2GenericFormat | OS2IntegerFormat | OS2NumberFormat | OS2StringFormat;\nexport type OS2BaseFormatContrainedParameter = OS2BaseParameter & OS2SchemaFormatConstraints;\nexport type ParameterCollectionFormat = \"csv\" | \"ssv\" | \"tsv\" | \"pipes\" | \"multi\";\nexport type OS2QueryParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"query\";\n allowEmptyValue?: boolean;\n collectionFormat?: ParameterCollectionFormat;\n };\n\nexport type OS2PathParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"path\";\n required: true;\n };\n\nexport type OS2HeaderParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"header\";\n };\n\nexport type OS2FormDataParameter = OS2BaseFormatContrainedParameter &\n OS2BaseSchema & {\n in: \"formData\";\n type: OpenSpecTypes;\n allowEmptyValue?: boolean;\n collectionFormat?: ParameterCollectionFormat;\n };\n\nexport type OS2Parameter = OS2BodyParameter | OS2FormDataParameter | OS2QueryParameter | OS2PathParameter | OS2HeaderParameter;\n"]}
1
+ {"version":3,"file":"OS2Parameter.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Parameter.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Paths.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Paths.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecPath} from \"../common/OpenSpecPath\";\nimport {OpenSpecRef} from \"../common/OpenSpecRef\";\nimport {OS2Operation} from \"./OS2Operation\";\nimport {OS2Parameter} from \"./OS2Parameter\";\n\nexport interface OS2Paths extends OpenSpecPath<OS2Operation> {\n parameters?: (OS2Parameter | OpenSpecRef)[];\n}\n"]}
1
+ {"version":3,"file":"OS2Paths.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Paths.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Response.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Response.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS2Header} from \"./OS2Header\";\nimport {OS2Schema} from \"./OS2Schema\";\n\nexport interface OS2Response {\n /**\n * A short description of the response. GFM syntax can be used for rich text representation.\n */\n description: string;\n /**\n * A definition of the response structure. It can be a primitive, an array or an object. If this field does not exist, it means no content is returned as part of the response. As an extension to the Schema Object, its root type value may also be \"file\". This SHOULD be accompanied by a relevant produces mime-type.\n */\n schema?: OS2Schema;\n /**\n * A list of headers that are sent with the response.\n */\n headers?: OpenSpecHash<OS2Header>;\n /**\n * An example of the response message.\n */\n examples?: OpenSpecHash<{}>;\n}\n"]}
1
+ {"version":3,"file":"OS2Response.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Response.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Schema.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Schema.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 OS2XML {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\n\nexport interface OS2BaseSchema extends OpenSpecBaseJsonSchema {\n /**\n * Required if type is \"array\". Describes the type of items in the array.\n */\n items?: OS2Schema | OpenSpecRef;\n}\n\nexport interface OS2Schema extends OpenSpecJsonSchema<OS2Schema> {\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 * 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":"OS2Schema.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Schema.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS2Security.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Security.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\n\nexport interface OS2SecurityBase {\n /**\n * The type of the security scheme\n */\n type: \"basic\" | \"apiKey\" | \"oauth2\";\n /**\n *\n */\n description?: string;\n}\n\nexport interface OS2SecurityBasic extends OS2SecurityBase {\n type: \"basic\";\n}\n\nexport interface OS2SecurityApiKey extends OS2SecurityBase {\n type: \"apiKey\";\n name: string;\n in: \"query\" | \"header\";\n}\n\nexport interface OS2SecurityOAuth extends OS2SecurityBase {\n type: \"oauth2\";\n flow: \"accessCode\" | \"application\" | \"implicit\" | \"password\";\n /**\n * The available scopes for the OAuth2 security scheme.\n */\n scopes: OpenSpecHash<string>;\n}\n\nexport interface OS2FlowImplicit extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"implicit\";\n authorizationUrl: string;\n}\n\nexport interface OS2FlowPassword extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"password\";\n tokenUrl: string;\n}\n\nexport interface OS2FlowApplication extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"application\";\n tokenUrl: string;\n}\n\nexport interface OS2FlowAccessCode extends OS2SecurityOAuth {\n type: \"oauth2\";\n flow: \"accessCode\";\n tokenUrl: string;\n authorizationUrl: string;\n}\n\nexport type OS2Security = OS2SecurityBasic | OS2FlowAccessCode | OS2FlowApplication | OS2FlowImplicit | OS2FlowPassword | OS2SecurityApiKey;\n"]}
1
+ {"version":3,"file":"OS2Security.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Security.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSpec2.js","sourceRoot":"","sources":["../../../src/openspec2/OpenSpec2.ts"],"names":[],"mappings":"","sourcesContent":["import {OS2Response} from \"./OS2Response\";\nimport {OpenSpecExternalDocs} from \"../common/OpenSpecExternalDocs\";\nimport {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OpenSpecInfo} from \"../common/OpenSpecInfo\";\nimport {OpenSpecSecurity} from \"../common/OpenSpecSecurity\";\nimport {OpenSpecTag} from \"../common/OpenSpecTag\";\nimport {OS2BodyParameter, OS2QueryParameter} from \"./OS2Parameter\";\nimport {OS2Paths} from \"./OS2Paths\";\nimport {OS2Schema} from \"./OS2Schema\";\nimport {OS2Security} from \"./OS2Security\";\n\nexport interface OpenSpec2 {\n /**\n * Specifies the Swagger Specification version being used. It can be used by the Swagger UI and other clients to interpret the API listing. The value MUST be \"2.0\".\n */\n swagger: string;\n /**\n * Provides metadata about the API. The metadata can be used by the clients if needed.\n */\n info?: OpenSpecInfo;\n /**\n * The host (name or ip) serving the API. This MUST be the host only and does not include the scheme nor sub-paths. It MAY include a port. If the host is not included, the host serving the documentation is to be used (including the port). The host does not support [path templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathTemplating).\n */\n host?: string;\n /**\n * The base path on which the API is served, which is relative to the host. If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). The basePath does not support path [path templating](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathTemplating).\n */\n basePath?: string;\n /**\n * The transfer protocol of the API. Values MUST be from the list: `http`, `https`, `ws`, `wss`. If the schemes is not included, the default scheme to be used is the one used to access the Swagger definition itself.\n */\n schemes?: (\"http\" | \"https\" | \"ws\" | \"wss\")[];\n /**\n * A list of MIME types the APIs can consume. This is global to all APIs but can be overridden on specific API calls. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n consumes?: string[];\n /**\n * A list of MIME types the APIs can produce. This is global to all APIs but can be overridden on specific API calls. Value MUST be as described under [Mime Types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#mimeTypes).\n */\n produces?: string[];\n /**\n * The available paths and operations for the API.\n */\n paths?: OpenSpecHash<OS2Paths>;\n /**\n * An object to hold data types produced and consumed by operations.\n */\n definitions?: OpenSpecHash<OS2Schema>;\n /**\n * An object to hold parameters that can be used across operations. This property does not define global parameters for all operations.\n */\n parameters?: OpenSpecHash<OS2BodyParameter | OS2QueryParameter>;\n /**\n * An object to hold responses that can be used across operations. This property does not define global responses for all operations.\n */\n responses?: OpenSpecHash<OS2Response>;\n /**\n * A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). Individual operations can override this definition.\n */\n security?: OpenSpecSecurity;\n /**\n * Security scheme definitions that can be used across the specification.\n */\n securityDefinitions?: OpenSpecHash<OS2Security>;\n /**\n * A list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared may be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.\n */\n tags?: OpenSpecTag[];\n /**\n * Additional external documentation.\n */\n externalDocs?: OpenSpecExternalDocs;\n}\n"]}
1
+ {"version":3,"file":"OpenSpec2.js","sourceRoot":"","sources":["../../../src/openspec2/OpenSpec2.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Callbacks.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Callbacks.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Paths} from \"./OS3Paths\";\nimport {OS3Schema} from \"./OS3Schema\";\n\nexport type OS3Callbacks<Schema = OS3Schema> = OpenSpecHash<OpenSpecHash<OS3Paths<Schema>>>;\n"]}
1
+ {"version":3,"file":"OS3Callbacks.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Callbacks.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Components.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Components.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Callbacks} from \"./OS3Callbacks\";\nimport {OS3Example} from \"./OS3Example\";\nimport {OS3Header} from \"./OS3Header\";\nimport {OS3Link} from \"./OS3Link\";\nimport {OS3Parameter} from \"./OS3Parameter\";\nimport {OS3RequestBody} from \"./OS3RequestBody\";\nimport {OS3Response} from \"./OS3Response\";\nimport {OS3Schema} from \"./OS3Schema\";\nimport {OS3Security} from \"./OS3Security\";\n\nexport interface OS3Components<Schema = OS3Schema> {\n /**\n * An object to hold reusable [Schema Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject).\n */\n schemas?: OpenSpecHash<Schema>;\n /**\n * An object to hold reusable [Response Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#responseObject).\n */\n responses?: OpenSpecHash<OS3Response<Schema>>;\n /**\n * An object to hold reusable [Parameter Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject).\n */\n parameters?: OpenSpecHash<OS3Parameter<Schema>>;\n /**\n * An object to hold reusable [Example Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#exampleObject).\n */\n examples?: OpenSpecHash<OS3Example>;\n /**\n * An object to hold reusable [Request Body Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#requestBodyObject).\n */\n requestBodies?: OpenSpecHash<OS3RequestBody<Schema>>;\n /**\n * An object to hold reusable [Header Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#headerObject).\n */\n headers?: OpenSpecHash<OS3Header<Schema>>;\n /**\n * An object to hold reusable [Security Scheme Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#securitySchemeObject).\n */\n securitySchemes?: OpenSpecHash<OS3Security>;\n /**\n * An object to hold reusable [Link Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#linkObject).\n */\n links?: OpenSpecHash<OS3Link>;\n /**\n * An object to hold reusable [Callback Objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callbackObject).\n */\n callbacks?: OS3Callbacks;\n}\n"]}
1
+ {"version":3,"file":"OS3Components.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Components.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"OS3Encoding.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Encoding.ts"],"names":[],"mappings":"","sourcesContent":["import {OpenSpecHash} from \"../common/OpenSpecHash\";\nimport {OS3Header} from \"./OS3Header\";\n\nexport interface OS3Encoding {\n /**\n * The `Content-Type` for encoding a specific property. Default value depends on the property type: for `string` with `format` being `binary` – `application/octet-stream`; for other primitive types – `text/plain`; for `object` - application/json; for `array` – the default is defined based on the inner type. The value can be a specific media type (e.g. `application/json`), a wildcard media type (e.g. `image/*`), or a comma-separated list of the two types.\n */\n contentType?: string;\n /**\n * A map allowing additional information to be provided as headers, for example `Content-Disposition`. `Content-Type` is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a multipart.\n */\n headers?: OpenSpecHash<OS3Header>;\n /**\n * Describes how a specific property value will be serialized depending on its type. See [Parameter Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject) for details on the `[style](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterStyle)` property. The behavior follows the same values as `query` parameters, including default values. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\n */\n style?: string;\n /**\n * When this is true, property values of type `array` or `object` generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When `[style](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterStyle)` is `form`, the default value is true. For all other styles, the default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\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. The default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded`.\n */\n allowReserved?: boolean;\n}\n"]}
1
+ {"version":3,"file":"OS3Encoding.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Encoding.ts"],"names":[],"mappings":""}