Events2Join

drf_yasg.utils — drf|yasg 1.20.4.dev2 g78031f0 documentation


drf_yasg.utils — drf-yasg 1.20.4.dev2+g78031f0 documentation

drf-yasg - Yet another Swagger generator · Serving the schema · Functional overview · Describing authentication schemes · Custom schema generation · Customizing ...

drf-yasg 1.20.4.dev2+g78031f0 documentation

drf-yasg - Yet another Swagger generator · OpenAPI 3.0 note · Features · Table of ... drf_yasg.utils · drf_yasg.views · Next. © Copyright 2018, Cristi V. Revision ...

drf_yasg package — drf-yasg 1.20.4.dev2+g78031f0 documentation

Transform an Swagger object to a sequence of bytes. Also performs validation and applies settings. Parameters: document (openapi.Swagger) – Swagger spec object ...

drf-yasg Documentation

drf_yasg package. 89. Page 96. drf-yasg Documentation, Release 1.20.4.dev2+g78031f0. • query_serializer (rest_framework.serializers.Serializer) ...

module code — drf-yasg 1.20.4.dev2+g78031f0 documentation

drf_yasg.middleware · drf_yasg.openapi · drf_yasg.renderers · drf_yasg.utils · drf_yasg.views. © Copyright 2018, Cristi V. Revision 78031f0c . Built with Sphinx ...

drf_yasg.generators — drf-yasg 1.20.4.dev2+g78031f0 documentation

... utils import get_pk_description, is_list_view from rest_framework.settings import api_settings from . import openapi from .app_settings import ...

Source code for drf_yasg.openapi - drf-yasg - Read the Docs

... django.utils.functional import Promise from inflection import camelize from .utils import filter_none, force_real_str logger = logging.getLogger(__name__) ...

Source code for drf_yasg.views - drf-yasg - Read the Docs

views. import warnings from functools import WRAPPER_ASSIGNMENTS, wraps from django.utils ... [drf_yasg.views.SchemaView] """ _public = public ...

Index — drf-yasg 1.20.4.dev2+g78031f0 documentation

_ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | R | S | T | U | V | W | Y. _. _as_odict() (drf_yasg.openapi.SwaggerDict static method) ...

Source code for drf_yasg.codecs - drf-yasg - Read the Docs

[docs] def encode(self, document): """Transform an :class:`.Swagger` object to a sequence of bytes. Also performs validation and applies settings.

drf_yasg.renderers — drf-yasg 1.20.4.dev2+g78031f0 documentation

... django.template.loader import render_to_string from django.utils.encoding import force_str from django.utils.functional import Promise from rest_framework ...

drf-yasg - Yet another Swagger generator - Read the Docs

urls import re_path from rest_framework import permissions from drf_yasg.views import get_schema_view from drf_yasg import openapi ... schema_view = ...

Source code for drf_yasg.inspectors.query - drf-yasg

Field``\\ s to :class:`.openapi.Parameter`\\ s for filters and paginators that implement a ``get_schema_fields`` method. """ [docs] ...

Custom schema generation - drf-yasg - Read the Docs

For example, in a ViewSet ,. from drf_yasg.utils import swagger_auto_schema @swagger_auto_schema(operation_description ...

Source code for drf_yasg.inspectors.view - drf-yasg - Read the Docs

import openapi from ..errors import SwaggerGenerationError from ..utils import ( filter_none, force_real_str, force_serializer_instance, get_consumes ...

drf_yasg.inspectors.base — drf-yasg 1.20.4.dev2+g78031f0 ...

import inspect import logging from rest_framework import serializers from .. import openapi from ..utils import force_real_str, get_field_default, ...