Keming
Keming
Refer to [`man 5 sources.list`](https://manpages.debian.org/buster/apt/sources.list.5.en.html): * we should use DEB822-style format (extension `*.sources`) if possible BTW, I think the SJTU example can be put in one line since the format...
> BTW, I think this issue is in low priority. It's required because v1 doesn't support R or Julia. R is not well maintained for containerization. Thus it requires some...
* related to https://github.com/tensorchord/envd/discussions/1103
I'm using the [examples/security_demo.py](https://github.com/0b01001001/spectree/blob/master/examples/security_demo.py). You can login through the swagger frontend at `http://localhost:8000/apidoc/swagger/#/default/post__ping` and print the header in the `/ping`. It should work. Let me know if you have any...
Still cannot reproduce with the [examples/security_demo.py](https://github.com/0b01001001/spectree/blob/master/examples/security_demo.py). ```console Host: localhost:8000 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: http://localhost:8000/apidoc/swagger/ Partner-Id: pid...
Refer to https://github.com/0b01001001/spectree/blob/78edc00241006832f32a0e569e7a27844ca9aa38/spectree/config.py#L75 You can use `spec = SpecTree(mode='strict')` to indicate that only the decorated route will be included.
Hi @jelmerk, thanks for the feedback. This is a bit tricky. Alias here is necessary since “in” is a keyword in Python. Let me check if we can make it...
I found that field with `alias` need to pass the aliased name. ```python class Model(BaseModel): schema_x: str = Field( description="xxx", alias="schema" ) Model(schema_x="xyz") ``` This will panic since `schema` is...
Hi @divad thanks for your feedback. This is an interesting bug. > Underneath get_type_hints uses .__annotations__ which appears to already have the types spectree needs. Thus I wonder if spectree...
I guess it's https://redocly.com/docs/api-reference-docs/specification-extensions/x-tag-groups/. But I didn't find this in the OpenAPI doc. (correct me if I'm wrong) For now, you can find the information if you're using swagger.