Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crdtoapi

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crdtoapi - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

constants/ForkliftControllerModel.v1beta1.ts

2

package.json
{
"name": "crdtoapi",
"version": "0.0.12",
"version": "0.0.13",
"description": "CustomResourceDefinitions to OpensAPI",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/yaacov/crdtoapi",

# OpenAPI to Typescript Interfaces
crdtotype is a tool that creates Typespcript interfaces from [OpenAPI](https://www.openapis.org/) definition files.
crdtotypes is a tool that creates Typespcript interfaces from [OpenAPI](https://www.openapis.org/) definition files.

@@ -14,7 +14,7 @@ ## Usage

# excutable path, e.g. $(npm bin --location=global)/crdtoapi
crdtotype --help
crdtotypes --help
# create typescript interface files in ./tmp dir
mkdir tmp
crdtotype -i openapi.yaml -o ./tmp --out ./tmp
crdtotypes -i openapi.yaml -o ./tmp --out ./tmp
```

@@ -21,0 +21,0 @@

@@ -37,3 +37,3 @@ #!/usr/bin/env node

program
.version('0.0.12')
.version('0.0.13')
.description('Extract Typescropt interfaces from OpenAPI file')

@@ -40,0 +40,0 @@ .option('-i, --in <file>', 'OpenAPI file - required')

@@ -31,3 +31,3 @@ #!/usr/bin/env node

export const {{kind}}ModelGroupVersionKind ={
export const {{kind}}ModelGroupVersionKind = {
version: '{{apiVersion}}',

@@ -45,3 +45,3 @@ kind: '{{kind}}',

program
.version('0.0.12')
.version('0.0.13')
.description('Convert CRDs to Group Version Kind Typescript constants')

@@ -48,0 +48,0 @@ .option('-i, --in <file>', 'Input directory path - required')

@@ -13,3 +13,3 @@ #!/usr/bin/env node

program
.version('0.0.12')
.version('0.0.13')
.description('Convert CRDs to OpenAPI file')

@@ -16,0 +16,0 @@ .option('-i, --in <dir>', 'Input directory path - required')

@@ -69,3 +69,3 @@ /**

* Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
* @type {{ [key: string]: string; }}
* @type &#123;{ [key: string]: string; }&#125;
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta

@@ -116,3 +116,3 @@ */

* Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
* @type {{ [key: string]: string; }}
* @type &#123;{ [key: string]: string; }&#125;
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta

@@ -119,0 +119,0 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc