Make documentation standalone and generalize examples
This commit is contained in:
@@ -38,7 +38,7 @@ router = APIRouter(prefix="/cloud", tags=["cloud"])
|
||||
|
||||
|
||||
class EnrollBody(BaseModel):
|
||||
#: Where the portal's API lives, e.g. https://hub.fluksio.com
|
||||
#: Where the portal's API lives, e.g. https://portal.example.com
|
||||
portal_url: str = Field(min_length=1, max_length=255)
|
||||
claim_code: str = Field(min_length=1, max_length=32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user