#pythonlapidary — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pythonlapidary, aggregated by home.social.
-
Lapidary-render 0.12.0 is now released.
To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0
#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI
-
Lapidary-render 0.12.0 is now released.
To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0
#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI
-
Lapidary-render 0.12.0 is now released.
To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0
#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI
-
Lapidary-render 0.12.0 is now released.
To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0
#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI
-
Lapidary-render 0.12.0 is now released.
To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0
#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI
-
I wanted to build a #python client for some #openSource project that offers a good #openApi 3.0 description - just to test my generator on real-live service, but also to support the community.
I looked at @forgejo but it turns out it uses swagger 2. I didn't realise #golang was old enough...
Any way, other ideas would be very welcome.
-
I wanted to build a #python client for some #openSource project that offers a good #openApi 3.0 description - just to test my generator on real-live service, but also to support the community.
I looked at @forgejo but it turns out it uses swagger 2. I didn't realise #golang was old enough...
Any way, other ideas would be very welcome.
-
I wanted to build a #python client for some #openSource project that offers a good #openApi 3.0 description - just to test my generator on real-live service, but also to support the community.
I looked at @forgejo but it turns out it uses swagger 2. I didn't realise #golang was old enough...
Any way, other ideas would be very welcome.
-
I wanted to build a #python client for some #openSource project that offers a good #openApi 3.0 description - just to test my generator on real-live service, but also to support the community.
I looked at @forgejo but it turns out it uses swagger 2. I didn't realise #golang was old enough...
Any way, other ideas would be very welcome.
-
I wanted to build a #python client for some #openSource project that offers a good #openApi 3.0 description - just to test my generator on real-live service, but also to support the community.
I looked at @forgejo but it turns out it uses swagger 2. I didn't realise #golang was old enough...
Any way, other ideas would be very welcome.
-
Just rewriting #jinja python code generator to #libCST . So far it takes more code to do the same but it's much simpler to do the hard stuff, especially when there's a lot of conditionals.
Take annotated class field: can be generic or not, can have annotated metadata or not. Annotated metadata may be name (class or function), generic or not, or a call, and so on.
A big nuisance of libCST is indentation - it belongs to the previous node, even though we tend to think as part of the next one. For an indented language it's rather weird design decision.
#JSONSchema #codeGenerator #programming #python #pythonLapidary
-
Just rewriting #jinja python code generator to #libCST . So far it takes more code to do the same but it's much simpler to do the hard stuff, especially when there's a lot of conditionals.
Take annotated class field: can be generic or not, can have annotated metadata or not. Annotated metadata may be name (class or function), generic or not, or a call, and so on.
A big nuisance of libCST is indentation - it belongs to the previous node, even though we tend to think as part of the next one. For an indented language it's rather weird design decision.
#JSONSchema #codeGenerator #programming #python #pythonLapidary