@effect/platform 0.69.29 → 0.69.30

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.
@@ -134,7 +134,7 @@ const fromApi = self => {
134
134
  const api = self;
135
135
  const jsonSchemaDefs = {};
136
136
  let spec = {
137
- openapi: "3.0.3",
137
+ openapi: "3.1.0",
138
138
  info: {
139
139
  title: Context.getOrElse(api.annotations, Title, () => "Api"),
140
140
  version: Context.getOrElse(api.annotations, Version, () => "0.0.1")
@@ -120,7 +120,7 @@ export declare const fromApi: <A extends HttpApi.HttpApi.Any>(self: A) => OpenAP
120
120
  * @since 1.0.0
121
121
  */
122
122
  export interface OpenAPISpec {
123
- readonly openapi: "3.0.3";
123
+ readonly openapi: "3.1.0";
124
124
  readonly info: OpenAPISpecInfo;
125
125
  readonly servers?: Array<OpenAPISpecServer>;
126
126
  readonly paths: OpenAPISpecPaths;
@@ -113,7 +113,7 @@ export const fromApi = self => {
113
113
  const api = self;
114
114
  const jsonSchemaDefs = {};
115
115
  let spec = {
116
- openapi: "3.0.3",
116
+ openapi: "3.1.0",
117
117
  info: {
118
118
  title: Context.getOrElse(api.annotations, Title, () => "Api"),
119
119
  version: Context.getOrElse(api.annotations, Version, () => "0.0.1")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform",
3
- "version": "0.69.29",
3
+ "version": "0.69.30",
4
4
  "description": "Unified interfaces for common platform-specific services",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/OpenApi.ts CHANGED
@@ -159,7 +159,7 @@ export const fromApi = <A extends HttpApi.HttpApi.Any>(self: A): OpenAPISpec =>
159
159
  const api = self as unknown as HttpApi.HttpApi.AnyWithProps
160
160
  const jsonSchemaDefs: Record<string, JsonSchema.JsonSchema> = {}
161
161
  let spec: DeepMutable<OpenAPISpec> = {
162
- openapi: "3.0.3",
162
+ openapi: "3.1.0",
163
163
  info: {
164
164
  title: Context.getOrElse(api.annotations, Title, () => "Api"),
165
165
  version: Context.getOrElse(api.annotations, Version, () => "0.0.1")
@@ -434,7 +434,7 @@ const getDescriptionOrIdentifier = (ast: Option.Option<AST.PropertySignature | A
434
434
  * @since 1.0.0
435
435
  */
436
436
  export interface OpenAPISpec {
437
- readonly openapi: "3.0.3"
437
+ readonly openapi: "3.1.0"
438
438
  readonly info: OpenAPISpecInfo
439
439
  readonly servers?: Array<OpenAPISpecServer>
440
440
  readonly paths: OpenAPISpecPaths