mirror of
https://github.com/koxudaxi/datamodel-code-generator.git
synced 2024-03-18 14:54:37 +03:00
change python tag to py in docs (#285)
This commit is contained in:
@@ -35,7 +35,7 @@ $ datamodel-codegen --input a.json --input-file-type jsonschema > model.py
|
||||
Generated Model
|
||||
|
||||
`model.py`
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: model.json
|
||||
# timestamp: 2020-07-20T15:37:56+00:00
|
||||
@@ -69,7 +69,7 @@ $ datamodel-codegen --input model.json --input-file-type jsonschema --field-cons
|
||||
Generated Model
|
||||
|
||||
`model.py`
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: model.json
|
||||
# timestamp: 2020-07-20T15:47:21+00:00
|
||||
|
||||
@@ -235,7 +235,7 @@ components:
|
||||
</details>
|
||||
|
||||
`model.py`:
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: api.yaml
|
||||
# timestamp: 2020-06-02T05:28:24+00:00
|
||||
|
||||
@@ -32,7 +32,7 @@ $ datamodel-codegen --input pets.json --input-file-type json --output model.py
|
||||
|
||||
|
||||
`model.py`:
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: pets.json
|
||||
# timestamp: 2020-04-27T16:08:21+00:00
|
||||
|
||||
@@ -40,7 +40,7 @@ $ datamodel-codegen --input person.json --input-file-type jsonschema --output m
|
||||
|
||||
|
||||
`model.py`:
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: person.json
|
||||
# timestamp: 2020-04-27T16:12:27+00:00
|
||||
|
||||
@@ -165,7 +165,7 @@ components:
|
||||
</details>
|
||||
|
||||
`model.py`:
|
||||
```python
|
||||
```py
|
||||
# generated by datamodel-codegen:
|
||||
# filename: api.yaml
|
||||
# timestamp: 2020-06-02T05:28:24+00:00
|
||||
|
||||
Reference in New Issue
Block a user