module OasRails::JsonSchemaGenerator
def self.process_string(str)
- 
        (Hash)- A hash containing the required flag and the JSON schema.
Parameters:
- 
        str(String) -- The string representation of a data type.
def self.process_string(str) parsed = parse_type(str) { required: parsed[:required], json_schema: to_json_schema(parsed) } end