Skip to content

Commit

Permalink
chore(init) - reload example schema after init (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaeng authored Jan 6, 2023
1 parent b8f69bb commit ef6990c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rpdk/core/hook/init_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def init_hook(args, project):

project.init_hook(type_name, language, settings)
project.generate(args.endpoint_url, args.region, args.target_schemas, args.profile)
# Reload the generated example schema
project.load_configuration_schema()
# generate the docs based on the example schema loaded
project.generate_docs()


Expand Down

0 comments on commit ef6990c

Please sign in to comment.