HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spacether

no profile record

Submissions

Show HN: Puns from Wikipedia Page Titles

punnily.com
32 points·by spacether·2 anni fa·18 comments

[untitled]

1 points·by spacether·3 anni fa·0 comments

OpenAPI JSON Schema generator v3.0.0 released

github.com
1 points·by spacether·3 anni fa·1 comments

Python: Best way to require a key value pair (with invalid key identifier)?

1 points·by spacether·3 anni fa·2 comments

comments

spacether
·2 anni fa·discuss
Glad to hear that you like it! Yup that's the process. Titles are in a relational db and fetched titles for a rhyme are stored in redis to speed up queries after the first one.
spacether
·3 anni fa·discuss
Version 3.3.0 released, allowing easy to use openapi v3.1.0 code generation. Use apis in python with full typing on inputs and outputs. >66% of the new json schema keywords have been implemented including: - const: only string values are working because of bugs in swagger parser - contains - dependentRequired - dependentSchemas - else - if - maxContains - minContains - patternProperties - prefixItems - propertyNames - then - type (array of types supported in addition to one non-array value) - unevaluatedItems - unevaluatedProperties
spacether
·3 anni fa·discuss
If you need a python client code generator for your openapi document please check out the project. It has type hints everywhere, passes mypy checks, and supports composition and multiple content types.
spacether
·3 anni fa·discuss
Thanks. I posted it there and it was closed as opinion based: https://stackoverflow.com/questions/76483545/what-are-indust...