swagger2openapi --yaml --outfile ./fern/openapi/openapi.yaml http://localhost:8080/docs/api?format=openapi
fern generate --docs
fern docs dev
Go to fern/openapi/overrides.yaml
and modify fields keeping the structure as in fern/openapi/openapi.yaml
. For example
paths:
/api/projects/:
post:
summary: List of Projects
-->
paths:
/api/projects/:
post:
summary: A new title to be replaced
get:
description: and another update in description `/get` endpoint.