Closed joel-bach closed 4 years ago
This change adds the option to only generate the code for some operation.
@NorfairKing You can test the integration with this branch with something like the following:
stack run -- .circleci/specifications/stripe-api.yml --force --property-type-suffix="'" --module-name "StripeAPI" --convert-to-camel-case --omit-additional-operation-functions --package-name "stripeapi" --operation-to-generate=GetEvents
Note that the Stripe specification contains the Error type which has indirect references to 2/3 of all available models which leads to many models generated even if only one operation is generated (as this type is used in every operation).
Error
This change adds the option to only generate the code for some operation.
@NorfairKing You can test the integration with this branch with something like the following:
Note that the Stripe specification contains the
Error
type which has indirect references to 2/3 of all available models which leads to many models generated even if only one operation is generated (as this type is used in every operation).