Sha256: b87f4165539748fad85c72ed29032a7585264c8ace18c75bd9436591c5216159

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

# Uncomment following if use OpenAPI 3 specification.
# require "schema_serializer/definition/from_openapi3_parser"
# SchemaSerializer.definition = SchemaSerializer::Definition::FromOpenapi3Parser.build(
#   Openapi3Parser.load_file(Rails.root.join("doc/schema.yml"))
# )

SchemaSerializer.definition = YAML.load_file(Rails.root.join("doc/schema.yml"))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
schema_serializer-0.0.10 lib/generators/schema_serializer/install/templates/schema_serializer.rb
schema_serializer-0.0.9 lib/generators/schema_serializer/install/templates/schema_serializer.rb
schema_serializer-0.0.8 lib/generators/schema_serializer/install/templates/schema_serializer.rb
schema_serializer-0.0.7 lib/generators/schema_serializer/install/templates/schema_serializer.rb
schema_serializer-0.0.6 lib/generators/schema_serializer/install/templates/schema_serializer.rb