Skip to content

Commit

Permalink
hoge
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeIwaki committed Oct 26, 2024
1 parent b2f66ec commit 288f8d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions development/generate_api/models/doc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def name
# @returns [String|nil]
def comment_with_python_codes
@json['spec'].filter_map do |spec|
puts "---> #{spec}"
case spec['type']
when 'text'
"\n#{spec['text'].gsub('↵', "\n")}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def initialize(target_classes)

def render
@target_classes.each do |target_class|
puts "Rendering #{target_class.class_name}..."
renderer = case target_class
when ImplementedClassWithoutDoc
ClassWithoutDocRenderer.new(target_class)
Expand Down

0 comments on commit 288f8d0

Please sign in to comment.