মূল বিষয়বস্তুতে যান
CuteJSON
↑↓ নেভিগেট Enter নির্বাচন Esc বন্ধ

OpenAPI Helpers

Turn a JSON document into an OpenAPI schema, build an example from a schema, or check an example against one.

সব সরঞ্জামে ফিরুন

কীবোর্ড শর্টকাট

এগুলো এই পৃষ্ঠায় সংশ্লিষ্ট কার্য থাকলে কাজ করে।

কমান্ড প্যালেট খুলুন
Ctrl/Cmd + K
প্রাথমিক কার্য চালান
Ctrl/Cmd + Enter
ফরম্যাট
Ctrl/Cmd + Shift + F
মিনিফাই
Ctrl/Cmd + Shift + M
আউটপুট কপি
Ctrl/Cmd + Shift + C
ফাইল খুলুন
Ctrl/Cmd + Shift + O
আউটপুট ডাউনলোড
Ctrl/Cmd + S
এই ডায়ালগ বন্ধ
Esc
এই ডায়ালগ খুলুন
F1 / ?

স্থানীয় ডেটা

নিচের সবকিছু শুধুমাত্র এই ব্রাউজারে সংরক্ষিত।

অসংরক্ষিত খসড়া
মনে রাখা অপশন সহ সরঞ্জাম

সাম্প্রতিক ফাইল

    এই ডিভাইসে এখনো কোনো ফাইল খোলা হয়নি।

    লিংকের মাধ্যমে শেয়ার

    বিষয়বস্তু # চিহ্নের পরের অংশে প্যাকেট করা হয়।

    এই পৃষ্ঠার প্রথম ইনপুট শেয়ার করে।

    শেয়ার করার মতো কিছু নেই এখনো।

    JSON document

    একটি URL থেকে লোড

    ব্রাউজার থেকে সরাসরি URL আনে।

    আউটপুট

    ফলাফল এখানে দেখা যায়।

    সম্পূর্ণরূপে আপনার ব্রাউজারে চলে।

    এই সরঞ্জাম সম্পর্কে

    Three things people do with an OpenAPI schema, on one page. "JSON to schema" infers a schema the same way the JSON Schema Generator does, then writes it in whichever OpenAPI dialect you pick: 3.1, where a schema object is JSON Schema itself, or 3.0, which has no type array and spells a nullable field as a single type plus nullable: true instead. "Schema to example" builds one JSON value that satisfies a schema, preferring an example or default the schema already states over inventing one. "Validate example" checks a document against a schema and lists every keyword it failed, resolving OpenAPI 3.0's nullable keyword first so a 3.0 schema is checked correctly rather than against JSON Schema's own type array rules. All three understand local $ref, allOf, anyOf and oneOf.

    কিভাবে ব্যবহার করবেন

    1. Pick what you want: JSON to schema, schema to example, or validate an example.
    2. Paste the input the mode asks for, or load the sample.
    3. Press the button. Switch the OpenAPI version any time to see the same input written the other dialect's way.