Skip to content

Conversation

clalexander
Copy link

fix: change allowed incoterms

Changed Allowed incoterms to allowed_incoterms in openapi.yaml, openapi.json and docs/index.html to match with existing schema patterns and allow openapi generators to build without Typescript errors.

npx openapi-generator-cli generate -i openapi.yaml -g typescript-fetch -o ./src # does not validate

npx openapi-generator-cli generate -i openapi.yaml -g typescript-fetch --skip-validate -o ./src # does generates typescript errors

Versions

  • ShipEngine OpenAPI (NPM) 1.12.5
  • OpenAPI Generator CLI (NPM) 2.7.0
  • OpenAPI Generator 7.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant