Skip to content

0417taehyun/documentation-first-development-with-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFD(Documentation-First Development) with FastAPI

Introduce

About this project

Requirements

  • You need to prepare some environments to run and test appliations.

Programming Language

  • Python needs over 3.12
  • Go needs over 1.20

Package Management

  • Use Poetry for managing Python packages.

Table of Contents

1. Code generator through Open API for client developers

1-1. openapi-typescript-codegen

2. A Conventional method of documentation

2-1. Comments

2-2. Metaprogramming

3. Code-based documentation

3-1. FastAPI and Pydantic

4. A way of good documentation

4-1. Efficientcy

4-2. Security

Reference

Conventional ways to build a documenation

Code generator through Open API

Open API generator in Flask

FastAPI and Pydantic