@rxap/schematics-open-api 15.0.1 → 16.0.0-dev.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.0.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@15.0.1...@rxap/schematics-open-api@16.0.0-dev.0) (2023-05-17)
7
+
8
+
9
+ ### chore
10
+
11
+ * upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/packages/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * upgrade to 16.x.x
17
+
18
+
19
+
20
+
21
+
6
22
  ## [15.0.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@15.0.0...@rxap/schematics-open-api@15.0.1) (2023-05-17)
7
23
 
8
24
 
package/README.md CHANGED
@@ -15,6 +15,6 @@
15
15
  # Installation
16
16
 
17
17
  ```
18
- yarn add @rxap/schematics-open-api @rxap/json-schema-to-typescript@^14.0.3 @rxap/schematics-utilities@^15.0.0
18
+ yarn add @rxap/schematics-open-api @rxap/json-schema-to-typescript@^14.0.3 @rxap/schematics-utilities@^15.0.1
19
19
  ```
20
20
 
package/migration.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "schematics": {},
3
3
  "$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
4
- }
4
+ }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@rxap/schematics-open-api",
3
- "version": "15.0.1",
3
+ "version": "16.0.0-dev.0",
4
4
  "dependencies": {
5
+ "semver": "^7.3.5",
5
6
  "tslib": "^2.3.1"
6
7
  },
7
8
  "schematics": "./schematics/collection.json",
@@ -37,13 +38,12 @@
37
38
  "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
38
39
  },
39
40
  "peerDependencies": {
40
- "@angular-devkit/schematics": "^15.0.3",
41
+ "@angular-devkit/schematics": "^16.0.2",
41
42
  "@apidevtools/json-schema-ref-parser": "^9.1.0",
42
43
  "@rxap/json-schema-to-typescript": "^14.0.3",
43
- "@rxap/schematics-utilities": "^15.0.1",
44
+ "@rxap/schematics-utilities": "^16.0.0-dev.0",
44
45
  "openapi-types": "^10.0.0",
45
- "ts-morph": "^13.0.3",
46
- "semver": "7.3.5"
46
+ "ts-morph": "^13.0.3"
47
47
  },
48
48
  "types": "./src/index.d.ts"
49
49
  }
@@ -1,6 +1,6 @@
1
1
  import { OpenAPIV3 } from 'openapi-types';
2
2
  import { Project } from 'ts-morph';
3
- export declare type OperationObject = Omit<OpenAPIV3.OperationObject, 'operationId'> & {
3
+ export type OperationObject = Omit<OpenAPIV3.OperationObject, 'operationId'> & {
4
4
  operationId: string;
5
5
  };
6
6
  export interface GenerateParameter<Options extends OpenApiSchemaBase = OpenApiSchemaBase> extends OperationObject {
@@ -17,7 +17,7 @@ export interface OperationObjectWithMetadata extends OpenAPIV3.OperationObject {
17
17
  export declare function GenerateParameterToOperationObjectWithMetadata(parameter: GenerateParameter): OperationObjectWithMetadata;
18
18
  export declare function HasOperationId(operation: OpenAPIV3.OperationObject): operation is OperationObject;
19
19
  export declare function AssertWithOperationId(operation: OpenAPIV3.OperationObject): asserts operation is OperationObject;
20
- export declare type GeneratorFunction<Options extends OpenApiSchemaBase = OpenApiSchemaBase> = (parameters: GenerateParameter<Options>) => Promise<void>;
20
+ export type GeneratorFunction<Options extends OpenApiSchemaBase = OpenApiSchemaBase> = (parameters: GenerateParameter<Options>) => Promise<void>;
21
21
  export interface OpenApiSchemaBase {
22
22
  debug?: boolean;
23
23
  }
@@ -27,4 +27,4 @@ export interface OpenApiSchemaFromPath extends OpenApiSchemaBase {
27
27
  export interface OpenApiSchemaFromUrl extends OpenApiSchemaBase {
28
28
  url: string;
29
29
  }
30
- export declare type OpenApiSchema = OpenApiSchemaFromPath | OpenApiSchemaFromUrl;
30
+ export type OpenApiSchema = OpenApiSchemaFromPath | OpenApiSchemaFromUrl;
@@ -1,3 +1,3 @@
1
1
  import { OpenAPIV3 } from 'openapi-types';
2
- export declare type OperationObjectWithParameters = Omit<OpenAPIV3.OperationObject, 'parameters'> & Required<Pick<OpenAPIV3.OperationObject, 'parameters'>>;
2
+ export type OperationObjectWithParameters = Omit<OpenAPIV3.OperationObject, 'parameters'> & Required<Pick<OpenAPIV3.OperationObject, 'parameters'>>;
3
3
  export declare function HasOperationParameters(operation: OpenAPIV3.OperationObject): operation is OperationObjectWithParameters;
@@ -1,3 +1,3 @@
1
1
  import { OpenAPIV3 } from 'openapi-types';
2
- export declare type OperationObjectWithRequestBody = Omit<OpenAPIV3.OperationObject, 'requestBody'> & Required<Pick<OpenAPIV3.OperationObject, 'requestBody'>>;
2
+ export type OperationObjectWithRequestBody = Omit<OpenAPIV3.OperationObject, 'requestBody'> & Required<Pick<OpenAPIV3.OperationObject, 'requestBody'>>;
3
3
  export declare function HasOperationRequestBody(operation: OpenAPIV3.OperationObject): operation is OperationObjectWithRequestBody;
@@ -1,3 +1,3 @@
1
1
  import { OpenAPIV3 } from 'openapi-types';
2
- export declare type OperationObjectWithoutParameters = Omit<OpenAPIV3.OperationObject, 'parameters'>;
2
+ export type OperationObjectWithoutParameters = Omit<OpenAPIV3.OperationObject, 'parameters'>;
3
3
  export declare function IsWithoutParameters(operation: OpenAPIV3.OperationObject): operation is OperationObjectWithoutParameters;