Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webapi-Swagger : Handle cases where Swagger Doc has conflicting type and format options. #9

Open
kahlil29 opened this issue Feb 20, 2019 · 0 comments
Assignees
Labels
enhancement Needs Discussion This ticket needs discussion (some solution needs to be discussed in order to proceed and implement) Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)

Comments

@kahlil29
Copy link
Contributor

Example snippet of Swagger Yaml :

      lastPing:
        example: '2015-03-03T02:37:22.492Z'
        format: int64
        type: string

In this case we would probably need to ask for user-input or ask the user to override the type info for this particular property via the config file.

@kahlil29 kahlil29 added the Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs) label Feb 20, 2019
@kahlil29 kahlil29 self-assigned this Feb 20, 2019
@kahlil29 kahlil29 changed the title Webapi-Swagger : Swagger Doc has conflicinting type and format options. Webapi-Swagger : Swagger Doc has conflicting type and format options. Feb 22, 2019
@kahlil29 kahlil29 changed the title Webapi-Swagger : Swagger Doc has conflicting type and format options. Webapi-Swagger : Handle cases where Swagger Doc has conflicting type and format options. Feb 22, 2019
@kahlil29 kahlil29 added enhancement Needs Discussion This ticket needs discussion (some solution needs to be discussed in order to proceed and implement) labels Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Needs Discussion This ticket needs discussion (some solution needs to be discussed in order to proceed and implement) Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)
Projects
None yet
Development

No branches or pull requests

1 participant