sanic-openapi icon indicating copy to clipboard operation
sanic-openapi copied to clipboard

Easily document your Sanic API with a UI

Results 4 sanic-openapi issues
Sort by recently updated
recently updated
newest added

Hi there! First of all many thanks for such awesome framework! Just installed python 3.10.1 and Sanic updated to 21.9.3 in my project. The very first run of pytest was...

stale

**Describe the bug** The getting started example in the sanic-openapi docs does not appear to be working with the latest sanic version. It's giving duplicate route names error. I used...

When we have: ``` @component @dataclasses.dataclass class Location: x: int y: int @component @dataclasses.dataclass class UserProfile: name: str age: int email: str location: Location #Path ``` Location is define twice...

``` import dataclasses from sanic_ext.extensions.openapi import openapi @dataclasses.dataclass class Path: x: [float] y: [float] @property def reversed(self) -> "Path": # Recurses return Path( x=self.x[::-1], y=self.y[::-1], ) openapi.component(Path) # Infinite loop...