Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ferdikoomen/openapi-typescript-codegen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: ttristan/openapi-typescript-codegen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 10 commits
  • 25 files changed
  • 3 contributors

Commits on May 2, 2022

  1. Prototype: JSON LD Support

    ttristan committed May 2, 2022
    Copy the full SHA
    0fb2293 View commit details
  2. ADD dist for testing

    ttristan committed May 2, 2022
    Copy the full SHA
    a4b318b View commit details

Commits on May 10, 2022

  1. UPDATE post processing

    ttristan committed May 10, 2022
    Copy the full SHA
    08bfe46 View commit details

Commits on May 30, 2022

  1. ADD application/ld+json to BASIC_MEDIA_TYPES

    ttristan committed May 30, 2022
    Copy the full SHA
    b16dad7 View commit details

Commits on Jul 17, 2022

  1. Copy the full SHA
    7dfe373 View commit details

Commits on Mar 23, 2023

  1. ADD response to ApiError

    ttristan committed Mar 23, 2023
    Copy the full SHA
    d9e5423 View commit details
  2. ADD build

    ttristan committed Mar 23, 2023
    Copy the full SHA
    ac0a6cc View commit details
  3. FIX missing import

    ttristan committed Mar 23, 2023
    Copy the full SHA
    ac57ed2 View commit details
  4. FIX response in ApiError

    ttristan committed Mar 23, 2023
    Copy the full SHA
    ce36327 View commit details

Commits on May 15, 2023

  1. Copy the full SHA
    5c790f8 View commit details
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ junit.xml
.idea
.vscode
*.iml
dist
coverage
test/generated
test/e2e/generated
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@ $ openapi --help
--name <value> Custom client class name
--useOptions Use options instead of arguments
--useUnionTypes Use union types instead of enums
--useJsonld Use JSON-LD interfaces
--exportCore <value> Write core files to disk (default: true)
--exportServices <value> Write services to disk (default: true)
--exportModels <value> Write models to disk (default: true)
2 changes: 2 additions & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ const params = program
.option('--name <value>', 'Custom client class name')
.option('--useOptions', 'Use options instead of arguments')
.option('--useUnionTypes', 'Use union types instead of enums')
.option('--useJsonld', 'Use JSON-LD interfaces')
.option('--exportCore <value>', 'Write core files to disk', true)
.option('--exportServices <value>', 'Write services to disk', true)
.option('--exportModels <value>', 'Write models to disk', true)
@@ -36,6 +37,7 @@ if (OpenAPI) {
clientName: params.name,
useOptions: params.useOptions,
useUnionTypes: params.useUnionTypes,
useJsonld: params.useJsonld,
exportCore: JSON.parse(params.exportCore) === true,
exportServices: JSON.parse(params.exportServices) === true,
exportModels: JSON.parse(params.exportModels) === true,
Loading