Skip to content

Name Clash - Binance API #61

@DavidEichmann

Description

@DavidEichmann

My understanding of OpenAPI is poor so forgive me for my lack of characterization.
I'm running the code generator on the binance api: https://github.com/binance/binance-api-swagger/blob/master/spot_api.yaml. It seems there are name clashes for schemas of array type and their elements:

--
-- src/StripeAPI/Types/SavingsFixedActivityRedemptionRecord.hs
--

data SavingsFixedActivityRedemptionRecord = SavingsFixedActivityRedemptionRecord { ... }

-- | Defines an alias for the schema located at @components.schemas.savingsFixedActivityRedemptionRecord@ in the specification.
-- 
-- 
type SavingsFixedActivityRedemptionRecord = [SavingsFixedActivityRedemptionRecord]

As far as I tried I can't fix this with CLI options. Is this a bug? Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions