HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spacether

no profile record

Submissions

Show HN: Puns from Wikipedia Page Titles

punnily.com
32 points·by spacether·2 ปีที่แล้ว·18 comments

[untitled]

1 points·by spacether·3 ปีที่แล้ว·0 comments

OpenAPI JSON Schema generator v3.0.0 released

github.com
1 points·by spacether·3 ปีที่แล้ว·1 comments

comments

spacether
·2 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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.