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

cm-openapi-gregor #2

Open
laszewsk opened this issue Sep 25, 2018 · 3 comments
Open

cm-openapi-gregor #2

laszewsk opened this issue Sep 25, 2018 · 3 comments

Comments

@laszewsk
Copy link
Member

find out the difference between the old version and the new version and see how to integrate them.
Gregor did not want to overwrite the new version so he checked his version in with -gregor as postfix

@laszewsk
Copy link
Member Author

laszewsk commented Sep 25, 2018

diff cm-openapi cm-openapi-gregor 
108d107
< import base64
121c120,127
<     print("ERROR", *args, file=sys.stderr, **kwargs)
---
>     """
>     Prints out an Error message
> 
>     :param args: arguments to be printed
>     :param kwargs: named arguments to be printed
>     :return:
>     """
>     print("ERROR:", *args, file=sys.stderr, **kwargs)
125a132,138
>         """
>         initialization of the controler
> 
>         TODO: what is the controler
> 
>         :param workdir: directory in which to execute code
>         """
129a143,148
>         """
>         TODO: what is this
> 
>         :param controllers: TODO: what is this
>         :return:
>         """
154a174,177
>         """
> 
>         :return:
>         """
160a184,188
>     """
> 
>     :param func:
>     :return:
>     """
169a198,200
>     """
> 
>     """
269,276d299
<         #username = "testuser"
<         #password = "testpassword"
<         #base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')
<         #secheader = "Authorization: Basic %s" % base64string
<         #
<         #Add the following to command if the codegen supports this properly.
<         #    "-a '%s' " % secheader + \
<         #
283d305
<             "cp -rf services/conf.py {DESTDIR}/swagger_server/ && " + \

@laszewsk
Copy link
Member Author

looks like mostly comments

@laszewsk
Copy link
Member Author

cm-openapi converter is now used for openapi 3.0.2

@laszewsk laszewsk reopened this Jun 12, 2019
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

No branches or pull requests

1 participant